A Quick Intro to Record Type in TypeScript
Briefly

The usual way to define a type of an object in TypeScript is using an object type:
or an index signature:
These are good ways to define object types.But Record<K, V>, the third approach, has the benefit of being shorter and more readable.Let's see how to use it in your code.
1. Record type
Record<K, V> is a generic type that represents an object type which keys are K and values are V.
Read at Dmitri Pavlutin Blog
[
add
]
[
|
|
]