Skip to the content.

Type Alias: Record<K, T>

type Record<K, T> = { [P in K]: T };

Defined in: node_modules/typescript/lib/lib.es5.d.ts:1611

Construct a type with a set of properties K of type T

Type Parameters

K

K extends keyof any

T

T