Skip to content

Commit

Permalink
fix: Add the typings to the package exports so typescript with node16…
Browse files Browse the repository at this point in the history
… resolution works

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
  • Loading branch information
susnux committed Jun 12, 2023
1 parent 96e94b1 commit ca981c0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"./gettext": {
"types": "./dist/gettext.d.ts",
"import": "./dist/gettext.mjs",
"require": "./dist/gettext.js"
}
Expand Down

0 comments on commit ca981c0

Please sign in to comment.