You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's an anti-pattern to import from rxjs/internals. You are not expected to use it that way.
As for the error, it's because this type declaration file (rxjs/internal/types/d.ts) depends on rxjs/internal/symbol/observable.d.ts but it's not explicitly listed. Though, in rxjs/index.d.ts both files are imported so you'll be fine if you just import it from rxjs.
Version
3.8.0
Environment info
Package.json:
Steps to reproduce
import { Observable } from 'rxjs/internal/Observable';
What is expected?
No type checking error
What is actually happening?
If I do
import { Observable } from 'rxjs';
There is no type checking error
The text was updated successfully, but these errors were encountered: