mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
403 B
TypeScript
13 lines
403 B
TypeScript
// Type definitions for then-eos 1.0
|
|
// Project: https://github.com/meoguru/node-then-eos
|
|
// Definitions by: Sean Marvi Oliver Genabe <https://github.com/seangenabe>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/// <reference types="node"/>
|
|
|
|
type Stream = NodeJS.ReadableStream | NodeJS.WritableStream;
|
|
|
|
declare function thenEos(stream: Stream): Promise<void>;
|
|
|
|
export = thenEos;
|