source: node_modules/ts-toolbelt/out/Union/NonNullable.d.ts

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 249 bytes
Line 
1import { 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 */
10export declare type NonNullable<U extends any> = Exclude<U, undefined | null>;
Note: See TracBrowser for help on using the repository browser.