8000 Add `types` to subpath exports in `package.json` · SheetJS/sheetjs@4dd092a · GitHub
[go: up one dir, main page]

Skip to content

Commit 4dd092a

Browse files
committed
Add types to subpath exports in package.json
1 parent 04dc18e commit 4dd092a

File tree

Collapse file tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,10 +28,12 @@
2828
"exports": {
2929
".": {
3030
"import": "./xlsx.mjs",
31-
"require": "./xlsx.js"
31+
"require": "./xlsx.js",
32+
"types": "./types/index.d.ts"
3233
},
3334
"./xlsx.mjs": {
34-
"import": "./xlsx.mjs"
35+
"import": "./xlsx.mjs",
36+
"types": "./types/index.d.ts"
3537
},
3638
"./dist/xlsx.zahl": {
3739
"import": "./dist/xlsx.zahl.mjs",

0 commit comments

Comments
 (0)
0