DefinitelyTyped/types/destroy/index.d.ts
2017-08-16 09:24:20 +02:00

12 lines
366 B
TypeScript

// Type definitions for destroy 1.0
// Project: https://github.com/stream-utils/destroy
// Definitions by: BendingBender <https://github.com/BendingBender>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/// <reference types="node" />
import { Stream } from 'stream';
export = destroy;
declare function destroy<T extends Stream>(stream: T): T;