Skip to content

Commit

Permalink
fix: add types field to package exports
Browse files Browse the repository at this point in the history
  • Loading branch information
FRSgit committed Jan 17, 2024
1 parent d45ad99 commit 0848882
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"source": "src/index.ts",
"exports": {
"require": "./dist/index.js",
"default": "./dist/index.modern.mjs"
"default": "./dist/index.modern.mjs",
"types": "./dist/index.d.ts"
},
"main": "./dist/index.js",
"module": "./dist/index.es.js",
Expand Down

0 comments on commit 0848882

Please sign in to comment.