-
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit e12da18
Fix typings resolution when using TypeScript 4.7+ with ESM
TypeScript in ESM mode is trying to use file index.d.mts for types but there is no such file. So we need to provide custom path to typings file. Root `types` field is ignored in ESM mode1 parent ba84464 commit e12da18
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 | - | ||
10 | + | ||
11 | + | ||
11 | 12 |
| |
12 | 13 |
| |
13 | 14 |
| |
|
0 commit comments