@types/destroy
Version:
TypeScript definitions for destroy
32 lines (23 loc) • 1.04 kB
Markdown
# Installation
> `npm install --save @types/destroy`
# Summary
This package contains type definitions for destroy (https://github.com/stream-utils/destroy).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/destroy.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/destroy/index.d.ts)
````ts
// 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;
````
### Additional Details
* Last updated: Fri, 22 Sep 2023 20:29:40 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
* Global values: none
# Credits
These definitions were written by [BendingBender](https://github.com/BendingBender).