cstefanache / angular2-img-cropper

Angular 2 Image Cropper
MIT License
364 stars 135 forks source link

Typings and cropper access #76

Closed TwanoO67 closed 8 years ago

TwanoO67 commented 8 years ago

Hello,

Here is what we use to fix issue#65 and issue#74

I don't know if it's valid, because nether 'master' nor this branche have a working "npm start". But this branche work when imported in our angular 2.0.1 project

cstefanache commented 8 years ago

I saw that you also removed typings - OneOfOne did the same for #75 but for him WebPack is throwing an error. Does this happen to you as well?

TwanoO67 commented 8 years ago

No error during compilation, but you need to update your npm packages (because of the use of @types/es6-shim )

OneOfOne commented 8 years ago

I didn't notice this when I made my PR, so this probably should be merged but please update angular peer to ~2.0.2.

TwanoO67 commented 8 years ago

Ok, I updated it to angular 2.1.0