fix readablestream#read type

This commit is contained in:
progre committed 2015-03-17 10:56:49 +09:00
1 parent 40eea5dc8f
commit f2a71fe271
1 file changed
+1 -1
+1 -1
View File
@@ -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;