Skip to content

Commit

Permalink
Use correct fields type
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshMock committed Apr 23, 2024
1 parent 292edec commit d11241b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specification/_types/aggregations/metric.ts
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,7 @@ export class TopHitsAggregation extends MetricAggregationBase {
* Array of wildcard (*) patterns. The request returns values for field names
* matching these patterns in the hits.fields property of the response.
*/
fields?: (FieldAndFormat | Field)[]
fields?: FieldAndFormat[]
/**
* Starting document offset.
* @server_default 0
Expand Down

0 comments on commit d11241b

Please sign in to comment.