type Tuples<N extends number, T = number> = {
array: T[],
dims: N,
length: number,
get: (i: number, j: number) => T,
iterate:
(
f: (...args: T[]) => void,
start?: number,
end?: number,
) => void,
}
packages / core / src / types.ts