Skip to content

Commit

Permalink
timezone: Mark date parameter as optional
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-atwood-infinitusai authored Feb 1, 2023
1 parent e70bee7 commit 7b5b4c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/plugin/timezone.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ declare module 'dayjs' {
}

interface DayjsTimezone {
(date: ConfigType, timezone?: string): Dayjs
(date?: ConfigType, timezone?: string): Dayjs
(date: ConfigType, format: string, timezone?: string): Dayjs
guess(): string
setDefault(timezone?: string): void
Expand Down

0 comments on commit 7b5b4c7

Please sign in to comment.