Skip to content

Commit 659a623

Browse files
authored
chore: Add typesVersions to package.json (#6229)
This is an attempt to fix issues with VS Code auto-import, as described here in this issue: https://github.com/microsoft/TypeScript/issues/43034\#issuecomment-820621280 Related #6067
1 parent a6e8591 commit 659a623

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
"module": "./dist/esm5/index.js",
77
"es2015": "./dist/esm/index.js",
88
"types": "./dist/types/index.d.ts",
9+
"typesVersions": {
10+
">=4.0": { "*": [ "dist/types/*" ] }
11+
},
912
"sideEffects": false,
1013
"exports": {
1114
".": {

0 commit comments

Comments
 (0)