1 | import { Diff as ODiff } from '../Object/Diff';
|
2 | import { ListOf } from '../Object/ListOf';
|
3 | import { Match } from '../Any/_Internal';
|
4 | import { ObjectOf } from './ObjectOf';
|
5 | import { List } from './List';
|
6 | /**
|
7 | * Get a [[List]] that is the difference between `L` & `L1`
|
8 | * (`L`'s differences have priority over `L1`'s if entries overlap)
|
9 | * (If `match = 'default'`, no type checks are done)
|
10 | * @param L to check differences with
|
11 | * @param L1 to check differences against
|
12 | * @param match (?=`'default'`) to change precision
|
13 | * @returns [[List]]
|
14 | * @example
|
15 | * ```ts
|
16 | * ```
|
17 | */
|
18 | export declare type Diff<L extends List, L1 extends List, match extends Match = 'default'> = ListOf<ODiff<ObjectOf<L>, ObjectOf<L1>, match>>;
|