Skip to content

Commit

Permalink
fix: add type definitions and module exports
Browse files Browse the repository at this point in the history
  • Loading branch information
MinhOmega committed Sep 8, 2024
1 parent af56aca commit 1bc2055
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 @@ -5,9 +5,10 @@
"source": "src/index.ts",
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"types": "src/index.d.ts",
"types": "./src/index.d.ts",
"exports": {
".": {
"types": "./src/index.d.ts",
"import": "./lib/module/index.js",
"require": "./lib/commonjs/index.js"
}
Expand Down

0 comments on commit 1bc2055

Please sign in to comment.