Skip to content

vue-i18n / general / PickupKeys

Type Alias: PickupKeys<T, K>

ts
type PickupKeys<T, K> = K extends string ? ResourcePath<T[K]> : never;

Type Parameters

Type ParameterDefault type
T extends Record<string, any>-
Kkeyof T

Released under the MIT License.