Skip to content

Commit

Permalink
fix: add missing date shorthand D type definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Sun79 committed Dec 27, 2021
1 parent 4a7b7d0 commit 8fe7d7e
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 @@ -19,7 +19,7 @@ declare namespace dayjs {

export type OptionType = FormatObject | string | string[]

export type UnitTypeShort = 'd' | 'M' | 'y' | 'h' | 'm' | 's' | 'ms'
export type UnitTypeShort = 'd' | 'D' | 'M' | 'y' | 'h' | 'm' | 's' | 'ms'

export type UnitTypeLong = 'millisecond' | 'second' | 'minute' | 'hour' | 'day' | 'month' | 'year' | 'date'

Expand Down

0 comments on commit 8fe7d7e

Please sign in to comment.