niieani / typescript-vs-flowtype

Differences between Flowtype and TypeScript -- syntax and usability
MIT License
1.74k stars 78 forks source link

Question: does Flow support dynamic import types #53

Closed styfle closed 5 years ago

styfle commented 5 years ago

TypeScript 2.9 introduced a dynamic import() type feature. View Blog Post

Is there an equivalent in Flow?

niieani commented 5 years ago

There's an undocumented $Exports<'module-name'>, but I had issues with it in the past.

styfle commented 5 years ago

@niieani Should I add a row for this feature?

niieani commented 5 years ago

@styfle sure, that would be great! 👍