In the following code sample, x can't be assigned because TKey could be instantiated with an arbitrary type... etc. What would be the best way to resolve this?
The Playground lets you write TypeScript or JavaScript online in a safe and sharable way.