flowgen
flowgen copied to clipboard
`import x = require("mod")` should be converted
I tried to generate semver definitions, but import x = require("mod") were not handled correctly. I had to modify convert the imports manually:
import x = require("mod")
to
import x from "mod"
Here is the semver lib I generated: https://github.com/aminya/parcel/tree/semver/flow-libs/semver
Related to: https://github.com/parcel-bundler/parcel/pull/6218