diff --git a/src/components/markdown_editor/plugins/markdown_default_plugins/processing_plugins.tsx b/src/components/markdown_editor/plugins/markdown_default_plugins/processing_plugins.tsx index d770f2c415d..af79901d268 100644 --- a/src/components/markdown_editor/plugins/markdown_default_plugins/processing_plugins.tsx +++ b/src/components/markdown_editor/plugins/markdown_default_plugins/processing_plugins.tsx @@ -52,7 +52,9 @@ export type DefaultEuiMarkdownProcessingPlugins = [ export const getDefaultEuiMarkdownProcessingPlugins = ({ exclude, -}: { exclude?: Array<'tooltip'> } = {}) => { +}: { + exclude?: Array<'tooltip'>; +} = {}): DefaultEuiMarkdownProcessingPlugins => { const excludeSet = new Set(exclude); const plugins: DefaultEuiMarkdownProcessingPlugins = [ diff --git a/upcoming_changelogs/7221.md b/upcoming_changelogs/7221.md new file mode 100644 index 00000000000..125aaf50655 --- /dev/null +++ b/upcoming_changelogs/7221.md @@ -0,0 +1,4 @@ +**Bug fixes** + +- Fixed a missing type in `EuiMarkdownEditor`'s default processing plugins +