-
Notifications
You must be signed in to change notification settings - Fork 209
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrade to Angular 16+ #631
Conversation
Node 18 is the only version that is still supported by node and Angular 15
Because I could not make @angular-builders/jest work and Angular 15 is EOL in a few days anyway.
Looks good! Thanks for adding the types as well, seems like I have been a little lazy using any :D The |
@@ -95,7 +96,7 @@ export class CropperPositionService { | |||
cropperPosition.y1 + settings.cropperScaledMinHeight); | |||
break; | |||
case 'center': | |||
const scale = event.scale; | |||
const scale = (event as any).scale; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not too happy about this change. Maybe you can help me understand where this apparently non-standard property comes from ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It comes from the startPinch method which is used by HammerJS for the pinch zoom.
As discussed in #630, except that I went for Angular 16, because Angular 15 is EOL in a few days, and Angular 16 makes it much easier to work with Jest.