Kay
Kay2y ago

Interface with unknown amount of keys but all the same type

How do i create an interface/type that can have unlimited keys but the values are all the same type?
2 Replies
crowlKats
crowlKats2y ago
Record<string, SomeType>
Kay
KayOP2y ago
alrr thx

Did you find this page helpful?