Typescript 4.1 Beta Brings Template Literal Types -

TypeScript 4.1 also introduced to support these new capabilities: Uppercase Lowercase Capitalize Uncapitalize

: Developers can now enforce specific patterns, such as validating IPv4 addresses (e.g., $number.$number.$number.$number ) directly at the type level. TypeScript 4.1 beta brings template literal types

: If a union of types is used within the template, TypeScript generates every possible combination of those strings. TypeScript 4