source:
node_modules/ts-toolbelt/out/Union/NonNullable.d.ts
Last change on this file was d24f17c, checked in by , 15 months ago | |
---|---|
|
|
File size: 249 bytes |
Line | |
---|---|
1 | import { Exclude } from './Exclude'; |
2 | /** |
3 | * Remove `undefined` & `null` out of `U` |
4 | * @param U to make non-nullable |
5 | * @returns [[Union]] |
6 | * @example |
7 | * ```ts |
8 | * ``` |
9 | */ |
10 | export declare type NonNullable<U extends any> = Exclude<U, undefined | null>; |
Note:
See TracBrowser
for help on using the repository browser.