ts-toolbelt
Version:
TypeScript's largest utility library
16 lines (15 loc) • 530 B
TypeScript
import { FilterKeys as OFilterKeys } from '../Object/FilterKeys';
import { Match } from '../Any/_Internal';
import { ObjectOf } from './ObjectOf';
import { List } from './List';
/**
* Filter out the keys of `L` which entries match `M`
* @param L to remove from
* @param M to select entries
* @param match (?=`'default'`) to change precision
* @returns [[Key]]
* @example
* ```ts
* ```
*/
export declare type FilterKeys<L extends List, M extends any, match extends Match = 'default'> = OFilterKeys<ObjectOf<L>, M, match>;