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.

10 lines (9 loc) 278 B
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 } ;