matheusdavidson / angular-cropperjs

CropperJS integration for Angular +6
MIT License
109 stars 69 forks source link

Typescript error no exported member for ImageData and CropBoxData #23

Closed mateotherock closed 6 years ago

mateotherock commented 6 years ago

Very weird error I'm getting. I had the whole angular-cropper component almost working and styled and everything in my application and then randomly after a refresh I started getting these TypeScript errors...

It appears to not be recognizing these two imports (from cropperjs/dist/cropper) when importing them into angular-cropperjs.component.d.ts. Do you know why this might be?

I am having to use version 0.1.5 because I couldn't get the newest version to work with Ionic, but like I said I had it all working until a random refresh.

mateotherock commented 6 years ago

So sorry. This is resolved. I guess for me it is wanting to put the module import in both the component module imports AND the app module imports.