Skip to content

Commit

Permalink
fix: ESM TypeScript types resolution (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hazmi35 authored Oct 1, 2022
1 parent 2b16ad6 commit bab60bd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@
},
"version": "0.2.2",
"license": "GPL-3.0",
"main": "dist/index.js",
"module": "dist/index.mjs",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"repository": {
"url": "https://github.com/kirishima-ship/rest"
Expand Down

0 comments on commit bab60bd

Please sign in to comment.