Skip to content

Commit

Permalink
Add missing FP functions
Browse files Browse the repository at this point in the history
  • Loading branch information
kossnocorp committed Mar 11, 2024
1 parent d8f033c commit bf570ff
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 21 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4538,6 +4538,26 @@
"default": "./fp/quartersToYears.mjs"
}
},
"./fp/roundToNearestHours": {
"require": {
"types": "./fp/roundToNearestHours.d.ts",
"default": "./fp/roundToNearestHours.js"
},
"import": {
"types": "./fp/roundToNearestHours.d.mts",
"default": "./fp/roundToNearestHours.mjs"
}
},
"./fp/roundToNearestHoursWithOptions": {
"require": {
"types": "./fp/roundToNearestHoursWithOptions.d.ts",
"default": "./fp/roundToNearestHoursWithOptions.js"
},
"import": {
"types": "./fp/roundToNearestHoursWithOptions.d.mts",
"default": "./fp/roundToNearestHoursWithOptions.mjs"
}
},
"./fp/roundToNearestMinutes": {
"require": {
"types": "./fp/roundToNearestMinutes.d.ts",
Expand Down Expand Up @@ -6083,4 +6103,4 @@
"typescript": "^5.3.2",
"vitest": "^0.34.6"
}
}
}
2 changes: 2 additions & 0 deletions src/fp/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,8 @@ export * from "./previousTuesday/index.js";
export * from "./previousWednesday/index.js";
export * from "./quartersToMonths/index.js";
export * from "./quartersToYears/index.js";
export * from "./roundToNearestHours/index.js";
export * from "./roundToNearestHoursWithOptions/index.js";
export * from "./roundToNearestMinutes/index.js";
export * from "./roundToNearestMinutesWithOptions/index.js";
export * from "./secondsToHours/index.js";
Expand Down

0 comments on commit bf570ff

Please sign in to comment.