Skip to content

Commit

Permalink
Adds exported types to moduleResolution:node16 (#137)
Browse files Browse the repository at this point in the history
This will let users get type information when compiling ESM projects with node module settings in later versions of tsc and node 18+
  • Loading branch information
dmihalcik-virtru authored Jan 12, 2023
1 parent 422c00e commit fdc80eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
".": {
"module": "./dist/index.modern.js",
"import": "./dist/index.modern.js",
"require": "./dist/index.cjs"
"require": "./dist/index.cjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
Expand Down

0 comments on commit fdc80eb

Please sign in to comment.