Reputation: 25887
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?
Upvotes: 0
Views: 243
Reputation: 220904
Check your path (where tsc
). This is the error issued by an old pre-generics version of TypeScript (0.8 maybe?).
Upvotes: 1