1 | # Installation
|
2 | > `npm install --save @types/destroy`
|
3 |
|
4 | # Summary
|
5 | This package contains type definitions for destroy (https://github.com/stream-utils/destroy).
|
6 |
|
7 | # Details
|
8 | Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/destroy.
|
9 | ## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/destroy/index.d.ts)
|
10 | ````ts
|
11 | /// <reference types="node" />
|
12 | import { Stream } from "stream";
|
13 |
|
14 | export = destroy;
|
15 |
|
16 | declare function destroy<T extends Stream>(stream: T): T;
|
17 |
|
18 | ````
|
19 |
|
20 | ### Additional Details
|
21 | * Last updated: Mon, 06 Nov 2023 22:41:05 GMT
|
22 | * Dependencies: [@types/node](https://npmjs.com/package/@types/node)
|
23 |
|
24 | # Credits
|
25 | These definitions were written by [BendingBender](https://github.com/BendingBender).
|
26 |
|
\ | No newline at end of file |