Skip to content

Commit

Permalink
Add missing TS definition
Browse files Browse the repository at this point in the history
  • Loading branch information
kossnocorp committed Jun 28, 2022
1 parent 12b4c18 commit 2b3c8c6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
16 changes: 13 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@date-fns/utc",
"version": "0.5.3",
"version": "0.5.5",
"description": "UTC date utils",
"scripts": {
"test": "env TZ=Asia/Kolkata vitest",
Expand All @@ -9,8 +9,18 @@
"main": "./index.js",
"module": "./index.mjs",
"exports": {
"import": "./index.mjs",
"require": "./index.js"
".": {
"import": "./index.mjs",
"require": "./index.js"
},
"./date": {
"import": "./date/index.mjs",
"require": "./date/index.js"
},
"./date/mini": {
"import": "./date/mini.mjs",
"require": "./date/mini.js"
}
},
"sideEffects": false,
"repository": {
Expand Down
2 changes: 2 additions & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export { UTCDate } from "./date";
export { UTCDateMini } from "./date/mini";

0 comments on commit 2b3c8c6

Please sign in to comment.