Open
Description
> import BitArray from "@bitarray/typedarray"
undefined
> let d = new BitArray([0,1,1], 0, 10)
<repl>.ts:5:31 - error TS2554: Expected 1 arguments, but got 3.
BitArray doesn't seem to support both buffer, byteOffset and length in the constructor, as other TypedArrays do:
new TypedArray(buffer, byteOffset, length)
Metadata
Metadata
Assignees
Labels
No labels