Switch to in-development TypeScript compiler.
Use union types.
Use quasis for building strings.