UNPKG

rambda

Version:

Lightweight faster alternative to Ramda

13 lines (12 loc) 229 B
/** Remove **`M`** out of **`U`** * @param U to remove from * @param M to remove out * @returns **union** * @example * ```ts * ``` */ export type Exclude<U extends any, M extends any> = U extends M ? never : U