Kay
Kay10mo 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
crowlKats10mo ago
Record<string, SomeType>
Kay
KayOP10mo ago
alrr thx

Did you find this page helpful?