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: microsoft/TypeScript#43034

Related #6067
  • Loading branch information
benlesh committed 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
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.