Skip to content

Commit bab60bd

Browse files
authored
fix: ESM TypeScript types resolution (#46)
1 parent 2b16ad6 commit bab60bd

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Diff for: package.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@
55
},
66
"version": "0.2.2",
77
"license": "GPL-3.0",
8-
"main": "dist/index.js",
9-
"module": "dist/index.mjs",
8+
"main": "./dist/index.js",
9+
"module": "./dist/index.mjs",
10+
"types": "./dist/index.d.ts",
1011
"exports": {
11-
".": {
12-
"import": "./dist/index.mjs",
13-
"require": "./dist/index.js"
14-
}
12+
"types": "./dist/index.d.ts",
13+
"import": "./dist/index.mjs",
14+
"require": "./dist/index.js"
1515
},
1616
"repository": {
1717
"url": "https://github.com/kirishima-ship/rest"

0 commit comments

Comments
 (0)