UNPKG

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