Skip to content

Commit

Permalink
Automated linting/prettier update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Jan 6, 2025
1 parent 4a724ce commit a52d65f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ const validateDayType = (hours: any): hours is DayType => {
if (hours.openIntervals.length === 0) {
return true;
}
return hours.openIntervals.every((interval : any) => {
typeof interval === "object" && "start" in interval && "end" in interval
})
return hours.openIntervals.every((interval: any) => {
typeof interval === "object" && "start" in interval && "end" in interval;
});
}
return false;
};
Expand Down

0 comments on commit a52d65f

Please sign in to comment.