krizzdewizz / vscode-refactorix

TypeScript refactoring tools for Visual Studio Code
Apache License 2.0
19 stars 6 forks source link

Add Semicolons adds bad ones on dynamic imports #17

Open NotCallMeHacker opened 10 months ago

NotCallMeHacker commented 10 months ago

running Add semicolons on the following text:

    const foo = await import("bar");

results in:

    const foo = await; import("bar");

which is an illegal statement and will result in errors