source:
node_modules/ts-toolbelt/out/Union/Exclude.d.ts@
d24f17c
Last change on this file since d24f17c was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 221 bytes |
Rev | Line | |
---|---|---|
[d24f17c] | 1 | /** |
2 | * Remove `M` out of `U` | |
3 | * @param U to remove from | |
4 | * @param M to remove out | |
5 | * @returns [[Union]] | |
6 | * @example | |
7 | * ```ts | |
8 | * ``` | |
9 | */ | |
10 | export declare type Exclude<U extends any, M extends any> = U extends M ? never : U; |
Note:
See TracBrowser
for help on using the repository browser.