I couldn't setup Flow in WebStorm using react-native.
I already tried to add libraries for types:
Also, I tried to install flow-typed. But still, the IDE cannot resolve symbols when I choose Flow as JS language.
Also tried to invalidate cache and restart the WebStorm.
Flow package or executable
Invalidate cache and restart again.
Selected <myproject>/node_modules/flow-bin on Flow package or executable again.
<myproject>/node_modules/flow-bin
Erased and re-typed @flow annotation.
@flow
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.