Set TypeScript version 2.1.6 explicitly avoid Jasmine Errors - #296
Closed
misterzik wants to merge 1 commit into
Closed
Set TypeScript version 2.1.6 explicitly avoid Jasmine Errors#296misterzik wants to merge 1 commit into
misterzik wants to merge 1 commit into
Conversation
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
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. |
Author
|
Awesome, Muchas gracias @Foxandxss \m/ |
|
@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 |
|
@misterzik Thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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