mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Set explicit types in I18nManager exports
Summary: Changelog: [Internal] - Added explicit types in I18nManager exports Reviewed By: elicwhite Differential Revision: D68214193 fbshipit-source-id: 960ef7b9c0171aed983f4db620bb895ccbff6cd2
This commit is contained in:
committed by
Facebook GitHub Bot
parent
595d8c7fa1
commit
9a29264ffb
@@ -56,6 +56,7 @@ module.exports = {
|
||||
NativeI18nManager.swapLeftAndRightInRTL(flipStyles);
|
||||
},
|
||||
|
||||
isRTL: i18nConstants.isRTL,
|
||||
doLeftAndRightSwapInRTL: i18nConstants.doLeftAndRightSwapInRTL,
|
||||
isRTL: i18nConstants.isRTL as I18nManagerConstants['isRTL'],
|
||||
doLeftAndRightSwapInRTL:
|
||||
i18nConstants.doLeftAndRightSwapInRTL as I18nManagerConstants['doLeftAndRightSwapInRTL'],
|
||||
};
|
||||
|
||||
@@ -7489,8 +7489,8 @@ exports[`public API should not change unintentionally Libraries/ReactNative/I18n
|
||||
allowRTL: (shouldAllow: boolean) => void,
|
||||
forceRTL: (shouldForce: boolean) => void,
|
||||
swapLeftAndRightInRTL: (flipStyles: boolean) => void,
|
||||
isRTL: $FlowFixMe,
|
||||
doLeftAndRightSwapInRTL: $FlowFixMe,
|
||||
isRTL: I18nManagerConstants[\\"isRTL\\"],
|
||||
doLeftAndRightSwapInRTL: I18nManagerConstants[\\"doLeftAndRightSwapInRTL\\"],
|
||||
};
|
||||
"
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user