Skip to content

Set TypeScript version 2.1.6 explicitly avoid Jasmine Errors - #296

Closed
misterzik wants to merge 1 commit into
preboot:masterfrom
misterzik:patch-1
Closed

Set TypeScript version 2.1.6 explicitly avoid Jasmine Errors#296
misterzik wants to merge 1 commit into
preboot:masterfrom
misterzik:patch-1

Conversation

@misterzik

Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
Author

Awesome, Muchas gracias @Foxandxss \m/

@sermormo

sermormo commented Mar 1, 2017

Copy link
Copy Markdown

@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

ortisan commented Mar 2, 2017

Copy link
Copy Markdown

@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