UNPKG

366 BTypeScriptView Raw
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" />
7import { Stream } from 'stream';
8
9export = destroy;
10
11declare function destroy<T extends Stream>(stream: T): T;