Record
Record<TypeParameter K, TypeParameter 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<TypeParameter K, TypeParameter T>
: { [P in K]: T }
Construct a type with a set of properties K of type T
K
keyof anyRequiredT
objectRequired