Skip to content

Commit

Permalink
fix: Allow null return value for Luxon 3.3's DateTime.toJSON()
Browse files Browse the repository at this point in the history
close #482
close #485
  • Loading branch information
sebbo2002 committed May 2, 2023
1 parent 93aebdf commit bee19a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export interface ICalLuxonDateTimeStub {
toFormat(fmt: string): string;
toJSDate(): Date;
get isValid(): boolean;
toJSON(): string;
toJSON(): string | null;
}

export interface ICalDayJsStub {
Expand Down

0 comments on commit bee19a8

Please sign in to comment.