From 6b1ddc51efa693af6682eb894d7837201902dad9 Mon Sep 17 00:00:00 2001 From: Aya Morisawa Date: Sat, 31 Dec 2016 03:36:22 +0900 Subject: [PATCH] Add missing type annotation --- src/utils/machineInfo.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/machineInfo.ts b/src/utils/machineInfo.ts index 600460e4da..9cf61eb6d5 100644 --- a/src/utils/machineInfo.ts +++ b/src/utils/machineInfo.ts @@ -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');