-
Notifications
You must be signed in to change notification settings - Fork 12.8k
should allow use export =
in .cts
when module is esnext
#51018
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
What code is supposed to be generated in this case? |
https://github.com/bluelovers/ws-glob/blob/master/packages/glob-tree-list/dist/index.esm.mjs - this is just a |
@RyanCavanaugh I guess they’re expecting the |
This was implemented as a new feature in 5.6 (#58825) |
Bug Report
🔎 Search Terms
🕗 Version & Regression Information
⏯ Playground Link
Playground link with relevant code
💻 Code
index.cts
index.ts
🙁 Actual behavior
show error
or use
@ts-ignore
avoid it🙂 Expected behavior
no need
@ts-ignore
The text was updated successfully, but these errors were encountered: