UNPKG

rambdax

Version:

Extended version of Rambda - a lightweight, faster alternative to Ramda

21 lines (18 loc) 304 B
import {At} from './At' /** * @hidden */ export type _UnionOf<O extends object> = At<O, keyof O> /** Transform an [[Object]] into an [[Union]] @param O to transform @returns [[Any]] @example ```ts ``` */ export type UnionOf<O extends object> = O extends unknown ? _UnionOf<O> : never