Add missing type annotation

This commit is contained in:
Aya Morisawa 2016-12-31 03:36:22 +09:00
parent 2765a3c2af
commit 6b1ddc51ef

View file

@ -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');