Skip to content

Commit 558ac07

Browse files
committed
add os.homedir to typings
1 parent 8502145 commit 558ac07

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/typings/node.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -496,6 +496,7 @@ declare module "os" {
496496
export function freemem(): number;
497497
export function cpus(): { model: string; speed: number; times: { user: number; nice: number; sys: number; idle: number; irq: number; }; }[];
498498
export function networkInterfaces(): any;
499+
export function homedir(): string;
499500
export var EOL: string;
500501
}
501502

0 commit comments

Comments
 (0)