Skip to content

Conversation

misterzik
Copy link

Errors before upgrading to new version,

TS1005: '=' expected.
TS2371: A parameter initializer is only allowed in a function or constructor implementation.
TS2304: Cannot find name 'keyof'.
From (unknown) [at-loader] node_modules/@types/jasmine/index.d.ts

Errors before upgrading to new version,

TS1005: '=' expected.
TS2371: A parameter initializer is only allowed in a function or constructor implementation.
TS2304: Cannot find name 'keyof'.
From (unknown) [at-loader] node_modules/@types/jasmine/index.d.ts
@Foxandxss
Copy link
Member

Thanks! I always see the errors before hand at work (angular/quickstart#381 / angular/angular.io#3236) but I forget about this repo.

I can't merge this one tho, the solution is not to update Typescript but to lock the types into a previous version. Angular v2 doesn't like TS 2.1, so until we get Angular v4, we need to stay with 2.0.10.

@Foxandxss Foxandxss closed this Feb 11, 2017
@misterzik
Copy link
Author

Awesome, Muchas gracias @Foxandxss \m/

@sermormo
Copy link

sermormo commented Mar 1, 2017

@misterzik Hey man , i just signed upto this site, to thank you.. I am pretty new using this stuff and i was stuck with this error.. Once again thanks..you rocks.. Gracias

@ortisan
Copy link

ortisan commented Mar 2, 2017

@misterzik Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants