Skip to content

Commit

Permalink
Revert "Merge pull request #5827 from BobZombie:feature/fix_d.ts"
Browse files Browse the repository at this point in the history
This reverts commit 651dff4, reversing
changes made to 8d46db8.
  • Loading branch information
ichernev committed Dec 27, 2023
1 parent ddd6809 commit a52ffb2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions moment.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ declare namespace moment {
clone(): Duration;

humanize(argWithSuffix?: boolean, argThresholds?: argThresholdOpts): string;

humanize(argThresholds?: argThresholdOpts): string;

abs(): Duration;
Expand Down Expand Up @@ -587,7 +587,7 @@ declare namespace moment {

toArray(): number[];
toDate(): Date;
toISOString(keepOffset?: boolean): string | void; // null
toISOString(keepOffset?: boolean): string;
inspect(): string;
toJSON(): string;
unix(): number;
Expand Down
4 changes: 2 additions & 2 deletions ts3.1-typings/moment.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ declare namespace moment {
clone(): Duration;

humanize(argWithSuffix?: boolean, argThresholds?: argThresholdOpts): string;

humanize(argThresholds?: argThresholdOpts): string;

abs(): Duration;
Expand Down Expand Up @@ -575,7 +575,7 @@ declare namespace moment {

toArray(): [number, number, number, number, number, number, number];
toDate(): Date;
toISOString(keepOffset?: boolean): string | null;
toISOString(keepOffset?: boolean): string;
inspect(): string;
toJSON(): string;
unix(): number;
Expand Down

0 comments on commit a52ffb2

Please sign in to comment.