Skip to content

Conversation

@y0n0zawa
Copy link

@y0n0zawa y0n0zawa commented Dec 9, 2025

Background

Since React Native 0.71, type definitions are included in the react-native package itself, making @types/react-native unnecessary and deprecated.

Including this package in dependencies causes deprecation warnings to be displayed to users.

Changes

  • Remove @types/react-native from devDependencies
  • Remove @types/react-native from peerDependencies
  • Remove @types/react-native configuration from peerDependenciesMeta
  • Remove related unused packages from yarn.lock (358 lines)

Test Plan

  • Build completes successfully
  • Type checking passes

Since React Native 0.71, type definitions are included in the
react-native package itself, making @types/react-native unnecessary
and deprecated.

This removes @types/react-native from both devDependencies and
peerDependencies to eliminate deprecation warnings for users.
@github-actions
Copy link

github-actions bot commented Jan 8, 2026

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant