mirror of
https://activitypub.software/TransFem-org/Sharkey
synced 2024-11-25 23:45:13 +00:00
Add missing type annotation
This commit is contained in:
parent
2765a3c2af
commit
6b1ddc51ef
1 changed files with 1 additions and 1 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue