[send] fix for typescript 2.4.1

This commit is contained in:
e020873
2017-06-30 14:42:48 +02:00
parent 00222e6b0a
commit 8d56bf9bd9

View File

@@ -197,7 +197,7 @@ declare namespace send {
/**
* Pipe to `res`.
*/
pipe(res: stream.Writable): stream.Writable;
pipe<T extends NodeJS.WritableStream>(res: T): T;
/**
* Transfer `path`.