Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

import x = require("mod") should be converted #141

Open
aminya opened this issue May 2, 2021 · 0 comments
Open

import x = require("mod") should be converted #141

aminya opened this issue May 2, 2021 · 0 comments

Comments

@aminya
Copy link

aminya commented May 2, 2021

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:
parcel-bundler/parcel#6218

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant