]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
toISOString function also return null
authorBobZombie <bono.uzkit@gmail.com>
Fri, 5 Feb 2021 23:21:51 +0000 (08:21 +0900)
committerIskren Chernev <me@iskren.info>
Sun, 24 Dec 2023 11:39:58 +0000 (13:39 +0200)
moment.d.ts

index 2c5b3cf46bb437818e4143e15ca5007aec2b736d..85bbfe0492eb693d2e98f8e55eb55274d624c778 100644 (file)
@@ -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;