mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-07 09:49:07 +00:00
Whoops. fd is a *string*, not a *number*.
This commit is contained in:
Vendored
+2
-2
@@ -727,8 +727,8 @@ declare module "fs" {
|
||||
export function renameSync(oldPath: string, newPath: string): void;
|
||||
export function truncate(path: string, len: number, callback?: Function): void;
|
||||
export function truncateSync(path: string, len: number): void;
|
||||
export function ftruncate(fd: number, len: number, callback?: Function): void;
|
||||
export function ftruncateSync(fd: number, len: number): void;
|
||||
export function ftruncate(fd: string, len: number, callback?: Function): void;
|
||||
export function ftruncateSync(fd: string, len: number): void;
|
||||
export function chown(path: string, uid: number, gid: number, callback?: Function): void;
|
||||
export function chownSync(path: string, uid: number, gid: number): void;
|
||||
export function fchown(fd: string, uid: number, gid: number, callback?: Function): void;
|
||||
|
||||
Reference in New Issue
Block a user