import { List } from '../util/List'; import { NumberToString } from '../cast/NumberToString'; import { Spread } from '../object/Spread'; import { LengthList } from './LengthList'; import { Inc } from '../number/Inc'; /** * Append a value (type) to a numerically indexed type with explicit `length`, e.g. tuple. Returns a numerical object type. */ export type AppendList< R extends List, T, Len extends number = LengthList > = Spread;