Skip to content

Commit

Permalink
fix: Update timezone plugin type definition (#1221)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbudin committed Nov 16, 2020
1 parent 971b3d4 commit 34cfb92
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 @@ -6,6 +6,7 @@ export = plugin
declare module 'dayjs' {
interface Dayjs {
tz(timezone?: string, keepLocalTime?: boolean): Dayjs
offsetName(type?: 'short' | 'long'): string | undefined
}

interface DayjsTimezone {
Expand Down

0 comments on commit 34cfb92

Please sign in to comment.