Skip to content

Commit 1496e55

Browse files
committed
fix: broken types with ./components export
1 parent 047ffea commit 1496e55

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,13 @@
3838
},
3939
"./components": {
4040
"source": "./src/components/index.cts",
41-
"types": "./src/components/index.d.ts",
4241
"import": {
43-
"default": "./dist/module/components/index.cjs"
42+
"default": "./dist/module/components/index.cjs",
43+
"types": "./dist/typescript/module/src/components/index.d.ts"
4444
},
4545
"require": {
46-
"default": "./dist/commonjs/components/index.cjs"
46+
"default": "./dist/commonjs/components/index.cjs",
47+
"types": "./dist/typescript/commonjs/src/components/index.d.ts"
4748
}
4849
},
4950
"./components/*": {

0 commit comments

Comments
 (0)