Skip to content

Commit

Permalink
fix(sqlite): missing return type on function
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyTseng committed Jan 30, 2024
1 parent 3c7cd81 commit d3c7f42
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ export class EventRepositorySqlite extends EventRepository {
.sort((a, b) => a.length - b.length);
}

private applyLimit(limit = 100) {
private applyLimit(limit = 100): number {
return Math.min(limit, 1000);
}

Expand Down

0 comments on commit d3c7f42

Please sign in to comment.