record
TypeScript in Production notes about record
TypeScript Record: Type a Fixed Key Set or an Open Dictionary
Use a finite key union when every named entry is required, and Record<string, Value> when the keys are open-ended.
TypeScript in Production notes about record
Use a finite key union when every named entry is required, and Record<string, Value> when the keys are open-ended.