【发布时间】:2016-10-30 22:14:46
【问题描述】:
我在尝试向我的一个测试应用程序添加一些流类型检查时遇到了以下错误。
我真的不明白这意味着什么,也不知道如何解决它。
render(): ?React.Element {
错误:
Element:
Application of polymorphic type needs <list of 1 argument>. (Can use `*` for inferrable ones)
如果您需要更多代码(可能是类定义等),请告诉我。
【问题讨论】:
标签: reactjs flowtype static-typing