From fff971a32d5f5891ae2a778d84b1f93ff71559a2 Mon Sep 17 00:00:00 2001 From: Brent Kimmel Date: Sun, 12 Jul 2020 22:41:22 -0400 Subject: [PATCH] CI: replace missing import with type --- .../public/resolver/view/panels/panel_content_utilities.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/security_solution/public/resolver/view/panels/panel_content_utilities.tsx b/x-pack/plugins/security_solution/public/resolver/view/panels/panel_content_utilities.tsx index ed26a85025b76..374c4c94c7768 100644 --- a/x-pack/plugins/security_solution/public/resolver/view/panels/panel_content_utilities.tsx +++ b/x-pack/plugins/security_solution/public/resolver/view/panels/panel_content_utilities.tsx @@ -5,7 +5,7 @@ */ import { i18n } from '@kbn/i18n'; -import { EuiBreadcrumbs, EuiCode, EuiBetaBadge, Breadcrumb } from '@elastic/eui'; +import { EuiBreadcrumbs, EuiCode, EuiBetaBadge } from '@elastic/eui'; import styled from 'styled-components'; import React, { memo } from 'react'; import { useResolverTheme } from '../assets'; @@ -60,13 +60,14 @@ export const StyledTime = memo(styled('time')` text-align: start; `); +type Breadcrumbs = Parameters[0]['breadcrumbs']; /** * Breadcrumb menu with adjustments per direction from UX team */ export const StyledBreadcrumbs = memo(function StyledBreadcrumbs({ breadcrumbs, }: { - breadcrumbs: Breadcrumb[]; + breadcrumbs: Breadcrumbs; }) { const { colorMap: { resolverBreadcrumbBackground, resolverEdgeText },