// a template literal TYPE limits which strings are allowed type Greeting = `Hello, ${string}!`; const g: Greeting = "Hello, Ada!"; console.log(g);
constrain a string's shape at the type level