Skip to content

Commit

Permalink
fix: timezone type mark date parameter as optional (iamkun#2222)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrew-atwood-infinitusai authored 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
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 b87aa0e

Please sign in to comment.