buffer icon indicating copy to clipboard operation
buffer copied to clipboard

subarray is not re-defined in index.d.ts

Open BTOdell opened this issue 4 years ago • 1 comments
trafficstars

The subarray function should return a Buffer, but currently the types are inheriting the definition from Uint8Array which has the function returning a Uint8Array. I believe PR #261 fixed this issue at runtime, but the types were never updated.

BTOdell avatar Jun 18 '21 19:06 BTOdell

ill just note [email protected] (used by create-react-app@4 with webpack@4) returns a UInt8Array for subarray

cmdcolin avatar Mar 11 '22 08:03 cmdcolin