gajus / gajus/flow-runtime

React types are undefined

Open
#198 2 comments 11 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
797
Forks
49
PR merge metrics
No merged PRs in 30d

Description

I started to get this message to console: "flow-runtime: Could not reference the given type, try t.typeOf(value) instead. (got undefined)".

![1](https://user-images.githubusercontent.com/2767639/36906702-aa3b7208-1e47-11e8-9516-997b62970b26.PNG)

After some search i found out the reason - React.Node is undefined, same for other types described in [flow docs](https://flow.org/en/docs/react/types/).

![2](https://user-images.githubusercontent.com/2767639/36906706-adc842e8-1e47-11e8-9bf9-e39c7374d208.PNG)

Am I do something wrong?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.