1 | import { FilterKeys } from './FilterKeys';
|
2 | import { Match } from '../Any/_Internal';
|
3 | import { Pick } from './Pick';
|
4 | /**
|
5 | * Filter out of `O` the fields that match `M`
|
6 | * @param O to remove from
|
7 | * @param M to select fields
|
8 | * @param match (?=`'default'`) to change precision
|
9 | * @returns [[Object]]
|
10 | * @example
|
11 | * ```ts
|
12 | * ```
|
13 | */
|
14 | export declare type Filter<O extends object, M extends any, match extends Match = 'default'> = Pick<O, FilterKeys<O, M, match>>;
|