Seems to not work on Angular 7
loic-b opened this issue · comments
Hi,
It seems that it doesn't works anymore, on Angular 7, due to update of rxjs.
Get error:
ERROR in node_modules/ngx-long-press/dist/src/long-press.directive.d.ts(2,10): error TS2305: Module '"/home/lberthollet/SCR2-feasability/local-playground/ng-test/ng7-scss/node_modules/rxjs/Observable"' has no exported member 'Observable'.
node_modules/ngx-long-press/dist/src/long-press.directive.d.ts(3,10): error TS2305: Module '"/home/lberthollet/SCR2-feasability/local-playground/ng-test/ng7-scss/node_modules/rxjs/Subject"' has no exported member 'Subject'.
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'.
You can resolve it using
npm install rxjs-compat --save