You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was wondering what it would take to support the import type { MyType } from './myFile' syntax used by Flow. I have a couple of files that show up as warnings because they're only used for type rather than value exports.
If you could point me in the right direction then I'd be happy to attempt a PR.
Many thanks!
The text was updated successfully, but these errors were encountered:
That'd be awesome, but this plugin relies on webpack to parse the dependencies of a file. Unless webpack supports FlowType natively, we won't be able to parse the files without introducing 3rd parser like babylon.
Ah... So Webpack never actually sees the Flow-only files, because they're only parsed by Flow itself (and then in my case the annotations are removed by Babel)? That's annoying.
Hello,
I was wondering what it would take to support the
import type { MyType } from './myFile'
syntax used by Flow. I have a couple of files that show up as warnings because they're only used for type rather than value exports.If you could point me in the right direction then I'd be happy to attempt a PR.
Many thanks!
The text was updated successfully, but these errors were encountered: