UNPKG

613 BTypeScriptView Raw
1import { ExcludeKeys as OExcludeKeys } from '../Object/ExcludeKeys';
2import { Match } from '../Any/_Internal';
3import { ObjectOf } from './ObjectOf';
4import { List } from './List';
5/**
6 * Exclude the keys of `L1` out of the keys of `L`
7 * (If `match = 'default'`, no type checks are done)
8 * @param L to remove the keys from
9 * @param L1 to remove the keys out
10 * @param match (?=`'default'`) to change precision
11 * @returns [[Key]]
12 * @example
13 * ```ts
14 * ```
15 */
16export declare type ExcludeKeys<L extends List, L1 extends List, match extends Match = 'default'> = OExcludeKeys<ObjectOf<L>, ObjectOf<L1>, match>;