I am trying to set up Angular Datatables, the Angular Way with Angular 6 and am getting an error that none of the docs seem to address.
(TS) Generic type 'Subject' requires 1 type argument(s)
This is what appears when I hover over "Subject" in
dtTrigger: Subject = new Subject();
I have all of the imports as shown in the example. Is there a newer example or maybe I need to update something in Angular? I had to do that for a different error that is now resolved.
I am following this example: https://l-lin.github.io/angular-datatables/#/basic/angular-way
dtTrigger: Subject<any> = new Subject<any>();
使用角度和角度数据表 8
你应该输入你的主题,试试这个:
private $dtTrigger<any> = new Subject<any>();
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.