Skip to content

Commit

Permalink
Refer to types in package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
devrnt authored and kossnocorp committed Dec 22, 2023
1 parent e6d052c commit 0822308
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,20 @@
},
"main": "./index.js",
"module": "./index.mjs",
"types": "./index.d.ts",
"exports": {
".": {
"types": "./index.d.ts",
"import": "./index.mjs",
"require": "./index.js"
},
"./date": {
"types": "./date/index.d.ts",
"import": "./date/index.mjs",
"require": "./date/index.js"
},
"./date/mini": {
"types": "./date/mini.d.ts",
"import": "./date/mini.mjs",
"require": "./date/mini.js"
}
Expand Down

0 comments on commit 0822308

Please sign in to comment.