Skip to main content
Skip to main content

Record

Record: { [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?