The alerts plugin was importing `JsonObject` from the infra plugin. The infra plugin imported `JsonObject`, `JsonValue`, and `JsonArray` from kibanaUtils and then re-exported them. Remove the re-export from the infra plugin and instead always import these types from kibanaUtils.
32 lines
942 B
TypeScript
32 lines
942 B
TypeScript
/*
|
|
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
|
|
* or more contributor license agreements. Licensed under the Elastic License;
|
|
* you may not use this file except in compliance with the Elastic License.
|
|
*/
|
|
|
|
/**
|
|
* /!\ These type definitions are temporary until the upstream @elastic/eui
|
|
* package includes them.
|
|
*/
|
|
|
|
import { IconType, ToolTipPositions } from '@elastic/eui';
|
|
import { CommonProps } from '@elastic/eui/src/components/common';
|
|
|
|
declare module '@elastic/eui' {
|
|
interface EuiFormControlLayoutIconProps {
|
|
type: IconType;
|
|
side?: 'left' | 'right';
|
|
onClick?: React.MouseEventHandler<Element>;
|
|
}
|
|
|
|
interface EuiFormControlLayoutClearIconProps {
|
|
onClick?: React.MouseEventHandler<Element>;
|
|
}
|
|
|
|
type EuiSizesResponsive = 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
type EuiResponsiveProps = CommonProps & {
|
|
children: React.ReactNode;
|
|
sizes: EuiSizesResponsive[];
|
|
};
|
|
}
|