mirror of
https://github.com/oxc-project/oxc.git
synced 2026-09-14 19:36:11 +08:00
c205b0df51
## Summary - Removes `ThisExpression` variant from `TSModuleReference` since `import x = this` is invalid TypeScript (error TS1359) - Adds parser error when `this` is used in import equals declaration - Updates codegen, transformer, and linter rules to handle the new enum structure Closes #16841 🤖 Generated with [Claude Code](https://claude.com/claude-code)
3 lines
69 B
TypeScript
3 lines
69 B
TypeScript
// `this` is not valid in import equals declaration
|
|
import x = this;
|