Ngx-datatable: Angular 6 Support BehaviorSubject

Created on 4 May 2018  路  2Comments  路  Source: swimlane/ngx-datatable

I'm submitting a ... (check one with "x")

[X ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, post on Stackoverflow or Gitter

Current behavior
I've updated my Project to Angular 6 RC 8 and RXJS to 6.1.0 after this Upgrade i got the following Error when i run ng serve:

 ERROR in node_modules/@swimlane/ngx-datatable/release/components/datatable.component.d.ts(10,10): error TS2305: Module '"C:/Users/daniel.ehrhardt/Desktop/assembler/node_modules/rxjs/BehaviorSubject"' has no exported member 'BehaviorSubject'.
node_modules/rxjs/BehaviorSubject.d.ts(1,15): error TS2307: Cannot find module 'rxjs-compat/BehaviorSubject'.

Expected behavior
This issue this not happen

Reproduction of the problem
Update the Project to the latest Angular Version and try to run ng serve

What is the motivation / use case for changing the behavior?
For future Angular Support

Please tell us about your environment:

  • Table version: 0.8.x
    latest

  • Angular version: 2.0.x
    6 RC 8

Most helpful comment

I think he meant npm i rxjs-compat :)

All 2 comments

A current Workaround is to install rxjs-compat

I think he meant npm i rxjs-compat :)

Was this page helpful?
0 / 5 - 0 ratings