mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-30 07:03:08 +02:00
Add missing type annotation
This commit is contained in:
parent
2765a3c2af
commit
6b1ddc51ef
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue