Skip to content

Commit

Permalink
fix: Update types of .diff API (#617)
Browse files Browse the repository at this point in the history
  • Loading branch information
pochi-sato authored and iamkun committed Jun 18, 2019
1 parent e5a257c commit f0f43d2
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 | OpUnitType, float?: boolean): number
diff(date: ConfigType, unit?: QUnitType | OpUnitType, float?: boolean): number

valueOf(): number

Expand Down

0 comments on commit f0f43d2

Please sign in to comment.