I ran into the error below while trying to add some flow type checking to one of my test apps.
I don't really understand what it means nor how to fix it.
render(): ?React.Element {
error:
Element:
Application of polymorphic type needs <list of 1 argument>. (Can use `*` for inferrable ones)
Let me know if you need more code (maybe class definition etc).
It seems now we should to write Element<any>
insted just Element
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With