![Dan Vanderkam on Twitter: "Another use of @TypeScript 4.1's template literal types: extracting the URL parameters from an express route. Pretty amazing you can do this in the type system! https://t.co/gfZQy70whg https://t.co/aEyfMwjjqX" / Dan Vanderkam on Twitter: "Another use of @TypeScript 4.1's template literal types: extracting the URL parameters from an express route. Pretty amazing you can do this in the type system! https://t.co/gfZQy70whg https://t.co/aEyfMwjjqX" /](https://pbs.twimg.com/media/EhE3uerXkAAOwzj.png)
Dan Vanderkam on Twitter: "Another use of @TypeScript 4.1's template literal types: extracting the URL parameters from an express route. Pretty amazing you can do this in the type system! https://t.co/gfZQy70whg https://t.co/aEyfMwjjqX" /
![Online Course: React and Typescript: Utility Types and Template Literals from Coursera | Class Central Online Course: React and Typescript: Utility Types and Template Literals from Coursera | Class Central](https://d3f1iyfxxz8i1e.cloudfront.net/courses/course_image/56a08905acc7.png)
Online Course: React and Typescript: Utility Types and Template Literals from Coursera | Class Central
![Wes Bos on Twitter: "π₯ Use TypeScript template literal types to quickly generate a type with all permutations / options based on other types https://t.co/9pkzOW0T5Z" / Twitter Wes Bos on Twitter: "π₯ Use TypeScript template literal types to quickly generate a type with all permutations / options based on other types https://t.co/9pkzOW0T5Z" / Twitter](https://pbs.twimg.com/media/ExV_bWFWUAgrA29.jpg:large)
Wes Bos on Twitter: "π₯ Use TypeScript template literal types to quickly generate a type with all permutations / options based on other types https://t.co/9pkzOW0T5Z" / Twitter
![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
![Minko Gechev on Twitter: "Love the template literal types in TypeScript! You can also use `ErrorCode${number}` and you'll be able to assign `ErrorCode123` but not `ErrorCodeA` https://t.co/yi3AQBf9os" / Twitter Minko Gechev on Twitter: "Love the template literal types in TypeScript! You can also use `ErrorCode${number}` and you'll be able to assign `ErrorCode123` but not `ErrorCodeA` https://t.co/yi3AQBf9os" / Twitter](https://pbs.twimg.com/media/Fa9td7gUcAEi0ll.jpg:large)