Skip to content

Commit

Permalink
Fix types field to be compatible with nodenext module resolution
Browse files Browse the repository at this point in the history
See microsoft/TypeScript#46770 (comment) for detail, in `nodenext` module resolution it requires a full filename including extension
  • Loading branch information
otakustay authored Dec 25, 2021
1 parent 000ccd1 commit de0ab59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"email": "[email protected]",
"url": "https://sindresorhus.com"
},
"types": "index.d.ts",
"engines": {
"node": ">=6"
},
Expand Down

0 comments on commit de0ab59

Please sign in to comment.