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