-
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