Skip to content

Commit

Permalink
fix type issue
Browse files Browse the repository at this point in the history
  • Loading branch information
alexleventer committed Sep 27, 2020
1 parent 826fffe commit 6552efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/dateUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export const datesToDue = (date: string) => {
return eventDate.diff(today, 'days');
};

export const byDays = (a: object, b: object) => {
export const byDays = (a: any, b: any) => {
switch(true) {
case a.days < b.days:
return -1;
Expand Down

0 comments on commit 6552efe

Please sign in to comment.