TypeScript | Advanced Types in TypeScript | Question5

Last Updated :
Discuss
Comments

What is a template literal type in TypeScript?

A type that allows using variables in strings.

A type that constructs string literals using embedded expressions.

A runtime feature for combining strings.

A way to define constant string unions.

Share your thoughts in the comments