Skip to content

Commit de0ab59

Browse files
authored
Fix types field to be compatible with nodenext module resolution
See microsoft/TypeScript#46770 (comment) for detail, in `nodenext` module resolution it requires a full filename including extension
1 parent 000ccd1 commit de0ab59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"email": "sindresorhus@gmail.com",
1111
"url": "https://sindresorhus.com"
1212
},
13+
"types": "index.d.ts",
1314
"engines": {
1415
"node": ">=6"
1516
},

0 commit comments

Comments
 (0)