main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
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.