source: node_modules/ts-toolbelt/out/Object/Exclude.d.ts@ d24f17c

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: 513 bytes
Line 
1import { ExcludeKeys } from './ExcludeKeys';
2import { Match } from '../Any/_Internal';
3import { Pick } from './Pick';
4/**
5 * Exclude the fields of `O1` out of `O`
6 * (If `match = 'default'`, no type checks are done)
7 * @param O to remove from
8 * @param O1 to remove out
9 * @param match (?=`'default'`) to change precision
10 * @returns [[Object]]
11 * @example
12 * ```ts
13 * ```
14 */
15export declare type Exclude<O extends object, O1 extends object, match extends Match = 'default'> = Pick<O, ExcludeKeys<O, O1, match>>;
Note: See TracBrowser for help on using the repository browser.