We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
.diff
1 parent e5a257c commit f0f43d2Copy full SHA for f0f43d2
types/index.d.ts
@@ -65,7 +65,7 @@ declare namespace dayjs {
65
66
format(template?: string): string
67
68
- diff(date: ConfigType, unit: QUnitType | OpUnitType, float?: boolean): number
+ diff(date: ConfigType, unit?: QUnitType | OpUnitType, float?: boolean): number
69
70
valueOf(): number
71
0 commit comments