Add missing type annotation

This commit is contained in:
Aya Morisawa 2016-12-31 03:36:22 +09:00
parent f3752df040
commit 2d33e0e519

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