Skip to content

Commit

Permalink
Merge pull request #150 from Andarist/fix/ts-module-resolution-node16
Browse files Browse the repository at this point in the history
fix(types): fixed an issue with TypeScript not being able to locate `.d.ts` with `moduleResolution: node16`
  • Loading branch information
alexreardon committed Sep 28, 2022
2 parents 3039cf5 + c5bd9b0 commit b32b297
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -23,7 +23,10 @@
"exports": {
".": {
"import": "./dist/esm/tiny-invariant.js",
"default": "./dist/tiny-invariant.cjs.js"
"default": {
"types": "./dist/tiny-invariant.d.ts",
"default": "./dist/tiny-invariant.cjs.js"
}
}
},
"sideEffects": false,
Expand Down

0 comments on commit b32b297

Please sign in to comment.