Currently, I am facing the challenging task of migrating a project from Angular 5.2.11 to version 6.0.0. The main issue I'm encountering is with RxJS 6 (which is essential for Angular versions above 6). Here's an example of one of the errors that arise:
ERROR in node_modules/angularfire2/auth/auth.d.ts(3,10): error TS2305: Module '"/Users/jadam/brightwater2/node_modules/rxjs/Observable"' has no exported member 'Observable'.
Although installing rxjs-compat can resolve this issue, I'm wondering if there are alternative ways to address these errors without relying on it.
I came across a similar discussion, but unfortunately, it didn't provide a satisfactory solution.
I've attempted changing
import { Observable } from 'rxjs/Observable'
to 'import { Observable } from 'rxjs'
, but this hasn't worked for me either. (As suggested by some comments in the thread I referenced and others.)
Below is my package.json file for reference:
"name": "differ",
"version": "0.0.0",
"license": "MIT",
"angular-cli": {},
...