Skip to content

Commit

Permalink
chore: fix type error in typescript 4.7 above (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonShiki authored Nov 22, 2023
1 parent dcd2fb6 commit 977c5e6
Showing 1 changed file with 20 additions and 5 deletions.
25 changes: 20 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,28 @@
"exports": {
".": {
"solid": "./dist/source/index.js",
"import": "./dist/esm/index.js",
"import": {
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.js"
},
"browser": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.cjs"
"import": {
"types": "./dist/types/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/types/index.d.ts",
"default": "./dist/cjs/index.cjs"
}
},
"require": {
"default": "./dist/cjs/index.cjs",
"types": "./dist/types/index.d.ts"
},
"require": "./dist/cjs/index.cjs",
"node": "./dist/cjs/index.cjs"
"node": {
"default": "./dist/cjs/index.cjs",
"types": "./dist/types/index.d.ts"
}
}
},
"scripts": {
Expand Down

0 comments on commit 977c5e6

Please sign in to comment.