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.
11 lines • 315 B
TypeScript
import { TNeverFallback } from "./t-never-fallback.js";
/**
* @public
* Tuple version of ArrayLike.
*/
export type TTupleLike<TIndexes extends number, TValue, TLength extends number> = {
[I in TNeverFallback<TIndexes, number>]: TValue;
} & {
length: TLength;
};
//# sourceMappingURL=t-tuple-like.d.ts.map