mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +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';
|
import Logger from './logger';
|
||||||
|
|
||||||
export default class MachineInfo {
|
export default class MachineInfo {
|
||||||
static show() {
|
static show(): void {
|
||||||
const totalmem = (os.totalmem() / 1024 / 1024 / 1024).toFixed(1);
|
const totalmem = (os.totalmem() / 1024 / 1024 / 1024).toFixed(1);
|
||||||
const freemem = (os.freemem() / 1024 / 1024 / 1024).toFixed(1);
|
const freemem = (os.freemem() / 1024 / 1024 / 1024).toFixed(1);
|
||||||
let logger = new Logger('Machine');
|
let logger = new Logger('Machine');
|
||||||
|
Loading…
Reference in New Issue
Block a user