Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions types/plugin/quarterOfYear.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ declare module 'dayjs' {

quarter(quarter: number): Dayjs

add(value: number, unit: QUnitType): Dayjs
add(value: number, unit: QUnitType | OpUnitType): Dayjs

subtract(value: number, unit: QUnitType): Dayjs
subtract(value: number, unit: QUnitType | OpUnitType): Dayjs

startOf(unit: QUnitType | OpUnitType): Dayjs

endOf(unit: QUnitType | OpUnitType): Dayjs

isSame(date?: ConfigType, unit?: QUnitType): boolean
isSame(date?: ConfigType, unit?: QUnitType | OpUnitType): boolean

isBefore(date?: ConfigType, unit?: QUnitType): boolean
isBefore(date?: ConfigType, unit?: QUnitType | OpUnitType): boolean

isAfter(date?: ConfigType, unit?: QUnitType): boolean
isAfter(date?: ConfigType, unit?: QUnitType | OpUnitType): boolean
}
}