From 46af491f77e480962a85c6e1af9f2b7e2e451399 Mon Sep 17 00:00:00 2001 From: Matt Kime Date: Thu, 29 Jul 2021 10:52:07 -0500 Subject: [PATCH] use IndexPattern instead of IIndexPattern --- .../plugins/apm/public/components/shared/kuery_bar/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx b/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx index 72c5bac1f9f17..e4a4163f4c018 100644 --- a/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/kuery_bar/index.tsx @@ -11,7 +11,7 @@ import React, { useState } from 'react'; import { useHistory, useLocation } from 'react-router-dom'; import { esKuery, - IIndexPattern, + IndexPattern, QuerySuggestion, } from '../../../../../../../src/plugins/data/public'; import { useApmPluginContext } from '../../../context/apm_plugin/use_apm_plugin_context'; @@ -29,7 +29,7 @@ interface State { isLoadingSuggestions: boolean; } -function convertKueryToEsQuery(kuery: string, indexPattern: IIndexPattern) { +function convertKueryToEsQuery(kuery: string, indexPattern: IndexPattern) { const ast = esKuery.fromKueryExpression(kuery); return esKuery.toElasticsearchQuery(ast, indexPattern); }