TS1086: An accessor cannot be declared in an ambient context.
xidedix opened this issue · comments
xidedix commented
@coreui/angular v2.9.0 uses Angular 9 and TypeScript 3.7
TS1086: An accessor cannot be declared in an ambient context
- TypeScript 3.7 emits get/set accessors in
.d.ts
files. It can cause breaking changes for consumers on older versions of TypeScript like 3.5 and prior. - See: Class Field Mitigations
If you are affected:
- update to Angular 9 https://update.angular.io/ and TypeScript to 3.6 or 3.7
- or lock
@coreui/angular
dependency on version2.5.5
or2.6.3
xidedix commented
to fix the issue, update @coreui/angular
to 2.9.1
@coreui/angular v2.9.1 uses Angular 9 and TypeScript 3.6 - Angular 8 compatible
github-actions commented
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions