Skip to content

Commit 46f33d6

Browse files
authored
fix: ESM TypeScript types resolution (#28)
1 parent 5136650 commit 46f33d6

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
"name": "KagChi"
55
},
66
"description": "A built-in queue plugin for beginner user",
7-
"main": "dist/index.js",
8-
"module": "dist/index.mjs",
7+
"main": "./dist/index.js",
8+
"module": "./dist/index.mjs",
9+
"types": "./dist/index.d.ts",
910
"exports": {
10-
".": {
11-
"import": "./dist/index.mjs",
12-
"require": "./dist/index.js"
13-
}
11+
"types": "./dist/index.d.ts",
12+
"import": "./dist/index.mjs",
13+
"require": "./dist/index.js"
1414
},
1515
"version": "0.3.4",
1616
"license": "GPL-3.0",

0 commit comments

Comments
 (0)