🔎 Search Terms
- Convert named import to namespace import
🕗 Version & Regression Information
5.8.0-dev.20241114
not a regression
⏯ Playground Link
No response
💻 Code
For code such as:
import { abc } from "./a.js";
console.log(abc);
- Run convert to namespace import
🙁 Actual behavior
The new namespace name is aJs:
import * as aJs from "./a.js";
console.log(aJs.abc);
🙂 Expected behavior
It would be better to drop the file extension as part of the name:
import * as a from "./a.js";
console.log(a.abc);
Additional information about the issue
No response
🔎 Search Terms
🕗 Version & Regression Information
5.8.0-dev.20241114
not a regression
⏯ Playground Link
No response
💻 Code
For code such as:
🙁 Actual behavior
The new namespace name is
aJs:🙂 Expected behavior
It would be better to drop the file extension as part of the name:
Additional information about the issue
No response