Skip to content

Conversation

@goulaheau
Copy link

@goulaheau goulaheau commented Nov 25, 2025

Fixes #65613

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • angular.dev application / infrastructure changes
  • Other... Please describe:

What is the current behavior?

The Function type is not precise enough and is in error with this rule :
https://typescript-eslint.io/rules/no-unsafe-call/

Issue Number: #65613

What is the new behavior?

The Function is replaced for () => void, which is more precise.

Does this PR introduce a breaking change?

  • Yes
  • No

Other information

@pullapprove pullapprove bot requested a review from thePunderWoman November 25, 2025 10:51
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: core Issues related to the framework runtime labels Nov 25, 2025
@ngbot ngbot bot added this to the Backlog milestone Nov 25, 2025
@JeanMeche JeanMeche modified the milestones: Backlog, v22 candidates Nov 25, 2025
@JeanMeche JeanMeche marked this pull request as draft November 25, 2025 13:59
@JeanMeche
Copy link
Member

This is actually a breaking change that we can't land until we're in a breaking change window again.

@goulaheau
Copy link
Author

@JeanMeche Ok, I updated the description, should I do anything more ?

@JeanMeche
Copy link
Member

There isn't much to do until late febuary, our next breaking change window for v22.
Also the commit should be more of a refactor than a feat.

@goulaheau goulaheau force-pushed the feat/65613-animation-complete-signature branch from 9d73624 to 85542ad Compare November 25, 2025 19:31
…ature

BREAKING CHANGE: change AnimationCallbackEvent.animationComplete signature

Fixes angular#65613
@goulaheau goulaheau force-pushed the feat/65613-animation-complete-signature branch from 85542ad to 3820669 Compare November 25, 2025 19:38
@angular-robot angular-robot bot added the detected: breaking change PR contains a commit with a breaking change label Nov 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: core Issues related to the framework runtime breaking changes detected: breaking change PR contains a commit with a breaking change detected: feature PR contains a feature commit

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change signature of animationComplete from AnimationCallbackEvent to be more precise

3 participants