react-native-macos/Libraries/Utilities
Mike Vitousek 7f53bb95f7 Suppress errors and switch to new-generics in xplat
Summary:
The Flow team has been building a new implementation of the system that typechecks the body of generic functions and classes. This system is more sound than the previous approach and detects errors that were uncaught previously. This diff turns on the new generic system by setting generate_tests=false in the .flowconfig, and suppresses newly discovered errors.

This diff modifies and re-signs some generated modules, because syncing from www pulled in a ton of other changes that have runtime differences, and I'm not equipped to verify that the changes are safe to land.

Changelog: [Internal]

Reviewed By: panagosg7

Differential Revision: D24801184

fbshipit-source-id: bb31fe4c5a4107d183649b436a548df5ff42e217
2020-11-20 00:50:30 -08:00
..
__mocks__ BackHandler: specify function return type for handler (#28192) 2020-04-23 14:13:06 -07:00
__tests__ RN: Hoist Reflection from Verification 2020-11-18 21:19:12 -08:00
differ Upgrade Prettier in Xplat to version 1.19.1 2020-04-09 11:01:58 -07:00
Appearance.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
BackHandler.android.js remove most of tvOS remnants from the code (#29407) 2020-09-28 21:26:41 -07:00
BackHandler.ios.js remove most of tvOS remnants from the code (#29407) 2020-09-28 21:26:41 -07:00
DebugEnvironment.js Move DebugEnvironment helper to open source 2020-04-06 18:17:40 -07:00
DevSettings.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
DeviceInfo.js Add spec for DeviceInfo module 2019-05-29 16:37:15 -07:00
Dimensions.js Clean up misc references to ComponentScript 2020-02-13 14:29:02 -08:00
GlobalPerformanceLogger.js Migrate createPerformanceLogger to ESM and export getCurrentTimestamp 2020-10-23 07:14:59 -07:00
HMRClient.js Create a `metro-runtime` module 2020-08-13 11:58:38 -07:00
HMRClientProdShim.js Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00
JSDevSupportModule.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
LoadingView.android.js Convert easy files to flow strict-local 2019-12-05 16:06:46 -08:00
LoadingView.ios.js Add dark mode to loading progress 2020-05-12 20:56:06 -07:00
LoadingView.js Add a loading bar when loading split bundles 2019-07-18 03:06:49 -07:00
MatrixMath.js Fix skewX on Android and in the JS decomposition (#28862) 2020-05-11 09:01:33 -07:00
NativeAppearance.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
NativeDevLoadingView.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
NativeDevSplitBundleLoader.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
NativeDeviceInfo.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
NativeJSDevSupport.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
NativePlatformConstantsAndroid.js Set caretHidden to true to fix the Xiaomi crash 2020-09-02 05:28:49 -07:00
NativePlatformConstantsIOS.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
PerformanceLoggerContext.js Name a bunch of anonymous RN contexts 2020-11-16 13:12:09 -08:00
PixelRatio.js Update PixelRatio 'getFontScale' method description (#28407) 2020-03-30 16:37:18 -07:00
Platform.android.js Suppress errors and switch to new-generics in xplat 2020-11-20 00:50:30 -08:00
Platform.ios.js Suppress errors and switch to new-generics in xplat 2020-11-20 00:50:30 -08:00
PolyfillFunctions.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
RCTLog.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
ReactNativeTestTools.js 0.132 for xplat 2020-08-25 07:33:13 -07:00
SceneTracker.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
binaryToBase64.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
buildStyleInterpolator.js RN: Remove `fbjs/{keyMirror,keyOf}` Dependencies 2020-07-09 11:40:57 -07:00
clamp.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
codegenNativeCommands.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
codegenNativeComponent.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
createPerformanceLogger.js Allow specifying custom timestamps in performance logger spans 2020-10-23 07:14:59 -07:00
deepFreezeAndThrowOnMutationInDev.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
defineLazyObjectProperty.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
deprecatedPropType.js Ignore deprecatedPropType in bridgeless mode 2020-01-29 12:02:48 -08:00
dismissKeyboard.js Migrate TextInputState to take a ref instead of a reactTag 2020-02-19 15:28:59 -08:00
groupByEveryN.js Tidy up license headers [2/n] 2019-10-16 10:06:34 -07:00
infoLog.js Flow type infoLog 2020-03-25 21:50:12 -07:00
logError.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
mapWithSeparator.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
mergeIntoFast.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
registerGeneratedViewConfig.js RN: Refactor `ViewConfig` Inflation 2020-11-19 02:52:00 -08:00
setAndForwardRef.js Manual fixes for xplat/js/react-native-github 2019-08-09 10:11:15 -07:00
stringifySafe.js Migrate large amount of modules to flow strict and strict-local 2020-07-22 09:46:16 -07:00
truncate.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
useColorScheme.js Back out "Upgrade Prettier from 1.17 to 2.0.2." 2020-03-24 21:47:35 -07:00
useWindowDimensions.js Only set dimensions if the window attributes change 2020-01-13 23:26:14 -08:00
verifyComponentAttributeEquivalence.js RN: Cleanup ViewConfig Types 2020-11-18 21:19:12 -08:00
warnOnce.js RN: Remove `fbjs/warning` Dependency 2020-08-25 14:15:35 -07:00