error in build app while using typescript
ProMasoud opened this issue · 4 comments
ProMasoud commented
Agontuk commented
I'll try to add typescript support, also PR is welcome.
rcart commented
Hi @ProMasoud , were you able to tackle this issue with a solution/workaround? I'm experiencing the exact same scenario as you did.
ProMasoud commented
Hi @rcart
Yes I simply did this. It 's not a good idea but working.
public cropImage(): void {
this.cropImg = (this.$refs.cropper as any).getCroppedCanvas().toDataURL();
this.form.avatar = this.cropImg;
this.dialog = false;
}
rcart commented
Cool. That did the trick @ProMasoud. Thanks a lot.