UNPKG

rambdax

Version:

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

16 lines (14 loc) 237 B
import {Union} from './Union' /** Remove `M` out of `U` @param U to remove from @param M to remove out @returns [[Union]] @example ```ts ``` */ export type Exclude<U extends Union, M extends Union> = U extends M ? never : U