From f68e4b1a29fc33542f74cde10ec6d9fb045ca37e Mon Sep 17 00:00:00 2001 From: Nikita Orobenko <62012180+NikiO-INO@users.noreply.github.com> Date: Tue, 17 Aug 2021 07:57:48 +0300 Subject: [PATCH] fix: update utcOffset plugin type file (#1604) --- 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