![Minko Gechev on X: "In TypeScript you can use template literal types to "generate" new types when combined with unions of literals. ✨ TypeScript 4.5 has even more advanced support 👉🏻 https://t.co/WgoTlKgHdz Minko Gechev on X: "In TypeScript you can use template literal types to "generate" new types when combined with unions of literals. ✨ TypeScript 4.5 has even more advanced support 👉🏻 https://t.co/WgoTlKgHdz](https://pbs.twimg.com/media/FA_UJuCUYAYXa7n.jpg)
Minko Gechev on X: "In TypeScript you can use template literal types to "generate" new types when combined with unions of literals. ✨ TypeScript 4.5 has even more advanced support 👉🏻 https://t.co/WgoTlKgHdz
![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
![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
![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
![How to see property available values when "string literal type" is used inside Interface in Typescript? - Stack Overflow How to see property available values when "string literal type" is used inside Interface in Typescript? - Stack Overflow](https://i.stack.imgur.com/HcO65.png)