I'm submitting a ... (check one with "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
Getting these errors
node_modules/@swimlane/ngx-datatable/lib/directives/long-press.directive.d.ts:16:9 - error TS1086: An accessor cannot be declared in an ambient context.
16 get press(): boolean;
~
node_modules/@swimlane/ngx-datatable/lib/directives/long-press.directive.d.tsm:17:9 - error TS1086: An accessor cannot be declared in an ambient context.
17 get isLongPress(): boolean;
~~~
node_modules/@swimlane/ngx-datatable/lib/services/column-changes.service.d.ts:8:9 - error TS1086: An accessor cannot be declared in an ambient context.
8 get columnInputChanges$(): Observable
Expected behavior
Application should compile without errors
Reproduction of the problem
Angular version : 8.2.3
ngx-datatable version: latest 17.0
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
Mac OS
Angular version:
Angular version : 8.2.3
ngx-datatable version: latest 17.0
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
Language: [all | TypeScript X.X | ES6/7 | ES5]
"typescript": "~3.5.3",
Downgraded to 16.0.3 and it seems to be working. Looks like the latest version does not work on Angular 8
Can we fix this for Angular 8? Or how I can get the cssClasses feature in 16.0.3
+1 Angular 8 with TS 3.5 is not working.
Any Update on this? Same error with Angular 10
Any update? Same here:
"@angular/core": "~8.2.11",
"typescript": "~3.5.3"
Most helpful comment
Downgraded to 16.0.3 and it seems to be working. Looks like the latest version does not work on Angular 8