From 2aabba990578c37e8143a9dfbbe30e523a312a96 Mon Sep 17 00:00:00 2001 From: vvakame Date: Tue, 1 Apr 2014 00:04:35 +0900 Subject: [PATCH] Improvement node.d.ts typings --- node/node.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/node.d.ts b/node/node.d.ts index 8318c278d..d84769ec4 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -919,7 +919,7 @@ declare module NodeJs { readlinkSync(path: string): string; realpath(path: string, callback?: (err: ErrnoException, resolvedPath: string) => any): void; realpath(path: string, cache: {[path: string]: string}, callback: (err: ErrnoException, resolvedPath: string) =>any): void; - realpathSync(path: string, cache?: {[path: string]: string}): void; + realpathSync(path: string, cache?: {[path: string]: string}): string; unlink(path: string, callback?: (err?: ErrnoException) => void): void; unlinkSync(path: string): void; rmdir(path: string, callback?: (err?: ErrnoException) => void): void;