TypeScript 4.1 arrives with template literal types
TypeScript 4.1, an upgrade to Microsoft’s popular open source language that adds types to JavaScript, is now available as a production release. The upgrade features template literal types and a multitude of other improvements. The template literal type has the same syntax as template literal strings in JavaScript except it is used in type positions. When used with concrete literal types, a new string literal type is produced by concatenating the contents.