react-native-macos/Libraries/StyleSheet
ashoat 833b27483b Fix Flow errors at declaration of most major library components
Summary:
The relevant changes in the PR are to Libraries/StyleSheet/EdgeInsetsPropType.js; the rest are just removals of FlowIgnores.

The definition of the relevant types is [here](https://github.com/facebook/flow/blob/master/lib/react.js#L262-L271).

The long and short of it is that for whatever reason, Flow is unable to realize that `ReactPropsChainableTypeChecker` is a subtype of `ReactPropsCheckType` unless we assert it. Once we explicitly hint this to the typechecker, it realizes that `EdgeInsetsPropType` is indeed a valid React PropType, and stops complaining that it isn't.
Closes https://github.com/facebook/react-native/pull/16437

Differential Revision: D6109742

Pulled By: sahrens

fbshipit-source-id: e4e10720b68c912d0372d810409f389b65d7f4b1
2017-10-20 03:50:25 -07:00
..
__tests__ remove disableAutomock from jest tests (new default) @bypass-lint 2017-06-13 15:04:09 -07:00
ColorPropType.js Sync React Native with React 16.0.0-alpha.3 (take 2) 2017-02-27 17:30:30 -08:00
EdgeInsetsPropType.js Fix Flow errors at declaration of most major library components 2017-10-20 03:50:25 -07:00
LayoutPropTypes.js iOS: Implement margin(Start|End) styles for RN 2017-10-18 19:33:31 -07:00
PointPropType.js Update remaining PropTypes references 2017-06-12 16:03:09 -07:00
StyleSheet.js Standard Flow type for style prop 2017-10-04 14:38:02 -07:00
StyleSheetPropType.js Patch up for future React Sync 2017-02-08 14:50:43 -08:00
StyleSheetTypes.js Unrevert D3518381 2016-07-06 12:58:41 -07:00
StyleSheetValidation.js Upgrade Flow to v0.56.0 2017-10-02 21:11:05 -07:00
TransformPropTypes.js update docs for Transforms 2017-07-28 12:49:01 -07:00
flattenStyle.js Flat ReactNative renderer bundle [WIP] 2017-05-26 11:03:06 -07:00
normalizeColor.js Upgrade fbsource/xplat/js to Flow v0.53.0 2017-08-17 18:45:01 -07:00
processColor.js Flowify Process Color 2017-04-26 11:31:56 -07:00
processTransform.js Fix parseFloat mistaken uses of "radix" 2017-05-03 23:00:39 -07:00
setNormalizedColorAlpha.js Replace usages of hexToRgb with setNormalizedColorAlpha 2016-02-09 14:58:34 -08:00