diff --git a/src/components/color_picker/color_stops/color_stops.tsx b/src/components/color_picker/color_stops/color_stops.tsx index d0b45371531..68847685ef8 100644 --- a/src/components/color_picker/color_stops/color_stops.tsx +++ b/src/components/color_picker/color_stops/color_stops.tsx @@ -31,7 +31,7 @@ import { removeStop, } from './utils'; -import { EuiColorPickerProps } from '../'; +import { EuiColorPickerProps } from '../color_picker'; import { getChromaColor } from '../utils'; import { EuiI18n } from '../../i18n'; import { EuiScreenReaderOnly } from '../../accessibility'; diff --git a/src/components/markdown_editor/markdown_actions.ts b/src/components/markdown_editor/markdown_actions.ts index fc3866bbbf6..034b96b45e4 100644 --- a/src/components/markdown_editor/markdown_actions.ts +++ b/src/components/markdown_editor/markdown_actions.ts @@ -144,7 +144,7 @@ class MarkdownActions { * @param {string} pluginName * @memberof MarkdownActions */ - do(pluginName: string) { + do(pluginName: string): true | EuiMarkdownEditorUiPlugin { const plugin = this.styles[pluginName]; if (isPluginWithImmediateFormatting(plugin)) { this.applyStyle(plugin.formatting);