Skip to content

Type Animated.event() as an event handler instead of any - #57991

Closed
huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D116440620
Closed

huntie wants to merge 1 commit into
react:mainfrom
huntie:export-D116440620

Conversation

@huntie

@huntie huntie commented Aug 18, 2026

Copy link
Copy Markdown
Collaborator

Summary:
Addresses a type narrowness regression (Strict API vs legacy manual types), raised by user feedback:
react-native-community/discussions-and-proposals#1015 (comment)

Changelog:
[General][Fixed] - Animated: Animated.event() is typed as an event handler rather than any

Differential Revision: D116440620

Summary:
Addresses a type narrowness regression (Strict API vs legacy manual types), raised by user feedback:
react-native-community/discussions-and-proposals#1015 (comment)

Changelog:  
[General][Fixed] - **Animated**: `Animated.event()` is typed as an event handler rather than `any`

Differential Revision: D116440620
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Aug 18, 2026
@meta-codesync

meta-codesync Bot commented Aug 18, 2026

Copy link
Copy Markdown

@huntie has exported this pull request. If you are a Meta employee, you can view the originating Diff in D116440620.

@meta-codesync meta-codesync Bot closed this in 3eb330a Aug 18, 2026
@meta-codesync meta-codesync Bot added the Merged This PR has been merged. label Aug 18, 2026
@meta-codesync

meta-codesync Bot commented Aug 18, 2026

Copy link
Copy Markdown

This pull request has been merged in 3eb330a.

@huntie
huntie deleted the export-D116440620 branch August 18, 2026 14:34
cipolleschi pushed a commit that referenced this pull request Aug 26, 2026
Summary:
Pull Request resolved: #57991

Addresses a type narrowness regression (Strict API vs legacy manual types), raised by user feedback:
react-native-community/discussions-and-proposals#1015 (comment)

Changelog:
[General][Fixed] - **Animated**: `Animated.event()` is typed as an event handler rather than `any`

Reviewed By: vzaidman

Differential Revision: D116440620

fbshipit-source-id: 4ba629c511fcf28981700d1bc841a4ce8dcf17f8
(cherry picked from commit 3eb330a)
tvinhas pushed a commit to tvinhas/react-native-macos that referenced this pull request Oct 21, 2026
Summary:
Pull Request resolved: react#57991

Addresses a type narrowness regression (Strict API vs legacy manual types), raised by user feedback:
react-native-community/discussions-and-proposals#1015 (comment)

Changelog:
[General][Fixed] - **Animated**: `Animated.event()` is typed as an event handler rather than `any`

Reviewed By: vzaidman

Differential Revision: D116440620

fbshipit-source-id: 4ba629c511fcf28981700d1bc841a4ce8dcf17f8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant