Flow typedef doesn't work?
ajhyndman opened this issue · 3 comments
ajhyndman commented
https://github.com/facebookincubator/idx/blob/master/packages/idx/src/idx.js.flow#L12
Is there a version of flow which comes with this type baked in? For open-source users, it'd be nice if the distributed typedef was useful.
zertosh commented
$Facebookism$Idx
is already baked into Flow. The idx.js.flow
is just a convenience wrapper around it so that you automatically get it when you do import idx from 'idx';
.
yungsters commented
Versions of Flow starting with the one that was release when idx
was initially made available to the public should all support $Facebookism$Idx
.
ajhyndman commented
It is built into flow? Thanks for the explanation.