Skip to content

Commit

Permalink
Merge pull request #203 from SebDuf/master
Browse files Browse the repository at this point in the history
fix: Add types to exports object to allow TypeScript 4.7 + Node 16 to properly resolve typings
  • Loading branch information
mindhells authored Jun 28, 2022
2 parents f857c9d + a0eb25d commit 6e6b45a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"module": "lib/esm/index.js",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./lib/esm/index.js",
"require": "./index.js"
},
Expand Down

0 comments on commit 6e6b45a

Please sign in to comment.