Skip to content

Commit

Permalink
fix: Remove private property from moment stub
Browse files Browse the repository at this point in the history
Resolves the `Type 'Moment' is missing the following properties from type 'ICalMomentTimezoneStub': tz, _isAMomentObject` error.

close #411
  • Loading branch information
sebbo2002 committed Jul 28, 2022
1 parent 56cffc7 commit 792adb6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export interface ICalTimezone {
}

export interface ICalMomentStub {
_isAMomentObject: true;
format(format?: string): string;
clone(): ICalMomentStub;
utc(): ICalMomentStub;
Expand Down

0 comments on commit 792adb6

Please sign in to comment.