From: BobZombie Date: Fri, 5 Feb 2021 23:21:51 +0000 (+0900) Subject: toISOString function also return null X-Git-Tag: 2.30.0~9^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38ea609a3e4b485943b2dbb7828c6774a20866aa;p=thirdparty%2Fmoment.git toISOString function also return null --- diff --git a/moment.d.ts b/moment.d.ts index 2c5b3cf46..85bbfe049 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;