Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
24 lines
509 B
Plaintext
24 lines
509 B
Plaintext
import type names from 'possible-typed-array-names';
|
|
|
|
declare function typedArrayLength(value: typedArrayLength.TypedArray): number;
|
|
declare function typedArrayLength(value: unknown): false;
|
|
|
|
declare namespace typedArrayLength {
|
|
type TypedArray =
|
|
| Int8Array
|
|
| Uint8Array
|
|
| Uint8ClampedArray
|
|
| Int16Array
|
|
| Uint16Array
|
|
| Int32Array
|
|
| Uint32Array
|
|
| Float32Array
|
|
| Float64Array
|
|
| BigInt64Array
|
|
| BigUint64Array;
|
|
|
|
type TypedArrayName = typeof names[number];
|
|
}
|
|
|
|
export = typedArrayLength;
|