From 2d33e0e519891fcd9e5d52a07245a76d4a65b048 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 600460e4d..9cf61eb6d 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');