From e612783da10aff82f05151a994383dc0a3146185 Mon Sep 17 00:00:00 2001 From: Vadim Dalecky Date: Tue, 11 Feb 2020 22:14:00 +0100 Subject: [PATCH] fix: fix TypeScript disabled help type --- .../canvas/canvas_plugin_src/functions/common/saved_search.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/saved_search.ts b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/saved_search.ts index a351bcb46cdd3..2c1930f23f598 100644 --- a/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/saved_search.ts +++ b/x-pack/legacy/plugins/canvas/canvas_plugin_src/functions/common/saved_search.ts @@ -28,7 +28,7 @@ export function savedSearch(): ExpressionFunctionDefinition< Arguments, Output > { - const { help, args: argHelp } = getFunctionHelp().savedSearch; + const { help, args: argHelp } = (getFunctionHelp() as any).savedSearch; return { name: 'savedSearch', help,