mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-22 04:03:49 +01:00
Add missing type annotation
This commit is contained in:
parent
f3752df040
commit
2d33e0e519
@ -2,7 +2,7 @@ import * as os from 'os';
|
||||
import Logger from './logger';
|
||||
|
||||
export default class MachineInfo {
|
||||
static show() {
|
||||
static show(): void {
|
||||
const totalmem = (os.totalmem() / 1024 / 1024 / 1024).toFixed(1);
|
||||
const freemem = (os.freemem() / 1024 / 1024 / 1024).toFixed(1);
|
||||
let logger = new Logger('Machine');
|
||||
|
Loading…
Reference in New Issue
Block a user