Skip to content

Commit

Permalink
fix(typescript): add types export for nodenext module resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
panva committed May 2, 2022
1 parent d51955b commit 92fd33d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,12 @@
"license": "MIT",
"author": "Filip Skokan <[email protected]>",
"exports": {
"types": "./types/index.d.ts",
"import": "./lib/index.mjs",
"require": "./lib/index.js"
},
"main": "lib/index.js",
"types": "types/index.d.ts",
"main": "./lib/index.js",
"types": "./types/index.d.ts",
"files": [
"lib",
"types/index.d.ts"
Expand Down

0 comments on commit 92fd33d

Please sign in to comment.