Re:Announcing TypeScript 2.1
by pimterry on Wednesday December 07, 2016 @02:10PM
(#13125240)
You do tell TypeScript which runtime you're targeting, and that's how it decides how to compile it. You either set `target` in your tsconfig.json, or you provide `--target` on the command line.
Docs: https://www.typescriptlang.org/docs/handbook/compiler-option...