react-native-windows
react-native-windows copied to clipboard
PlatformTypes.js forked due to flow not recognizing PlatformTypes.windows.js
Problem Description
In this integration, we were getting a lot of errors where the flow check was not recognizing Windows specific types in PlatformTypes.windows.js, so created an override of PlatformTypes.js.
Link to the integration where the error originated
https://github.com/microsoft/react-native-windows/pull/14662
Link to commit
https://github.com/facebook/react-native/pull/49306
Forked files
PlatformTypes.js
Upstream PR
N/A
Build Configuration
None
The actual fix for this is to use PlatformTypes.windows.js but update vnext\.flowconfig to ignore the base PlatformTypes.js.
@anupriya13 is this needed for the 0.79 release? if not, please move it to the 80 or next milestone!