Skip to content
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

fix: ts error due to react types forwardRef changes #528

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

akuul
Copy link
Contributor

@akuul akuul commented Sep 5, 2024

Summary

Due to changes to forwardRef render function with @types/react 18.3.5, withSafeAreaInsets was throwing TS error.

+ render: ForwardRefRenderFunction<T, PropsWithoutRef<P>>,
- render: ForwardRefRenderFunction<T, P>,

Closes #526

Test Plan

Not affected.
Tested on =18.3.5 and <= 18.3.4

Copy link
Collaborator

@jacobp100 jacobp100 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@jacobp100
Copy link
Collaborator

@janicduplessis could we do a release when you get a minute?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TS]: Error for withSafeAreaInsets due to @types/react forwardRef update
5 participants