Skip to content

Commit

Permalink
Moved the new typing to TypeScript 3.1 + only.
Browse files Browse the repository at this point in the history
  • Loading branch information
mongoose700 committed Oct 29, 2020
1 parent 352dd45 commit 765638c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion moment.d.ts
Expand Up @@ -585,7 +585,7 @@ declare namespace moment {

diff(b: MomentInput, unitOfTime?: unitOfTime.Diff, precise?: boolean): number;

toArray(): [number, number, number, number, number, number, number];
toArray(): number[];
toDate(): Date;
toISOString(keepOffset?: boolean): string;
inspect(): string;
Expand Down
2 changes: 1 addition & 1 deletion ts3.1-typings/moment.d.ts
Expand Up @@ -573,7 +573,7 @@ declare namespace moment {

diff(b: MomentInput, unitOfTime?: unitOfTime.Diff, precise?: boolean): number;

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

0 comments on commit 765638c

Please sign in to comment.