Record
Record<K
, T
>: { [P in K]: T }
Construct a type with a set of properties K of type T
Type parameters
K
keyof anyRequiredT
objectRequiredWas this section helpful?
Record<K
, T
>: { [P in K]: T }
Construct a type with a set of properties K of type T
K
keyof anyRequiredT
objectRequired