mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-13 12:22:02 +08:00
fix readablestream#read type
This commit is contained in:
1 parent
40eea5dc8f
commit
f2a71fe271
1 file changed
+1
-1
Vendored
+1
-1
@@ -98,7 +98,7 @@ declare module NodeJS {
|
||||
|
||||
export interface ReadableStream extends EventEmitter {
|
||||
readable: boolean;
|
||||
read(size?: number): any;
|
||||
read(size?: number): string|Buffer;
|
||||
setEncoding(encoding: string): void;
|
||||
pause(): void;
|
||||
resume(): void;
|
||||
|
||||
Reference in new issue
Block a user