Update index.d.ts

This commit is contained in:
Art
2018-03-07 09:14:16 +00:00
committed by GitHub
parent e5472a24cf
commit 6a11051b07

View File

@@ -18,6 +18,4 @@ declare function streamToPromise(stream: NodeJS.ReadableStream): Promise<Buffer>
*/
declare function streamToPromise(stream: NodeJS.WritableStream): Promise<void>;
declare namespace streamToPromise {} // Add a namespace so we can do import * instead of import x = require()
export = streamToPromise;