Skip to content

Commit

Permalink
fix: proxy sub module types
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed May 8, 2023
1 parent b32604b commit 3251584
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
1 change: 1 addition & 0 deletions helpers.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./dist/helpers.d";
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"require": "./dist/index.cjs"
},
"./helpers": {
"types": "./dist/helpers.d.ts",
"types": "./helpers.d.ts",
"import": "./dist/helpers.mjs",
"require": "./dist/helpers.cjs"
}
Expand All @@ -22,7 +22,8 @@
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"files": [
"dist"
"dist",
"*.d.ts"
],
"scripts": {
"build": "unbuild",
Expand Down Expand Up @@ -64,4 +65,4 @@
]
},
"packageManager": "[email protected]"
}
}
4 changes: 3 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@
"esModuleInterop": true,
"strict": true
},
"include": ["src"]
"include": [
"src"
]
}

0 comments on commit 3251584

Please sign in to comment.