diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/types.ts b/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/types.ts index 31e0d72b89b8c..2d7b36084c1c5 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/types.ts +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/relevance_tuning/types.ts @@ -6,7 +6,7 @@ export type BoostType = 'value' | 'functional' | 'proximity'; -export interface IBoost { +export interface Boost { type: BoostType; operation?: string; function?: string; @@ -17,7 +17,7 @@ export interface IBoost { } export interface BoostObject { - [key: string]: IBoost[]; + [key: string]: Boost[]; } export interface SearchSettings {