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 Sep 18, 2020
1 parent a882b20 commit 8cf4d2d
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 8cf4d2d

Please sign in to comment.