Skip to content

Commit

Permalink
type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
carkom committed Apr 5, 2024
1 parent 7cb1255 commit e8dbeb3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ function boundedRange(
return [start, end];
}

export function getSpecificRange(offset: number, addNumber: number) {
export function getSpecificRange(offset: number, addNumber: number | null) {
const currentDay = monthUtils.currentDay();
const dateStart = monthUtils.subMonths(currentDay, offset) + '-01';
const dateEnd = monthUtils.getMonthEnd(
Expand Down

0 comments on commit e8dbeb3

Please sign in to comment.