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
{{ message }}
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.
I'm writing an app with CommonJS modules and Flowtype. When setting sourceType to script it becomes impossible to use the Flow import type syntax. As far as I can tell Flow only has ES2015 style syntax for type imports.
I'm writing an app with CommonJS modules and Flowtype. When setting sourceType to
script
it becomes impossible to use the Flowimport type
syntax. As far as I can tell Flow only has ES2015 style syntax for type imports.Here's my eslint configuration:
Code like this triggers parse errors:
Example error:
Is there a way to use CommonJS modules and the
import type
syntax together withbabel-eslint
?The text was updated successfully, but these errors were encountered: