File tree Expand file tree Collapse file tree 6 files changed +36
-1
lines changed
roundToNearestHoursWithOptions Expand file tree Collapse file tree 6 files changed +36
-1
lines changed Original file line number Diff line number Diff line change 19481948 "default" : " ./quartersToYears.mjs"
19491949 }
19501950 },
1951+ "./roundToNearestHours" : {
1952+ "require" : {
1953+ "types" : " ./roundToNearestHours.d.ts" ,
1954+ "default" : " ./roundToNearestHours.js"
1955+ },
1956+ "import" : {
1957+ "types" : " ./roundToNearestHours.d.mts" ,
1958+ "default" : " ./roundToNearestHours.mjs"
1959+ }
1960+ },
19511961 "./roundToNearestMinutes" : {
19521962 "require" : {
19531963 "types" : " ./roundToNearestMinutes.d.ts" ,
50585068 "default" : " ./fp/weeksToDays.mjs"
50595069 }
50605070 },
5071+ "./fp/yearsToDays" : {
5072+ "require" : {
5073+ "types" : " ./fp/yearsToDays.d.ts" ,
5074+ "default" : " ./fp/yearsToDays.js"
5075+ },
5076+ "import" : {
5077+ "types" : " ./fp/yearsToDays.d.mts" ,
5078+ "default" : " ./fp/yearsToDays.mjs"
5079+ }
5080+ },
50615081 "./fp/yearsToMonths" : {
50625082 "require" : {
50635083 "types" : " ./fp/yearsToMonths.d.ts" ,
60536073 "typescript" : " ^5.3.2" ,
60546074 "vitest" : " ^0.34.6"
60556075 }
6056- }
6076+ }
Original file line number Diff line number Diff line change @@ -257,6 +257,7 @@ export * from "./subYears/index.js";
257257export * from "./toDate/index.js" ;
258258export * from "./transpose/index.js" ;
259259export * from "./weeksToDays/index.js" ;
260+ export * from "./yearsToDays/index.js" ;
260261export * from "./yearsToMonths/index.js" ;
261262export * from "./yearsToQuarters/index.js" ;
262263export type * from "../types.js" ;
Original file line number Diff line number Diff line change 1+ // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
2+
3+ import { roundToNearestHours as fn } from "../../roundToNearestHours/index.js" ;
4+ import { convertToFP } from "../_lib/convertToFP/index.js" ;
5+
6+ export const roundToNearestHours = convertToFP ( fn , 1 ) ;
Original file line number Diff line number Diff line change 1+ // This file is generated automatically by `scripts/build/fp.ts`. Please, don't change it.
2+
3+ import { roundToNearestHours as fn } from "../../roundToNearestHours/index.js" ;
4+ import { convertToFP } from "../_lib/convertToFP/index.js" ;
5+
6+ export const roundToNearestHoursWithOptions = convertToFP ( fn , 2 ) ;
Original file line number Diff line number Diff line change @@ -189,6 +189,7 @@ export * from "./previousTuesday/index.js";
189189export * from "./previousWednesday/index.js" ;
190190export * from "./quartersToMonths/index.js" ;
191191export * from "./quartersToYears/index.js" ;
192+ export * from "./roundToNearestHours/index.js" ;
192193export * from "./roundToNearestMinutes/index.js" ;
193194export * from "./secondsToHours/index.js" ;
194195export * from "./secondsToMilliseconds/index.js" ;
Original file line number Diff line number Diff line change 191191 " ./src/previousWednesday/index.ts" ,
192192 " ./src/quartersToMonths/index.ts" ,
193193 " ./src/quartersToYears/index.ts" ,
194+ " ./src/roundToNearestHours/index.ts" ,
194195 " ./src/roundToNearestMinutes/index.ts" ,
195196 " ./src/secondsToHours/index.ts" ,
196197 " ./src/secondsToMilliseconds/index.ts" ,
You can’t perform that action at this time.
0 commit comments