I've update my Angular 2 project to RC1 and the router to v3 alpha3. I'm getting such errors:
node_modules/@angular/router/directives/router_outlet.d.ts(10,14): error TS1005: '=' expected.
The error seem to be a TypeScript version issue. I seem to be need to use TypeScript 1.9.0-dev.20160409 version or higher. I've added "typescript": "^1.9.0-dev.20160409" to devDependencies but didn't helped, I'm still getting same errors. What else should I do?
You can use this method to upgrade your VS.NET to a specific version: https://github.com/Microsoft/TypeScript/wiki/Nightly-drops#visual-studio-2013-and-2015
When you reopen the project VS.NET will ask that if you want to upgrade the project's TypeScript version. If you say yes it will update the
TypeScriptToolsVersionvalue in the csproj file.