Skip to content

Commit

Permalink
fix: typescript cannot recognize index.d.ts when using es module
Browse files Browse the repository at this point in the history
  • Loading branch information
tam.nguyen committed Aug 8, 2024
1 parent 80242df commit a4dfeb2
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 @@ -11,7 +11,8 @@
"exports": {
".": {
"import": "./lib/index.mjs",
"require": "./lib/index.js"
"require": "./lib/index.js",
"types": "./lib/index.d.ts"
},
"./array": "./array/index.js",
"./proxified": "./proxified/index.js"
Expand Down

0 comments on commit a4dfeb2

Please sign in to comment.