反应渲染方法的流程错误

Arn*_*ret 7 static-typing reactjs flowtype

我尝试将一些流类型检查添加到我的一个测试应用程序时遇到了以下错误.

我真的不明白这意味着什么,也不知道如何解决它.

render(): ?React.Element {
Run Code Online (Sandbox Code Playgroud)

错误:

Element: 
Application of polymorphic type needs <list of 1 argument>. (Can use `*` for inferrable ones)
Run Code Online (Sandbox Code Playgroud)

如果您需要更多代码(可能是类定义等),请告诉我.

Yoz*_*ozi 13

现在看来我们应该写Element<any>一下instedElement