🔎 Search Terms
When importing a library that defines enums and namespaces in an index.d.ts file, even without importing enums or namespaces, the erasableSyntaxOnly throws an error from inside the library index.d.ts file.
This feels like a bug.
🕗 Version & Regression Information
All?
⏯ Playground Link
https://stackblitz.com/edit/vitejs-vite-tj46fvnq?file=package.json
💻 Code
🙁 Actual behavior
Syntax is not allowed.
🙂 Expected behavior
No error.
Additional information about the issue
No response