/** * Pick object by parameters type * * @example * PickByType<{ foo: string; bar: number }, string> -> { foo: string } * PickByType<{ foo: string; bar: number }, number> -> { bar: number } */ export type PickByType = { [TKey in keyof TObject as Extract]: TObject[TKey]; }; //# sourceMappingURL=PickByType.d.ts.map