You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using react-native-contacts with TypeScript strict mode enabled, the following type error occurs:
This error occurs because the package uses React Native's Turbo Modules feature but doesn't include the necessary type definitions for the global __turboModuleProxy property.
Environment
react-native-contacts: ^8.0.4
react-native: 0.76.7
typescript: ~5.3.3
expo: ~52.0.33
Platform: iOS/Android
Steps to Reproduce
Create a new React Native project with TypeScript
Enable strict: true in tsconfig.json
Install react-native-contacts
Run TypeScript type checking
Expected Behavior
TypeScript should recognize the __turboModuleProxy property on the global object as it's a valid React Native Turbo Modules property.
Additional Context
This is related to React Native's Turbo Modules architecture. The property is valid and works at runtime, but lacks proper TypeScript definitions.
The text was updated successfully, but these errors were encountered:
When using
react-native-contacts
with TypeScript strict mode enabled, the following type error occurs:This error occurs because the package uses React Native's Turbo Modules feature but doesn't include the necessary type definitions for the global
__turboModuleProxy
property.Environment
Steps to Reproduce
strict: true
in tsconfig.jsonExpected Behavior
TypeScript should recognize the
__turboModuleProxy
property on the global object as it's a valid React Native Turbo Modules property.Additional Context
This is related to React Native's Turbo Modules architecture. The property is valid and works at runtime, but lacks proper TypeScript definitions.
The text was updated successfully, but these errors were encountered: