1 | // Type definitions for destroy 1.0
|
2 | // Project: https://github.com/stream-utils/destroy
|
3 | // Definitions by: BendingBender <https://github.com/BendingBender>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | /// <reference types="node" />
|
7 | import { Stream } from 'stream';
|
8 |
|
9 | export = destroy;
|
10 |
|
11 | declare function destroy<T extends Stream>(stream: T): T;
|