Record

This lesson explains the record mapped type.

Description of Record

The Record type is also one of TypeScript’s default mapped types. The Record type is a way to build a new type with several members of a single type. For example, if you need an object with three members of type string, you could do it like line ...