ngx-web-worker
ngx-web-worker copied to clipboard
could not find declaration for ngx-web-worker after upgrading from angular 7 to angular 8
Hi,
i have an issue in with ngx-web-worker after upgrading from angular 7 to 8.
in 7 it was working fine then after upgrade it shows:
node_modules/ngx-web-worker/dist/web-worker.service.js' implicitly has an 'any' type.
Try npm install @types/ngx-web-worker if it exists or add a new declaration (.d.ts) file containing `declare module 'ngx-web-worker';|
any suggestions?
Had the same problem. Works when I put:
constructor (
...,
@Inject(WebWorkerService) private webWorkerService: WebWorkerService) {
...
}