cstefanache / angular2-img-cropper

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

Pr 145 return value #146

Closed axtho closed 7 years ago

axtho commented 7 years ago

Resolves "not all paths return a value" error on compiling with Angular 2.4.10. When compiling with tsc in dev environment (IDE Typescript 2.2.1) I got a lot of shim-es6 errors for typings. Removing typings for es6 solved this issue.

You may want to check this against your env though, as I am unsure whether this will be fine in every case.

cstefanache commented 7 years ago

Thanks!