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.

12 lines 482 B
import { ATypedArrayTuple } from "./a-typed-array-tuple.js"; import { TTypedArray } from "./t-typed-array.js"; /** * @public * Defines utility methods for creating typed array tuples. */ export interface ITypedArrayTupleFactory<TArray extends ATypedArrayTuple<number, TTypedArray>, TCtorArgs extends number[]> { readonly elementCount: number; createOne(...args: TCtorArgs): TArray; createOneEmpty(): TArray; } //# sourceMappingURL=i-typed-array-tuple-factory.d.ts.map