Complete the code to define a template literal type that combines 'hello' and a string.
type Greeting = `hello [1]`;The template literal type uses string to allow any string after 'hello'.
Complete the code to create a template literal type that prefixes 'id_' to a number.
type ID = `id_[1]`;The template literal type uses number to allow numeric suffixes after 'id_'.
Fix the error in the template literal type that combines 'user_' with a union of 'admin' or 'guest'.
type UserRole = `user_[1]`;Template literal types require string literal types inside, so quotes are needed around 'admin' and 'guest'.
Fill both blanks to create a template literal type that combines a color and a size with a dash between.
type Product = `$[1]-[2]`;
The first blank is a union of color strings, the second blank is a union of size strings, combined with a dash.
Fill all three blanks to create a template literal type for event names with prefix, action, and suffix.
type EventName = `$[1]_$[2]_$[3]`;
The prefix is any string, followed by an action from the first union, then a suffix from the second union, all joined by underscores.