[0.61.0-rc.0] wrong Flow module name mappers #26233
Labels
Bug
Flow
p: Callstack
Partner: Callstack
Partner
Resolution: Locked
This issue was locked by the bot.
React Native version:
v0.61.0-rc.0
Steps To Reproduce
npx react-native init --version 0.61.0-rc.0
react-native upgrade
Describe what you expected to happen:
Flow should see assets as images, but see strings. This is caused by wrong module name mapper config.
Snack, code example, screenshot, or link to a repository:
Code in
template/_flowconfig
:The fix is:
<PROJECT_ROOT>
-><PROJECT_ROOT>/node_modules/react-native
.I'd send the fix myself, but I'm short on time now, just wanted to make sure it's noticed.
The text was updated successfully, but these errors were encountered: