Kay
Kay11mo 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
crowlKats11mo ago
Record<string, SomeType>
Kay
KayOP11mo ago
alrr thx

Did you find this page helpful?