Skip to content

Commit

Permalink
Allow open ranges in Typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorr committed Mar 5, 2020
1 parent 498b2c3 commit 8fcbd7d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/moment-range.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export class DateRange {
start: Moment;
end: Moment;

constructor(start: Date | Moment, end: Date | Moment);
constructor(start: Date | Moment | null, end?: Date | Moment | null);
constructor(range: [Date | Moment, Date | Moment]);
constructor(range: string);
constructor();
Expand Down

0 comments on commit 8fcbd7d

Please sign in to comment.