Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Add support for TS 4.7+ node16/next module
in TS 4.7+, TS introduced a node16/next module mode. in this mode, if libraries are using "exports" field on package.json, each "exports" field needs "types" field, or fail to load typings. for more information, see release note: https://devblogs.microsoft.com/typescript/announcing-typescript-4-7/#esm-nodejs
- Loading branch information