TypeScript error with @types/react-native@0.70.4
due to usage of Platform.isTVOS
#1604
Labels
Missing repro
This issue need minimum repro scenario
Platform: Android
This issue is specific to Android
Platform: iOS
This issue is specific to iOS
Platform: tvOS
Issue related with tvOS compatibility
Platform: Web
This issue is specific to web
Platform: Windows
This issue is specific to Windows
Description
The following file uses
Platform.isTVOS
which was removed in the latest version of@types/react-native
. This causes an error when runningtsc
.react-native-screens/src/native-stack/utils/getDefaultHeaderHeight.tsx
Line 25 in 4ed5ee3
Steps to reproduce
See description
Snack or a link to a repository
Not needed
Screens version
3.17.0
React Native version
0.70.1
Platforms
Android, iOS, Web, Windows, tvOS
JavaScript runtime
No response
Workflow
No response
Architecture
No response
Build type
No response
Device
No response
Device model
No response
Acknowledgements
Yes
The text was updated successfully, but these errors were encountered: