when I run tsc on the command line (version 1.4.1) on the following file I get an error: test.ts (1,13): Expected ';'
var x: Array<number>;
x = [2];
Any ideas what might be going on?
Check your path (where tsc). This is the error issued by an old pre-generics version of TypeScript (0.8 maybe?).