Skip to content

Commit

Permalink
fix: timezone type mark date parameter as optional (#2222)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-atwood-infinitusai committed Feb 11, 2023
1 parent 9b4fcfd commit b87aa0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/plugin/timezone.d.ts
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 b87aa0e

Please sign in to comment.