You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Modify the tsconfig.json file by setting module to node16 or nodenext and don't specify the esModuleInterop option. As of me, i'm using the following configuration:
Should not show warning about a suggestion to set the esModuleInterop to true. As seen here, the esModuleInterop option defaults to true if module is node16 or nodenext, so not specifying esModuleInterop on node16 should behave the same as setting esModuleInterop to true.
Actual behavior
Got this warning, everything works fine though:
ts-jest[config] (WARN) message TS151001: If you have issues related to imports, you should consider setting `esModuleInterop` to `true` in your TypeScript configuration file (usually `tsconfig.json`). See https://blogs.msdn.microsoft.com/typescript/2018/01/31/announcing-typescript-2-7/#easier-ecmascript-module-interoperability for more information.
Version
29.1.2
Steps to reproduce
Modify the
tsconfig.json
file by settingmodule
tonode16
ornodenext
and don't specify theesModuleInterop
option. As of me, i'm using the following configuration:Expected behavior
Should not show warning about a suggestion to set the
esModuleInterop
to true. As seen here, theesModuleInterop
option defaults to true ifmodule
isnode16
ornodenext
, so not specifyingesModuleInterop
on node16 should behave the same as settingesModuleInterop
to true.Actual behavior
Got this warning, everything works fine though:
Debug log
...
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: