From d3fd53fd2d1b21c62374e2efa8f2252847b6dfa8 Mon Sep 17 00:00:00 2001 From: Trevor Nichols Date: Thu, 26 Sep 2024 12:26:17 +1000 Subject: [PATCH] Widen the type of MatchQueryFieldConfig Solves #338 --- src/types/queries.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/queries.ts b/src/types/queries.ts index 708b275..10d2041 100644 --- a/src/types/queries.ts +++ b/src/types/queries.ts @@ -16,9 +16,9 @@ export interface MatchNoneQuery { export interface MatchQueryFieldConfig { match: - | string + | string | number | boolean | { - query: string + query: string | number | boolean analyzer?: string boost?: number