![How to make a generic type an union type of Record<K,V> and an interface in Typescript? - Stack Overflow How to make a generic type an union type of Record<K,V> and an interface in Typescript? - Stack Overflow](https://i.stack.imgur.com/Twyw9.png)
How to make a generic type an union type of Record<K,V> and an interface in Typescript? - Stack Overflow
![Haz on Twitter: "TypeScript protip: accept any string, but suggest some specific values on autocomplete. https://t.co/Sem7m3ycqf https://t.co/hdtsKHdy4A" / Twitter Haz on Twitter: "TypeScript protip: accept any string, but suggest some specific values on autocomplete. https://t.co/Sem7m3ycqf https://t.co/hdtsKHdy4A" / Twitter](https://pbs.twimg.com/media/FSc_Z2JXoAA0AgC.jpg:large)
Haz on Twitter: "TypeScript protip: accept any string, but suggest some specific values on autocomplete. https://t.co/Sem7m3ycqf https://t.co/hdtsKHdy4A" / Twitter
![How to create a typescript Record that allows keys that reference another constant variable of type record? - Stack Overflow How to create a typescript Record that allows keys that reference another constant variable of type record? - Stack Overflow](https://i.stack.imgur.com/lrzMN.png)
How to create a typescript Record that allows keys that reference another constant variable of type record? - Stack Overflow
![javascript - TypeScript Type 'Record<string, string>' is not assignable to type 'string' - Stack Overflow javascript - TypeScript Type 'Record<string, string>' is not assignable to type 'string' - Stack Overflow](https://i.stack.imgur.com/R3P4x.png)