Skip to content

Commit

Permalink
Add types to package.json exports for TS 4.7+
Browse files Browse the repository at this point in the history
  • Loading branch information
axtgr committed Feb 28, 2024
1 parent 4daf425 commit be87728
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 @@ -20,7 +20,8 @@
"types": "build/index.d.ts",
"exports": {
"import": "./build/index.es.mjs",
"require": "./build/index.js"
"require": "./build/index.js",
"types": "./build/index.d.ts"
},
"files": [
"build"
Expand Down

0 comments on commit be87728

Please sign in to comment.