Skip to content

Commit

Permalink
fix: Fix .diff type definition error (#565)
Browse files Browse the repository at this point in the history
fix #561
  • Loading branch information
iamkun authored Apr 12, 2019
1 parent 5073cbd commit c4921ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ declare namespace dayjs {

format(template?: string): string

diff(date: ConfigType, unit: QUnitType, float?: boolean): number
diff(date: ConfigType, unit: QUnitType | OpUnitType, float?: boolean): number

valueOf(): number

Expand Down

0 comments on commit c4921ae

Please sign in to comment.