简体   繁体   中英

How to use JavaScript Flow Version Language with WebStorm and React JSX?

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.

  1. I cleaned Flow package or executable

在此处输入图片说明

  1. Invalidate cache and restart again.

  2. Selected <myproject>/node_modules/flow-bin on Flow package or executable again.

  3. Erased and re-typed @flow annotation.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM