An accessor cannot be declared in an ambient context
See original GitHub issueI’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<undefined>;
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
- Table version:
- 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”,
Issue Analytics
- State:
- Created 3 years ago
- Comments:5
Top GitHub Comments
Downgraded to 16.0.3 and it seems to be working. Looks like the latest version does not work on Angular 8
Any update? Same here: