We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56050c2 commit 4523275Copy full SHA for 4523275
index.d.ts
@@ -57,7 +57,7 @@ declare namespace dayjs {
57
58
format(template?: string): string
59
60
- diff(dayjs: Dayjs, unit: OpUnitType, float?: boolean): number
+ diff(dayjs: ConfigType, unit: OpUnitType, float?: boolean): number
61
62
valueOf(): number
63
@@ -77,11 +77,11 @@ declare namespace dayjs {
77
78
toString(): string
79
80
- isBefore(dayjs: Dayjs, unit?: OpUnitType): boolean
+ isBefore(dayjs: ConfigType, unit?: OpUnitType): boolean
81
82
- isSame(dayjs: Dayjs, unit?: OpUnitType): boolean
+ isSame(dayjs: ConfigType, unit?: OpUnitType): boolean
83
84
- isAfter(dayjs: Dayjs, unit?: OpUnitType): boolean
+ isAfter(dayjs: ConfigType, unit?: OpUnitType): boolean
85
86
isLeapYear(): boolean
87
0 commit comments