-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Open
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug
Description
🔎 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
Metadata
Metadata
Assignees
Labels
Working as IntendedThe behavior described is the intended behavior; this is not a bugThe behavior described is the intended behavior; this is not a bug