Skip to content

Commit

Permalink
fix: add missing date shorthand D type definition (#1752)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sun79 committed Mar 11, 2022
1 parent dcbf170 commit b045baf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
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 b045baf

Please sign in to comment.