![If all values used in a template literal have a literal type, then the template should have a literal type · Issue #33757 · microsoft/TypeScript · GitHub If all values used in a template literal have a literal type, then the template should have a literal type · Issue #33757 · microsoft/TypeScript · GitHub](https://user-images.githubusercontent.com/45078010/66056784-a9549280-e505-11e9-99cf-686700cb895c.png)
If all values used in a template literal have a literal type, then the template should have a literal type · Issue #33757 · microsoft/TypeScript · GitHub
![reactjs - TypeScript React Component with specific string value parameter is not assignable - Stack Overflow reactjs - TypeScript React Component with specific string value parameter is not assignable - Stack Overflow](https://i.stack.imgur.com/KL3Cp.png)
reactjs - TypeScript React Component with specific string value parameter is not assignable - Stack Overflow
![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)
make typescript show type hint for string literal when union with string primitive type - Stack Overflow
const string or const number as a type between string (or number) and literal types · Issue #51745 · microsoft/TypeScript · GitHub
![How to Use “as const” in TypeScript (const assertions) | by Pandhu Wibowo | JavaScript in Plain English How to Use “as const” in TypeScript (const assertions) | by Pandhu Wibowo | JavaScript in Plain English](https://miro.medium.com/max/1400/1*JmGDWbIQxFBx7eVt3Nc9ug.png)