-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
[Bug]: verbatimModuleSyntax support #14047
Comments
If that is an issue with Otherwise please provide minimal reproduction (without |
Hm, maybe you're right. I did not think of it as that. |
see |
I have the same problem without using ts-jest. In my |
I also have the same problem without using ts-jest. |
I think the issue comes from here. Doing this instead fixes it: compilerOptions: {
module: 'CommonJS',
verbatimModuleSyntax: false,
}, Although that throws on TS 4.x. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Version
v29.5.0
Steps to reproduce
I have upgraded to TS v5. I had to replace
importsNotUsedAsValues: 'error'
withverbatimModuleSyntax: true
Expected behavior
No error.
Actual behavior
for
import { xxx } from './xxx';
Additional context
config
Environment
The text was updated successfully, but these errors were encountered: