Skip to content

Commit

Permalink
fix: Adjust exports to resolve issues when used with Jest tests
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed Feb 22, 2024
1 parent 185fbb9 commit 08fe3d0
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"exports": {
".": "./dist/index.d.ts",
"./ocs": "./dist/ocs.d.ts"
".": {
"types": "./dist/index.d.ts"
},
"./ocs": {
"types": "./dist/ocs.d.ts"
}
},
"scripts": {
"build": "tsc",
Expand Down

0 comments on commit 08fe3d0

Please sign in to comment.