UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

13 lines (11 loc) 286 B
/** * @public */ export interface ITypedArrayCtor<T> { readonly prototype: T; new(length: number): T; new(array: ArrayLike<number> | ArrayBufferLike): T; new(buffer: ArrayBufferLike, byteOffset?: number, length?: number): T; readonly BYTES_PER_ELEMENT: number; }