After upgrading my Angular 2 project to RC1
and the router to v3 alpha3
, I encountered the following errors:
node_modules/@angular/router/directives/router_outlet.d.ts(10,14): error TS1005: '=' expected.
It appears to be a TypeScript version issue. It seems that I need to use TypeScript 1.9.0-dev.20160409
version or higher. Despite adding
"typescript": "^1.9.0-dev.20160409"
to devDependencies
, the errors persist. What else can I do to resolve this?