#typescript

Typescript Utility Types: Record<Keys, Type>

The Record utility type in TypeScript is used to create an object type whose keys are of a specified type and whose values are of another specified type. This utility type is useful for creating objects with specific key-value pairs, such as dictionaries or maps.