1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-27 14:28:49 +09:00

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