Installation
npm install --save @types/minimal-bit-array
Summary
This package contains type definitions for minimal-bit-array (https://github.com/mikolalysenko/minimal-bit-array).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/minimal-bit-array.
index.d.ts
declare namespace BitArray {
interface BitArrayJSON {
bits: number[];
length: number;
}
}
declare class BitArray {
static fromJSON(bitArrayJSON: BitArray.BitArrayJSON): BitArray;
length: number;
bits: Uint32Array;
constructor(length: number);
get(index: number): boolean;
set(index: number, value: any): boolean;
toJSON(): BitArray.BitArrayJSON;
}
export = BitArray;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: none
Credits
These definitions were written by Olegs Jeremejevs.