Kay
Kay9mo 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
crowlKats9mo ago
Record<string, SomeType>
Kay
KayOP9mo ago
alrr thx

Did you find this page helpful?