From 38ea609a3e4b485943b2dbb7828c6774a20866aa Mon Sep 17 00:00:00 2001 From: BobZombie Date: Sat, 6 Feb 2021 08:21:51 +0900 Subject: [PATCH] toISOString function also return null --- moment.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/moment.d.ts b/moment.d.ts index 2c5b3cf46b..85bbfe0492 100644 --- a/moment.d.ts +++ b/moment.d.ts @@ -587,7 +587,7 @@ declare namespace moment { toArray(): number[]; toDate(): Date; - toISOString(keepOffset?: boolean): string; + toISOString(keepOffset?: boolean): string | null; inspect(): string; toJSON(): string; unix(): number;