We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
date
1 parent 9b4fcfd commit b87aa0eCopy full SHA for b87aa0e
types/plugin/timezone.d.ts
@@ -10,7 +10,7 @@ declare module 'dayjs' {
10
}
11
12
interface DayjsTimezone {
13
- (date: ConfigType, timezone?: string): Dayjs
+ (date?: ConfigType, timezone?: string): Dayjs
14
(date: ConfigType, format: string, timezone?: string): Dayjs
15
guess(): string
16
setDefault(timezone?: string): void
0 commit comments