Skip to content

Commit d1593c2

Browse files
taeold64johnlee
andauthored
fix: add typesVersions so testing module resolves under classic TypeScript moduleResolution (#770)
Co-authored-by: 64JohnLee <64lamei@gmail.com>
1 parent 5f58e79 commit d1593c2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

package.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,13 @@
1818
"default": "./build/src/testing.js"
1919
}
2020
},
21+
"typesVersions": {
22+
"*": {
23+
"testing": [
24+
"./build/src/testing.d.ts"
25+
]
26+
}
27+
},
2128
"dependencies": {
2229
"@types/express": "^5.0.0",
2330
"body-parser": "^2.2.2",

0 commit comments

Comments
 (0)