Skip to content

Commit

Permalink
Merge pull request #60 from binodnepali/fix-ts-error
Browse files Browse the repository at this point in the history
fix: add types package.json exports
  • Loading branch information
aj3sh authored Sep 13, 2023
2 parents 70ee526 + e974556 commit 86b68ca
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,13 @@
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"./dateConverter": {
"require": "./dist/dateConverter.js",
"import": "./dist/dateConverter.mjs"
"import": "./dist/dateConverter.mjs",
"types": "./dist/dateConverter/index.d.ts"
}
},
"files": [
Expand Down

0 comments on commit 86b68ca

Please sign in to comment.