diff options
| author | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2016-12-31 03:36:22 +0900 |
|---|---|---|
| committer | Aya Morisawa <AyaMorisawa4869@gmail.com> | 2016-12-31 03:36:22 +0900 |
| commit | 6b1ddc51efa693af6682eb894d7837201902dad9 (patch) | |
| tree | e8712a530c12627b5c684618f58c7864c8863c2a | |
| parent | Extract EnvironmentInfo (diff) | |
| download | sharkey-6b1ddc51efa693af6682eb894d7837201902dad9.tar.gz sharkey-6b1ddc51efa693af6682eb894d7837201902dad9.tar.bz2 sharkey-6b1ddc51efa693af6682eb894d7837201902dad9.zip | |
Add missing type annotation
| -rw-r--r-- | src/utils/machineInfo.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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'); |