Skip to content

Commit

Permalink
fix: type exports for module NodeNext, Node16 (#979)
Browse files Browse the repository at this point in the history
Co-authored-by: Shinigami <chrissi92@hotmail.de>
  • Loading branch information
andrew-w-ross and Shinigami92 committed May 23, 2022
1 parent e51a80d commit 73db3a7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"license": "MIT",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.mjs",
"types": "index.d.ts",
"types": "dist/types/index.d.ts",
"typesVersions": {
">=4.0": {
"*": [
Expand All @@ -33,10 +33,12 @@
},
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"require": "./dist/cjs/index.js",
"import": "./dist/esm/index.mjs"
},
"./locale/*": {
"types": "./dist/types/locale/*.d.ts",
"require": "./dist/cjs/locale/*.js",
"import": "./dist/esm/locale/*.mjs"
},
Expand Down

0 comments on commit 73db3a7

Please sign in to comment.