You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Importing from an untyped module makes it any and is not safe! Did you mean to add // @flow to the top of Promise?
(untyped-import)
18│ * If you don't need these polyfills, don't use InitializeCore; just directly
19│ * require the modules you need from InitializeCore for setup.
20│ */
21│ polyfillGlobal('Promise', () => require('Promise'));
22│
This error could be solved by changing // @flow strict-local annotation to // @flow in Libraries/Core/polyfillPromise.js file but I guess we would like to fix the error in Promise module.
Reproducible Demo
yarn && yarn run flow
You'll see a Flow type error
Activity
react-native-bot commentedon Nov 4, 2018
Can you run
react-native infoand edit your issue to include these results under the Environment section?If you believe this information is irrelevant to the reported issue, you may write
[skip envinfo]under Environment to let us know.elicwhite commentedon Nov 4, 2018
Trying to fix this here: #22048
Flow strict ScrollViewMock (#22103)
exced commentedon Nov 4, 2018
Sorry for the duplicate
elicwhite commentedon Nov 4, 2018
No worries. This issue caused me to take that report more seriously. Thanks for posting. :-)
Turn Flow strict mode on for DatePickerIOS (#22105)
Turn Flow strict mode on for KeyBoard (#22114)
taking latest (#1)
Flow strict in DatePickerAndroid.android.js, DatePickerAndroid.ios.js (…
Flow strict ScrollViewMock (react#22103)
Turn Flow strict mode on for DatePickerIOS (react#22105)
Turn Flow strict mode on for KeyBoard (react#22114)