UNPKG

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