diff --git a/node/node.d.ts b/node/node.d.ts index 140a72c74..c2f29d275 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -1310,21 +1310,15 @@ declare module "fs" { export function createReadStream(path: string, options?: { flags?: string; encoding?: string; - fd?: string; + fd?: number; mode?: number; - bufferSize?: number; - }): ReadStream; - export function createReadStream(path: string, options?: { - flags?: string; - encoding?: string; - fd?: string; - mode?: string; - bufferSize?: number; + autoClose?: boolean; }): ReadStream; export function createWriteStream(path: string, options?: { flags?: string; encoding?: string; - string?: string; + fd?: number; + mode?: number; }): WriteStream; }