mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-22 11:22:53 +08:00
fs.realpath's cache is an *object literal*, not a string or a boolean.
This commit is contained in:
1 parent
e442870348
commit
b6874ee014
1 file changed
+2
-2
Vendored
+2
-2
@@ -754,8 +754,8 @@ declare module "fs" {
|
||||
export function readlink(path: string, callback?: (err: Error, linkString: string) =>any): void;
|
||||
export function readlinkSync(path: string): string;
|
||||
export function realpath(path: string, callback?: (err: Error, resolvedPath: string) =>any): void;
|
||||
export function realpath(path: string, cache: string, callback: (err: Error, resolvedPath: string) =>any): void;
|
||||
export function realpathSync(path: string, cache?: string): void;
|
||||
export function realpath(path: string, cache: {[path: string]: string}, callback: (err: Error, resolvedPath: string) =>any): void;
|
||||
export function realpathSync(path: string, cache?: {[path: string]: string}): void;
|
||||
export function unlink(path: string, callback?: Function): void;
|
||||
export function unlinkSync(path: string): void;
|
||||
export function rmdir(path: string, callback?: Function): void;
|
||||
|
||||
Reference in new issue
Block a user