Skip to content

Conversation

@filipi87
Copy link

@filipi87 filipi87 commented May 9, 2025

Fixing types conflict

Comment on lines +43 to +44
"@types/react": "19.0.9",
"@types/react-native": "0.73.0",
Copy link
Author

Choose a reason for hiding this comment

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

This should remain in dev dependencies, as it is in the upstream.

tsconfig.json Outdated
"jsx": "react-native",
"resolveJsonModule": true,
"noImplicitAny": false,
"types": ["react", "react-native"]
Copy link
Author

Choose a reason for hiding this comment

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

By default, TypeScript includes all globally installed type definitions it finds.

This way, we are only including type definitions from these two packages. Ignore everything else.

Choose a reason for hiding this comment

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

We don't want "debug" in here too, since package.json specifies a dev dependency on "@types/debug"?

@filipi87 filipi87 changed the title Fixing types conflict. Fixing dev dependencies and types conflict. May 12, 2025
@filipi87 filipi87 marked this pull request as ready for review May 12, 2025 18:40
@filipi87 filipi87 requested a review from kompfner May 12, 2025 18:41
@filipi87 filipi87 merged commit bd8fa74 into main May 13, 2025
1 check passed
@filipi87 filipi87 deleted the fixing_types_conflict branch May 13, 2025 14:26
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.

3 participants