Skip to content

stevenla/flow-module-import-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

flow-module-import-test

see facebook/flow#6414

  • repro for a flow issue where importing from a lib outside of a module declaration results in React.Component resolving to any.
  • If you run flow with the import outside the declaration, you should get an unused suppression error, which is wrong.
  • Moving the import inside the declaration would make <X /> invalid, since X has a required prop.

About

flow import error

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published