Commit a0c099b
authored
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-nodejs1 parent 764f70d commit a0c099b
1 file changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
12 | 15 | | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
0 commit comments