DEV Community

Marius Bongarts
Marius Bongarts

Posted on

Advanced TypeScript With Code Challenges: Template Literal Types

Small Elephant stating Javascript, big elephant stating Typescript

Template literal types allow us to build more flexible types. As its name suggests, they have the same syntax as template literal strings in JavaScript but are used in type positions.

Top comments (0)