flowgen icon indicating copy to clipboard operation
flowgen copied to clipboard

`import x = require("mod")` should be converted

Open aminya opened this issue 4 years ago • 0 comments

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

aminya avatar May 02 '21 19:05 aminya