Hi Team,
I want to rerendering datatables so I am declaring dtTrigger as dtTrigger: Subject<any> = new Subject(); and using in template as [dtTrigger]="dtTrigger" but gives me an error in compilation.
:8ball: Code should compile with no type of error
Error: src/app/shared/components/datatables/datatables.component.html:3:47 - error TS2322: Type 'import("/home/shivaji/eaf/environment/development/develop/web/apps/broker-portal/ui/node_modules/rxjs/internal/Subject").Subject' is not assignable to type 'import("/home/shivaji/eaf/environment/development/develop/web/apps/broker-portal/ui/node_modules/angular-datatables/node_modules/rxjs/internal/Subject").Subject'.
Types of property 'lift' are incompatible.
Type '(operator: import("/home/shivaji/eaf/environment/development/develop/web/apps/broker-portal/ui/node_modules/rxjs/internal/Operator").Operator) => import("/home/shivaji/eaf/environment/development/develop/web/apps/broker-portal/ui/node_modules/rxjs/internal/Observable").Observable' is not assignable to type '(operator: import("/home/shivaji/eaf/environment/development/develop/web/apps/broker-portal/ui/node_modules/angular-datatables/node_modules/rxjs/internal/Operator").Operator) => import("/home/shivaji/eaf/environment/development/develop/web/apps/broker-portal/ui/node_modules/angular-datatables/node_modules...'.
Types of parameters 'operator' and 'operator' are incompatible.
Type 'import("/home/shivaji/eaf/environment/development/develop/web/apps/broker-portal/ui/node_modules/angular-datatables/node_modules/rxjs/internal/Operator").Operator' is not assignable to type 'import("/home/shivaji/eaf/environment/development/develop/web/apps/broker-portal/ui/node_modules/rxjs/internal/Operator").Operator'.
Types of property 'call' are incompatible.
A clear and concise description of what you expected to happen.
Hi Team, I want to rerendering datatables so I am declaring dtTrigger as
dtTrigger: Subject<any> = new Subject();
and using in template as[dtTrigger]="dtTrigger"
but gives me an error in compilation.:8ball: Code should compile with no type of error
A clear and concise description of what you expected to happen.
:camera: Screenshots
:globe_with_meridians: Ubuntu 18.04