Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Observable import at client.ts #3

Open
jovelromeo opened this issue Nov 22, 2019 · 3 comments
Open

Wrong Observable import at client.ts #3

jovelromeo opened this issue Nov 22, 2019 · 3 comments

Comments

@jovelromeo
Copy link

The file client.ts is generated with an import at line 3:
import { Observable } from 'rxjs/Observable';
wich generates an error.

I guess this has to be changed to:
import { Observable } from 'rxjs';

@jovelromeo jovelromeo changed the title Wrong Observable import al client.ts Wrong Observable import at client.ts Nov 22, 2019
@foxel
Copy link
Owner

foxel commented Nov 22, 2019

Hi, @jovelromeo
Can you show the error?
Since importing from 'rxjs' will most probably bundle complete rxjs library into your project it's not the best way to go. One should import a bare minimum.

@jovelromeo
Copy link
Author

jovelromeo commented Nov 22, 2019 via email

@jovelromeo
Copy link
Author

To avoid this I installed the package rxjs-compat

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

No branches or pull requests

2 participants