flow-runtime
flow-runtime copied to clipboard
React types are undefined
I started to get this message to console: "flow-runtime: Could not reference the given type, try t.typeOf(value) instead. (got undefined)".
After some search i found out the reason - React.Node is undefined, same for other types described in flow docs.
Am I do something wrong?
Same for me :smile_cat:
I switched to https://www.npmjs.com/package/babel-plugin-flow-react-proptypes and it works :sake: