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
Revert "bring back main/types for ancient outdated node versions"
This reverts commit 7d7b115.
The problem is that anyone who isn't setting `moduleResolution` such
that exports can be parsed, will be trying to load ESM types as if they
were CommonJS, which is the whole reason for removing top level
main/types in the first place.
There seems to be no way to make this work that is both correct for
contemporary tooling, and compatible with node versions that have been
dead for years. We must choose the future.
Fix: #559
0 commit comments