TLDR Web Dev · QUICK LINKS
TYPESCRIPT TYPE SYSTEM HACKS
Summary from the TLDR Web Dev newsletter
Template literal types were introduced in TS 4.1, making it easy to do string manipulation within the type system so that you can concatenate, compare, and pattern-match types.