Closed patrikholcak closed 8 years ago
Absolutely yes, in v4 we parse the flow config to extract that kind of info, and then go and build our own model of those types. This will result in much better flow compatibility, but it's not close to release yet
Awesome! And thanks for the quick reply. Is there any timeline on v4?
With luck a couple of weeks, free time allowing
Splendid! Thanks! 🍻
I was just curious if there’s any possibility of having support for declarations declared in the
[libs]
field of.flowconfig
.It would make this possible:
where
SyntheticEvent
is global declaration in flow’sreact
module declarations andDispatcher
andAction
are loaded from.flowconfig
libs. This already works withflow check
command.Stumbled upon this when I was setting up a new project with flow. Running
flow check
did not report any errors but when I started a webpack server, I got aDispatcher is not defined
error.