- repro for a flow issue where
import
ing from a lib outside of a module declaration results inReact.Component
resolving toany
. - If you run
flow
with theimport
outside the declaration, you should get an unused suppression error, which is wrong. - Moving the
import
inside the declaration would make<X />
invalid, sinceX
has a required prop.
stevenla/flow-module-import-test
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
flow import error
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published