Closed renestalder closed 7 years ago
On fresh install today 4th July, I am getting this error on Windows 10:
[0] C:/test/asa/nativescript/node_modules/@ngrx/effects/src/actions.d.ts(4,22): error TS2415: Class 'Actions' incorrectly extends base class 'Observable
My Environment:
Windows 10
node 6.11.0
npm 5.0.4
Installed Latest commit 2b4d827.
Error Details (npm start & npm run start.android)
C:/test/asa/nativescript/node_modules/@ngrx/effects/src/actions.d.ts(4,22): error TS2415: Class 'Actions' incorrectly extends base class 'Observable
same here, rolled back to 2.34 and everything is back in place.
2.4.1 seems to more restrict and thus causes syntax errors on some components, including some node_modules.
It did catch some errors on my code, which I fixed, but fixing someone else's imported code would cause a lot of issues, so for now, rolling back to 2.3.4 till those modules get updated/fixed.
I'm submitting a ...
Current behavior When using TypeScript >= 2.4, the build/compiling doesn't work and fails because of typing errors:
Expected behavior The build should run without error with the code provided by this repository and with TypeScript >= 2.4.
Minimal reproduction of the problem with instructions I can reproducing this when checking out the angular-seed-advanced repository and try to build with the latest TypeScript version. When I revert back to TypeScript 2.3.4, everything works fine. The problem might not come up with Yarn, since the version is locked in the lockfile. But it comes up with npm for sure.
What is the motivation / use case for changing the behavior? We want to be able using newer TypeScript versions.
Please tell us about your environment: macOS
Angular Seed Version: Latest master version as of 4th of July 2017.
Node:
node --version
= 6.11.0