角度编译期间的主要NG数据表错误

时间:2019-05-06 06:38:10

标签: rxjs angular5 primeng primeng-datatable

嗨,我正在使用角度为5的primeng。 我收到以下编译时错误。

   ERROR in 
   node_modules/primeng/components/common/confirmationservice.d.ts(5,27): 
   error TS1110: Type expected.
   node_modules/primeng/components/common/confirmationservice.d.ts(5,86): 
   error TS1005: '(' expected.
   node_modules/primeng/components/common/confirmationservice.d.ts(6,13): 
   error TS1110: Type expected.
   node_modules/primeng/components/common/confirmationservice.d.ts(6,72): 
   error TS1005: '(' expected.
   node_modules/primeng/components/common/messageservice.d.ts(5,22): error 
   TS1110: Type expected.

下面是我的package.json:

"@angular/animations": "^5.1.1",
"@angular/cdk": "^5.0.0",
"@angular/common": "^5.0.0",
"@angular/compiler": "^5.0.0",
"@angular/core": "^5.0.0",
"@angular/forms": "^5.0.0",
"@angular/http": "^5.0.0",
"@angular/material": "^5.0.0",
"@angular/platform-browser": "^5.0.0",
"@angular/platform-browser-dynamic": "^5.0.0",
"@angular/router": "^5.0.0",
"@ng-bootstrap/ng-bootstrap": "^1.1.2",
"animate.css": "^3.5.2",
"bootstrap": "^3.3.7",
"bootstrap-select": "^1.12.4",
"core-js": "^2.4.1",
"hammerjs": "^2.0.8",
"highcharts": "^6.0.2",
"highcharts-export-data": "^0.1.7",
"highcharts-variable-pie": "^0.1.7",
"jquery": "^3.2.1",
"moment-timezone": "^0.5.21",
"primeng": "^7.1.2",
"rxjs": "^5.5.2",
"web-animations-js": "^2.3.1",
"zone.js": "^0.8.14"

请让我知道问题出在哪里以及如何解决

0 个答案:

没有答案