-
Notifications
You must be signed in to change notification settings - Fork 519
Updating to Typescript 2.5.2 produces error #1247
Comments
same here nothing easy in this project :( |
It depends on which template you're using, but TypeScript isn't something that can be easily updated so quickly because all of the libraries and frameworks you're working with might not have upgraded to reflect the changes they made. "Minor" versions in TS seem to have breaking changes, even if only minor ones unfortunately. 😐 |
I tested with different templates, including most current. I think it's only one small change in line Thanks for the great project! |
Had this issue after updating my packages -angular template-, fixed it by defining in the boot.server.ts file. |
Making zone typesafe solves the issue. |
const zone:any = moduleRef.injector.get(NgZone); |
Thanks for letting us know. When we update the template sources to TypeScript 2.5.2+ this issue will inevitably surface and we'll use one of your suggested resolutions. Closing for now because there's no action to take on it (at least, not prior to updating to TypeScript 2.5.2). |
Typescript <=2.4.2 and 2.5.0 works fine.
Typescript >=2.5.1 gives following error:
The text was updated successfully, but these errors were encountered: