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
It's not the same. I encountered an error (TS2589: Type instantiation is excessively deep and possibly infinite) in my IDE but not when running the tests. Once I added
"allowSyntheticDefaultImports": true
to tsconfig.json, I would see the same error during the test run as well.
Version
29.0.3
Steps to reproduce
Have a
tsconfig.json
with"esModuleInterop": true
but without"allowSyntheticDefaultImports": true
.Expected behavior
Only having
esModuleInterop
enabled behaves exactly the same as having both options enabled, because the docs foresModuleInterop
say:Actual behavior
It's not the same. I encountered an error (TS2589: Type instantiation is excessively deep and possibly infinite) in my IDE but not when running the tests. Once I added
to
tsconfig.json
, I would see the same error during the test run as well.Debug log
Don't have one
Additional context
No response
Environment
The text was updated successfully, but these errors were encountered: