[英]How to use JavaScript Flow Version Language with WebStorm and React JSX?
I couldn't setup Flow in WebStorm using react-native. 我无法使用react-native在WebStorm中设置Flow。
I already tried to add libraries for types: 我已经尝试为类型添加库:
Also, I tried to install flow-typed. 另外,我尝试安装Flow-typed。 But still, the IDE cannot resolve symbols when I choose Flow as JS language.
但是,当我选择Flow作为JS语言时,IDE无法解析符号。
Also tried to invalidate cache and restart the WebStorm. 还尝试使缓存无效并重新启动WebStorm。
Flow package or executable
Flow package or executable
Invalidate cache and restart again. 使缓存无效,然后再次重新启动。
Selected <myproject>/node_modules/flow-bin
on Flow package or executable
again. 在
Flow package or executable
再次选择<myproject>/node_modules/flow-bin
。
Erased and re-typed @flow
annotation. 删除并重新键入
@flow
批注。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.