mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
11 lines
219 B
TypeScript
11 lines
219 B
TypeScript
import eos = require("then-eos");
|
|
|
|
declare const readable: NodeJS.ReadableStream;
|
|
declare const writable: NodeJS.WritableStream;
|
|
|
|
// $ExpectType Promise<void>
|
|
eos(readable);
|
|
|
|
// $ExpectType Promise<void>
|
|
eos(writable);
|