UNPKG

524 BTypeScriptView Raw
1import { Match } from '../Any/_Internal';
2import { SelectKeys as OSelectKeys } from '../Object/SelectKeys';
3import { ObjectOf } from './ObjectOf';
4import { List } from './List';
5/**
6 * Get the keys of `L` which entries match `M`
7 * @param L to extract from
8 * @param M to select entries
9 * @param match (?=`'default'`) to change precision
10 * @returns [[Key]]
11 * @example
12 * ```ts
13 * ```
14 */
15export declare type SelectKeys<L extends List, M extends any, match extends Match = 'default'> = OSelectKeys<ObjectOf<L>, M, match>;