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
I was facing same issue. just downgrade ngx-clipboard version with 12.3 and works for me.
npm install [email protected] --save
removing following line from node_modules/ngx-clipboard/lib/ngx-clipboard.service.d.ts will also get your work done.
get isSupported(): boolean;