Skip to content

Commit

Permalink
Add type tests for AnimatedRef and fix Animated Components regression (
Browse files Browse the repository at this point in the history
…#5308)

Requires #5320.

## Summary

I induced a regression accidentally in #5031 regarding FlatList. 

This PR:
- fixes this regression,
- improves the type structure of other components,
- adds a new test suite to detect such mistakes in the future.

It also automatically fixes failing future RN version typecheck CI.

## Test plan

All the new & old tests should work.
  • Loading branch information
tjzel authored and Aleksandra Cynk committed Dec 12, 2023
1 parent 90f5171 commit 05c97df
Show file tree
Hide file tree
Showing 7 changed files with 510 additions and 70 deletions.
Loading

0 comments on commit 05c97df

Please sign in to comment.