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
![Object equality comparison typescript. Cannot apply Object properties to generic type - Stack Overflow Object equality comparison typescript. Cannot apply Object properties to generic type - Stack Overflow](https://i.stack.imgur.com/uo3Zy.png)
Object equality comparison typescript. Cannot apply Object properties to generic type - Stack Overflow
![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
![This comparison appears to be unintentional because the types 'X' and 'Y' have no overlap | bobbyhadz This comparison appears to be unintentional because the types 'X' and 'Y' have no overlap | bobbyhadz](https://bobbyhadz.com/images/blog/typescript-this-condition-will-always-return-since-types/this-comparison-appears-to-be-unintentional.webp)
This comparison appears to be unintentional because the types 'X' and 'Y' have no overlap | bobbyhadz
![Compare Strings in JavaScript. String comparison is an essential… | by Sameera Wijesooriya | JavaScript in Plain English Compare Strings in JavaScript. String comparison is an essential… | by Sameera Wijesooriya | JavaScript in Plain English](https://miro.medium.com/v2/resize:fit:1200/1*OJPRM0j3GU_abeeVnBEVCQ.png)
Compare Strings in JavaScript. String comparison is an essential… | by Sameera Wijesooriya | JavaScript in Plain English
![typescript - Why won't TS say "This condition will always return 'false'" when comparing a string to a null? - Stack Overflow typescript - Why won't TS say "This condition will always return 'false'" when comparing a string to a null? - Stack Overflow](https://i.stack.imgur.com/6w9kJ.png)