It looks like you are using an older version of the compiler.
You need to download and install TypeScript 1.5 beta (or later) in order to use ES6 style import and annotations.
You can check the version that you just installed using:
tsc --version
It should give you Version 1.5.0-beta .
If you already installed it, your PATH variable may still point to the old folder, so change the PATH variable to the most recent folder, i.e.
C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.5\;
Fenton
source share