Record keyed by numbers or strings.
Key type used by the record.
Value type stored by the record.
const scores: KeyValue<string, number> = { ada: 10, grace: 20 }; Copy
const scores: KeyValue<string, number> = { ada: 10, grace: 20 };
Record keyed by numbers or strings.