Skip to content

Commit

Permalink
toISOString function also return null
Browse files Browse the repository at this point in the history
  • Loading branch information
BobZombie authored and ichernev committed Dec 24, 2023
1 parent 8d46db8 commit 38ea609
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion moment.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 38ea609

Please sign in to comment.