UNPKG

rambda

Version:

Lightweight faster alternative to Ramda

12 lines (10 loc) 211 B
import {Keys} from './Keys' /** Transform an **`object`** into an **union** * @param O to transform * @returns **`any`** * @example * ```ts * ``` */ export type UnionOf<O extends object> = O[Keys<O>]