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:
513 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | import { ExcludeKeys } from './ExcludeKeys';
|
---|
| 2 | import { Match } from '../Any/_Internal';
|
---|
| 3 | import { 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 | */
|
---|
| 15 | export 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.