After updating to Angular 2.4.10 i am getting a node_modules/ng2-img-cropper/src/imageCropper.ts (937,38): Not all code paths return a value.)
This would be fixed with a simple
public getDragTouchForID(id:any):CropTouch | undefined {
for (let i = 0; i < this.currentDragTouches.length; i++) {
if (id === this.currentDragTouches[i].id) {
return this.currentDragTouches[i];
}
}
return undefined;
}
Many packages are upgrading to the latest version now, with that of course TS (e.g. angular-cli, material2). Did you check the package against Angular 4 yet?
After updating to Angular 2.4.10 i am getting a
node_modules/ng2-img-cropper/src/imageCropper.ts (937,38): Not all code paths return a value.)
This would be fixed with a simple
Many packages are upgrading to the latest version now, with that of course TS (e.g. angular-cli, material2). Did you check the package against Angular 4 yet?
Thanks for the awesome work though ;)