diff --git a/packages/react-native/Libraries/Components/ScrollView/ScrollViewContext.js b/packages/react-native/Libraries/Components/ScrollView/ScrollViewContext.js index 4c194ad5494..e08fda8bc65 100644 --- a/packages/react-native/Libraries/Components/ScrollView/ScrollViewContext.js +++ b/packages/react-native/Libraries/Components/ScrollView/ScrollViewContext.js @@ -18,5 +18,7 @@ if (__DEV__) { } export default ScrollViewContext; +// $FlowFixMe[incompatible-type] frozen objects are readonly export const HORIZONTAL: Value = Object.freeze({horizontal: true}); +// $FlowFixMe[incompatible-type] frozen objects are readonly export const VERTICAL: Value = Object.freeze({horizontal: false});