Record<Keys, Type>

构造一个对象类型,其属性键为 Keys,其属性值为 Type。此实用程序可用于将一种类型的属性映射到另一种类型。

Constructs an object type whose property keys are Keys and whose property values are Type. This utility can be used to map the properties of a type to another type.