source: node_modules/ts-toolbelt/out/Union/Diff.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: 333 bytes
Line 
1import { Exclude } from './Exclude';
2/**
3 * Get an [[Union]] that is the difference between `U1` & `U2`
4 * @param U1 to check differences with
5 * @param U2 to check differences against
6 * @returns [[Union]]
7 * @example
8 * ```ts
9 * ```
10 */
11export declare type Diff<U1 extends any, U2 extends any> = Exclude<U1, U2> | Exclude<U2, U1>;
Note: See TracBrowser for help on using the repository browser.