UNPKG

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