Description
The library currently has TypeScript errors due to incompatible React type definitions. Adding a specific version of @types/react resolves these issues.
Proposed Solution
Add the following resolution to package.json:
jsonCopy"resolutions": {
"@types/react": "17.0.43"
}
Why this version?
Version 17.0.43 of @types/react is compatible with React Native projects and resolves type definition conflicts, particularly with JSX namespace issues.
Testing Done
Installed version 17.0.43 of @types/react
Verified TypeScript compilation succeeds
Confirmed no breaking changes to existing functionality
Would you like me to suggest additional details or context to include in the issue?
Description
The library currently has TypeScript errors due to incompatible React type definitions. Adding a specific version of @types/react resolves these issues.
Proposed Solution
Add the following resolution to package.json:
jsonCopy"resolutions": {
"@types/react": "17.0.43"
}
Why this version?
Version 17.0.43 of @types/react is compatible with React Native projects and resolves type definition conflicts, particularly with JSX namespace issues.
Testing Done
Installed version 17.0.43 of @types/react
Verified TypeScript compilation succeeds
Confirmed no breaking changes to existing functionality
Would you like me to suggest additional details or context to include in the issue?