UNPKG

ts-toolbelt

Version:

TypeScript's largest utility library

11 lines (10 loc) 211 B
import { List } from './List'; /** * Transform a [[List]] into an [[Union]] * @param L to transform * @returns [[Any]] * @example * ```ts * ``` */ export declare type UnionOf<L extends List> = L[number];