From b852111ec5242434d19c06e7593e6c23b21c0e8d Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Sat, 12 Aug 2023 13:57:20 -0500 Subject: [PATCH] Fix getFilters overload order --- src/db/events.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db/events.ts b/src/db/events.ts index 488b5c3..beb057e 100644 --- a/src/db/events.ts +++ b/src/db/events.ts @@ -99,8 +99,8 @@ function getFilterQuery(filter: Filter) { return query; } -async function getFilters(filters: Filter[]): Promise; async function getFilters(filters: [Filter]): Promise[]>; +async function getFilters(filters: Filter[]): Promise; async function getFilters(filters: Filter[]) { const queries = filters .map(getFilterQuery)