diff --git a/node/node.d.ts b/node/node.d.ts index 1bc8deb34d..fa058f6e80 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -2187,8 +2187,8 @@ declare module "stream" { _read(size: number): void; read(size?: number): any; setEncoding(encoding: string): void; - pause(): void; - resume(): void; + pause(): Readable; + resume(): Readable; pipe(destination: T, options?: { end?: boolean; }): T; unpipe(destination?: T): void; unshift(chunk: any): void;