Earlier I was working with Angular2.3.1 and just updated package.json file using npm update --save to get updated version of Angular2 which is 2.4.7.
But it seems, for some reason, its breaking the code when I do npm start.
Its says
node_modules/@types/jasmine/index.d.ts(39,52): error TS1005: '=' expected
Now, I wonder how to fix it?
Any idea?
After searching in google, came to know that latest version 2.5.43 of @types/jasmine
is not compatible with typescript version 2.0.*
.
So had to upgrade typescript to 2.1.6
.
Read more here: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/14569
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With