From ce972ba166a8919ed1627e3cda38b8d146b39119 Mon Sep 17 00:00:00 2001 From: Matt Kime Date: Thu, 29 Jul 2021 11:38:27 -0500 Subject: [PATCH] typefix --- .../plugins/apm/public/components/shared/kuery_bar/index.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 e4a4163f4c018..8358837cac563 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 @@ -125,7 +125,10 @@ export function KueryBar(props: { prepend?: React.ReactNode | string }) { } try { - const res = convertKueryToEsQuery(inputValue, indexPattern); + const res = convertKueryToEsQuery( + inputValue, + indexPattern as IndexPattern + ); if (!res) { return; }