From 123deba8f2f57310e6317750711f4273e34e419b Mon Sep 17 00:00:00 2001 From: Valeriy Sidorenko Date: Thu, 23 Nov 2023 12:32:00 +0100 Subject: [PATCH] fix: rollback types changes --- src/typings/dateTime.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/typings/dateTime.ts b/src/typings/dateTime.ts index c501fa9..9f1c515 100644 --- a/src/typings/dateTime.ts +++ b/src/typings/dateTime.ts @@ -76,9 +76,9 @@ export interface DateTime extends Object { format(formatInput?: FormatInput): string; fromNow(withoutSuffix?: boolean): string; from(formaInput: DateTimeInput, withoutSuffix?: boolean): string; - isSame(input: DateTimeInput, granularity?: StartOfUnit): boolean; - isBefore(input: DateTimeInput): boolean; - isAfter(input: DateTimeInput): boolean; + isSame(input?: DateTimeInput, granularity?: StartOfUnit): boolean; + isBefore(input?: DateTimeInput): boolean; + isAfter(input?: DateTimeInput): boolean; isValid(): boolean; local(keepLocalTime?: boolean): DateTime; locale(): string;