From caeb5302d9f9ca9ff88a16f58337b32f7e4d3167 Mon Sep 17 00:00:00 2001 From: Jan Monschke Date: Mon, 25 Sep 2023 11:30:36 +0200 Subject: [PATCH] types: make return type explicit --- .../plugins/markdown_default_plugins/processing_plugins.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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..51e87c2ccec 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,7 @@ export type DefaultEuiMarkdownProcessingPlugins = [ export const getDefaultEuiMarkdownProcessingPlugins = ({ exclude, -}: { exclude?: Array<'tooltip'> } = {}) => { +}: { exclude?: Array<'tooltip'> } = {}): DefaultEuiMarkdownProcessingPlugins => { const excludeSet = new Set(exclude); const plugins: DefaultEuiMarkdownProcessingPlugins = [