Skip to content

Commit

Permalink
chore: Add typesVersions to package.json (#6229)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
benlesh authored Apr 19, 2021
1 parent a6e8591 commit 659a623
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"module": "./dist/esm5/index.js",
"es2015": "./dist/esm/index.js",
"types": "./dist/types/index.d.ts",
"typesVersions": {
">=4.0": { "*": [ "dist/types/*" ] }
},
"sideEffects": false,
"exports": {
".": {
Expand Down

0 comments on commit 659a623

Please sign in to comment.