wulfsolter / angular2-signaturepad

Angular2 Component for szimek / signature_pad
MIT License
176 stars 157 forks source link

Ivy/Angular9 Compatibility (Symbol is not exported) #88

Closed xyassini closed 5 years ago

xyassini commented 5 years ago

I've updated to Angular 9.0.0-next.11 with ng update. Since I've updated, I cannot run ng serve or ng build, as I'm getting the same error everytime:

ERROR in Symbol SignaturePad declared in [censored]/client/node_modules/angular2-signaturepad/signature-pad.d.ts is not exported from angular2-signaturepad (import into [censored]/client/projects/blocks/input/signature-input/signature-input-modal/signature-input-modal.component.ts)

The error is triggered from ngtsc: [censored]/client/node_modules/@angular/compiler-cli/src/ngtsc/transform/src/compilation.js:326 finally { if (e_4) throw e_4.error; } ^

I tried but can't get it fixed yet.