Add types to subpath exports in package.json

This commit is contained in:
Evan Bovie 2022-09-15 18:51:29 -07:00
parent 04dc18e742
commit 4dd092a076

@ -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",