From a132dbfacf6491d421abb213e13cd1fd6f3c222b Mon Sep 17 00:00:00 2001 From: Christopher Brown Date: Sat, 29 Aug 2015 18:31:48 -0500 Subject: [PATCH] Replace Stream#_transform()s with single method with chunk: any --- node/node.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/node/node.d.ts b/node/node.d.ts index 027c654ac..d02311e2f 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -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;