Replace Stream#_transform()s with single method with chunk: any

This commit is contained in:
Christopher Brown
2015-08-29 18:31:48 -05:00
parent 67605e10f6
commit a132dbfacf
+1 -2
View File
@@ -1728,8 +1728,7 @@ declare module "stream" {
readable: boolean;
writable: boolean;
constructor(opts?: TransformOptions);
_transform(chunk: Buffer, encoding: string, callback: Function): void;
_transform(chunk: string, encoding: string, callback: Function): void;
_transform(chunk: any, encoding: string, callback: Function): void;
_flush(callback: Function): void;
read(size?: number): any;
setEncoding(encoding: string): void;