Matt Pocock on LinkedIn: parseInt on the type level in TypeScript? No problem. This makes use of… | 21 comments
Error when inferring string literal types as index signature · Issue #48056 · microsoft/TypeScript · GitHub
![Type incorrectly inferred as "string" rather than String Literal · Issue #22038 · microsoft/TypeScript · GitHub Type incorrectly inferred as "string" rather than String Literal · Issue #22038 · microsoft/TypeScript · GitHub](https://user-images.githubusercontent.com/24827547/36393478-c79eeba4-157d-11e8-8fc7-5aad42c90332.png)
Type incorrectly inferred as "string" rather than String Literal · Issue #22038 · microsoft/TypeScript · GitHub
![make typescript show type hint for string literal when union with string primitive type - Stack Overflow make typescript show type hint for string literal when union with string primitive type - Stack Overflow](https://i.stack.imgur.com/QbY9W.png)