ERROR in node_modules/ngx-clipboard/lib/ngx-clipboard.service.d.ts:16:9 - error TS1086: An accessor cannot be declared in an ambient context.
16 get isSupported(): boolean;
~~~~~~~~~~~
It just happened to me today, installing current last version of ngx-clipboard, version 13.0.0 in Angular 8.
To fix it I downgraded the version installed, to last right version for my Angular 8, the 12.3.0:
npm uninstall ngx-clipboard
npm install [email protected] --save
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With