Record
type Record<K, T> = { [P in K]: T };
Construct a type with a set of properties K of type T
Type Parameters
| Type Parameter |
|---|
K extends keyof any |
T |
type Record<K, T> = { [P in K]: T };
Construct a type with a set of properties K of type T
| Type Parameter |
|---|
K extends keyof any |
T |