diff --git a/packages/event-repository-sqlite/src/event-repository-sqlite.ts b/packages/event-repository-sqlite/src/event-repository-sqlite.ts index bf7d6d49..ef0dfeaf 100644 --- a/packages/event-repository-sqlite/src/event-repository-sqlite.ts +++ b/packages/event-repository-sqlite/src/event-repository-sqlite.ts @@ -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); }