mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 21:00:01 +08:00
Update index.d.ts
This commit is contained in:
2
types/stream-to-promise/index.d.ts
vendored
2
types/stream-to-promise/index.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user