Creates a TemplateLiteral type.
Example usage is shown below.
const T = Type.TemplateLiteral('A${"B"|"C"}') // const T = {
// type: 'string',
// pattern: '^A(B|C)$'
// }
type T = Static<typeof T> // type T = 'AB' | 'AC'
Use the IsTemplateLiteral function to guard values of this type.
Type.IsTemplateLiteral(value) // value is TTemplateLiteral