From 0c0e70ab50e04c5d352282f6955d5cea55866f70 Mon Sep 17 00:00:00 2001 From: Nikita Orobenko Date: Thu, 12 Aug 2021 20:50:23 +0300 Subject: [PATCH] fix: changed utcOffset method typo from UTC plugin --- types/plugin/utc.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/plugin/utc.d.ts b/types/plugin/utc.d.ts index 2cdd7525c..544ea4e70 100644 --- a/types/plugin/utc.d.ts +++ b/types/plugin/utc.d.ts @@ -12,7 +12,7 @@ declare module 'dayjs' { isUTC(): boolean - utcOffset(offset: number, keepLocalTime?: boolean): Dayjs + utcOffset(offset: number | string, keepLocalTime?: boolean): Dayjs } export function utc(config?: ConfigType, format?: string, strict?: boolean): Dayjs