Flow未检测到Firebase类型

时间:2017-10-03 04:39:47

标签: firebase react-native firebase-authentication flowtype flow-typed

我已为我的项目安装了flow-typed个定义,但在使用某些Firebase功能时出现以下错误。

const credential = firebase.auth.FacebookAuthProvider.credential(token);
                                                                     ^^^^^^^^^^ property `credential`. Property not found in
 45:           const credential = firebase.auth.FacebookAuthProvider.credential(token);
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ statics of FacebookAuthProvider

如何纠正此流量错误?

0 个答案:

没有答案