Skip to content

Commit

Permalink
Add types to subpath exports in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
phaseOne committed Sep 19, 2022
1 parent 04dc18e commit 4dd092a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions package.json
Expand Up @@ -28,10 +28,12 @@
"exports": {
".": {
"import": "./xlsx.mjs",
"require": "./xlsx.js"
"require": "./xlsx.js",
"types": "./types/index.d.ts"
},
"./xlsx.mjs": {
"import": "./xlsx.mjs"
"import": "./xlsx.mjs",
"types": "./types/index.d.ts"
},
"./dist/xlsx.zahl": {
"import": "./dist/xlsx.zahl.mjs",
Expand Down

0 comments on commit 4dd092a

Please sign in to comment.