diff --git a/src/components/facet/index.d.ts b/src/components/facet/index.d.ts index 0738db3a84b..639f63fe05c 100644 --- a/src/components/facet/index.d.ts +++ b/src/components/facet/index.d.ts @@ -25,8 +25,8 @@ declare module '@elastic/eui' { quantity: number; buttonRef: RefCallback; } - export const EuiFacetButton: FunctionComponent< - CommonProps & ButtonHTMLAttributes> & EuiFacetButtonProps; + export const EuiFacetButton: FunctionComponent> & EuiFacetButtonProps; /** * Facet group type defs @@ -39,6 +39,6 @@ declare module '@elastic/eui' { layout?: FacetGroupLayouts } - export const EuiFacetGroup: FunctionComponent< - CommonProps & HTMLAttributes> & EuiFacetGroupProps; + export const EuiFacetGroup: FunctionComponent> & EuiFacetGroupProps; } diff --git a/src/components/filter_group/index.d.ts b/src/components/filter_group/index.d.ts index d21fc3660d4..24e55f8b4ed 100644 --- a/src/components/filter_group/index.d.ts +++ b/src/components/filter_group/index.d.ts @@ -42,6 +42,5 @@ declare module '@elastic/eui' { } export const EuiFilterSelectItem: Component & EuiFilterSelectItemProps - >; + ButtonHTMLAttributes & EuiFilterSelectItemProps>; }