source: node_modules/ts-toolbelt/out/Object/Select.d.ts

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 457 bytes
Line 
1import { SelectKeys } from './SelectKeys';
2import { Match } from '../Any/_Internal';
3import { Pick } from './Pick';
4/**
5 * Extract the fields of `O` that match `M`
6 * @param O to extract from
7 * @param M to select fields
8 * @param match (?=`'default'`) to change precision
9 * @returns [[Object]]
10 * @example
11 * ```ts
12 * ```
13 */
14export declare type Select<O extends object, M extends any, match extends Match = 'default'> = Pick<O, SelectKeys<O, M, match>>;
Note: See TracBrowser for help on using the repository browser.