zoomsphere / ngx-store

Angular decorators to automagically keep variables in HTML5 LocalStorage, SessionStorage, cookies; injectable services for managing and listening to data changes and a bit more.
https://www.npmjs.com/package/ngx-store
ISC License
167 stars 41 forks source link

no exported member 'Observable' in angular 6 #49

Closed webexpert4rv closed 6 years ago

webexpert4rv commented 6 years ago

ERROR in node_modules/ngx-store/src/service/webstorage.service.d.ts(3,10): error TS2305: Module '"/home/user/dee/angular6/admin-template/node_modules/rxjs/Observable"' has no exported member 'Observable'. node_modules/ngx-store/src/utility/storage/storage.d.ts(2,10): error TS2305: Module '"/home/user/dee/angular6/admin-template/node_modules/rxjs/Subject"' has no exported member 'Subject'. node_modules/ngx-store/src/utility/webstorage.utility.d.ts(3,10): error TS2305: Module '"/home/user/dee/angular6/admin-template/node_modules/rxjs/Subject"' has no exported member 'Subject'. node_modules/ngx-store/src/utility/webstorage.utility.d.ts(5,10): error TS2305: Module '"/home/user/dee/angular6/admin-template/node_modules/rxjs/Observable"' has no exported member 'Observable'. node_modules/rxjs/Observable.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Observable'. node_modules/rxjs/Subject.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/Subject'.

DanielKucal commented 6 years ago

It will be resolved by upgrading to Angular 6 in https://github.com/zoomsphere/ngx-store/pull/47