diff --git a/packages/arcgis-rest-portal/src/util/search.ts b/packages/arcgis-rest-portal/src/util/search.ts index d15b8daf97..91ab87361b 100644 --- a/packages/arcgis-rest-portal/src/util/search.ts +++ b/packages/arcgis-rest-portal/src/util/search.ts @@ -27,12 +27,12 @@ export interface ISearchResult { * Aggregations will only be present on item searches when [`fieldCounts`](https://developers.arcgis.com/rest/users-groups-and-items/search.htm#GUID-1C625F8A-4A12-45BB-B537-74C82315759A) are requested. */ aggregations?: { - counts: Array<{ + counts: { fieldName: string; fieldValues: Array<{ value: any; count: number; }>; - }>; + }; }; }