Skip to content

Commit

Permalink
refact: changed deprecation type
Browse files Browse the repository at this point in the history
  • Loading branch information
nlatipov committed May 17, 2022
1 parent e96d35d commit 9c13c0f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/unified_search/server/autocomplete/terms_enum.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

import { ElasticsearchClient, SavedObjectsClientContract } from '@kbn/core/server';
import type * as estypes from '@elastic/elasticsearch/lib/api/typesWithBodyKey';
import { IFieldType } from '@kbn/data-plugin/common';
import type { FieldSpec } from '@kbn/data-views-plugin/common';
import { findIndexPatternById, getFieldByName } from '../data_views';
import { ConfigSchema } from '../../config';

Expand All @@ -20,7 +20,7 @@ export async function termsEnumSuggestions(
fieldName: string,
query: string,
filters?: estypes.QueryDslQueryContainer[],
field?: IFieldType,
field?: FieldSpec,
abortSignal?: AbortSignal
) {
const { tiers } = config.autocomplete.valueSuggestions;
Expand Down

0 comments on commit 9c13c0f

Please sign in to comment.