Skip to main content
Skip to main content

Record

Record<TypeParameter K, TypeParameter T>: { [P in K]: T }

Construct a type with a set of properties K of type T

Type parameters

Kkeyof anyRequired
TobjectRequired
Was this section helpful?