Record
type Record<K, T> = { [P in K]: T };
Defined in: node_modules/.pnpm/typescript@5.9.3/node_modules/typescript/lib/lib.es5.d.ts:1613
Construct a type with a set of properties K of type T
Type Parameters
Section titled “Type Parameters”Type Parameter |
---|
K extends keyof any |
T |