Skip to content

Commit

Permalink
fix: Add setDefault typing to timezone.d.ts (#1057)
Browse files Browse the repository at this point in the history
  • Loading branch information
Qrymy authored and iamkun committed Sep 21, 2020
1 parent a78956e commit c0f0886
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions types/plugin/timezone.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ declare module 'dayjs' {
interface DayjsTimezone {
(date: ConfigType, timezone: string): Dayjs
guess(): string
setDefault(timezone?: string): void
}

const tz: DayjsTimezone
Expand Down

0 comments on commit c0f0886

Please sign in to comment.