1 | import { Intersect as OIntersect } from '../Object/Intersect';
|
2 | import { Match } from '../Any/_Internal';
|
3 | import { ListOf } from '../Object/ListOf';
|
4 | import { ObjectOf } from './ObjectOf';
|
5 | import { List } from './List';
|
6 | /**
|
7 | * Get the intersecting entries of `L` & `L1`
|
8 | * (If `match = 'default'`, no type checks are done)
|
9 | * @param L to check similarities with
|
10 | * @param L1 to check similarities against
|
11 | * @returns [[List]]
|
12 | * @example
|
13 | * ```ts
|
14 | * ```
|
15 | */
|
16 | export declare type Intersect<L extends List, L1 extends List, match extends Match = 'default'> = ListOf<OIntersect<ObjectOf<L>, ObjectOf<L1>, match>>;
|