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
Trying the approach of "type:module, cjs main".
There are scenarios with TS 5.1 where this will result in incorrect
types being loaded, if `module` and `moduleResolution` do not match.
However, this is a smaller hazard than not being able to use the module
at all. And the only node versions which would potentially be confused
by the "type:module" and a cjs main are long out of support (as in, they
can't even load the code, because they also didn't support private class
members), so that's not a relevant consideration.
If this does work and resolve the issue without any negative
consequences arising for a while, I'll make it the default for tshy, so
that it does not require an additional opt-in configuration.
Fix: #557
0 commit comments