Skip to content

Commit

Permalink
Widen the type of MatchQueryFieldConfig
Browse files Browse the repository at this point in the history
Solves #338
  • Loading branch information
ocdi authored Sep 26, 2024
1 parent 8398c1d commit d3fd53f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d3fd53f

Please sign in to comment.