summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorAya Morisawa <AyaMorisawa4869@gmail.com>2016-12-31 03:36:22 +0900
committerAya Morisawa <AyaMorisawa4869@gmail.com>2016-12-31 03:36:22 +0900
commit6b1ddc51efa693af6682eb894d7837201902dad9 (patch)
treee8712a530c12627b5c684618f58c7864c8863c2a /src/utils
parentExtract EnvironmentInfo (diff)
downloadsharkey-6b1ddc51efa693af6682eb894d7837201902dad9.tar.gz
sharkey-6b1ddc51efa693af6682eb894d7837201902dad9.tar.bz2
sharkey-6b1ddc51efa693af6682eb894d7837201902dad9.zip
Add missing type annotation
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/machineInfo.ts2
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');