UNPKG

rambda

Version:

Lightweight faster alternative to Ramda

12 lines (10 loc) 207 B
import {Tuple} from './Tuple' /** Transform a **tuple** into an **union** * @param T to transform * @returns **`any`** * @example * ```ts * ``` */ export type UnionOf<T extends Tuple> = T[number]