Skip to content

Set TypeScript version 2.1.6 explicitly avoid Jasmine Errors #296

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed

Set TypeScript version 2.1.6 explicitly avoid Jasmine Errors #296

wants to merge 1 commit into from

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