Convert to ESM uses template strings instead of string literals #59304
Labels
Bug
A bug in TypeScript
Domain: Refactorings
e.g. extract to constant or function, rename symbol
Effort: Casual
Good issue if you're already used to contributing to the codebase. Harder than "good first issue".
Help Wanted
You can do this
Milestone
when you convert a require
const swc = require(`@swc/core`)
to esm with the quickfix, its gonna result in a syntax error because you can't have backticks in import statementsDoes this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
const swc = require(`@swc/core`)
The text was updated successfully, but these errors were encountered: