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
{{ message }}
This repository has been archived by the owner on Apr 2, 2018. It is now read-only.
Contrary to the suggestion from RxJS, this module imports the complete RxJS library. It should only import the parts that are used as explained here: https://github.com/ReactiveX/rxjs
I noticed it because I could use all operators from RxJS in my Ionic 3 app without importing them. The only import from RxJS I used in my app was: import { Observable } from 'rxjs/Observable';
After I commented out the following imports, I got errors because of the missing imports of used RxJS operators:
import { CloudModule, CloudSettings } from '@ionic/cloud-angular';
import { Push, PushToken } from '@ionic/cloud-angular';
I installed the following dependency: "@ionic/cloud-angular": "0.12.0"
and found in node_modules/@ionic/cloud-angular/dist/es5/index.js
the following line 22 var rxjs_1 = require("rxjs");
and in node_modules/@ionic/cloud-angular/dist/esm/index.js
the line 18 import { Observable } from 'rxjs';
I think it should work, if the first line is var rxjs_1 = require("rxjs/Observable");
and the other line is import { Observable } from 'rxjs/Observable';
I would be grateful, if somebody could fix this.
The text was updated successfully, but these errors were encountered:
Contrary to the suggestion from RxJS, this module imports the complete RxJS library. It should only import the parts that are used as explained here: https://github.com/ReactiveX/rxjs
I noticed it because I could use all operators from RxJS in my Ionic 3 app without importing them. The only import from RxJS I used in my app was:
import { Observable } from 'rxjs/Observable';
After I commented out the following imports, I got errors because of the missing imports of used RxJS operators:
I installed the following dependency:
"@ionic/cloud-angular": "0.12.0"
and found in
node_modules/@ionic/cloud-angular/dist/es5/index.js
the following line 22
var rxjs_1 = require("rxjs");
and in
node_modules/@ionic/cloud-angular/dist/esm/index.js
the line 18
import { Observable } from 'rxjs';
I think it should work, if the first line is
var rxjs_1 = require("rxjs/Observable");
and the other line is
import { Observable } from 'rxjs/Observable';
I would be grateful, if somebody could fix this.
The text was updated successfully, but these errors were encountered: