Skip to content

Commit

Permalink
fix: add property ordinal
Browse files Browse the repository at this point in the history
  • Loading branch information
R3tep committed Jun 7, 2022
1 parent fff66d1 commit 1efc0f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions types/plugin/localeData.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ declare module 'dayjs' {
monthsShort(instance?: Dayjs): MonthNames;
longDateFormat(format: string): string;
meridiem(hour?: number, minute?: number, isLower?: boolean): string;
ordinal(n: number): string
}

interface GlobalLocaleDataReturn {
Expand All @@ -27,6 +28,7 @@ declare module 'dayjs' {
monthsShort(): MonthNames;
longDateFormat(format: string): string;
meridiem(hour?: number, minute?: number, isLower?: boolean): string;
ordinal(n: number): string
}

interface Dayjs {
Expand Down

0 comments on commit 1efc0f5

Please sign in to comment.