1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
# Installation
> `npm install --save @types/typedarray-to-buffer`
# Summary
This package contains type definitions for typedarray-to-buffer (https://github.com/feross/typedarray-to-buffer).
# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/typedarray-to-buffer.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/typedarray-to-buffer/index.d.ts)
````ts
/// <reference types="node" />
declare function typedarrayToBuffer(arr: ArrayBufferView): Buffer;
export = typedarrayToBuffer;
````
### Additional Details
* Last updated: Wed, 07 Feb 2024 13:06:44 GMT
* Dependencies: [@types/node](https://npmjs.com/package/@types/node)
# Credits
These definitions were written by [Leon Si](https://github.com/leonsilicon).
|