mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-17 22:32:45 +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);
|