From 22f4b8400bb1ede8b72dad9c9ebaade1810c429e Mon Sep 17 00:00:00 2001 From: Christos Nasikas Date: Sat, 31 Oct 2020 00:26:12 +0200 Subject: [PATCH] [Actions] Fix type contract (#82168) --- x-pack/plugins/actions/server/plugin.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/x-pack/plugins/actions/server/plugin.ts b/x-pack/plugins/actions/server/plugin.ts index 06898f6688037..599e7461ea312 100644 --- a/x-pack/plugins/actions/server/plugin.ts +++ b/x-pack/plugins/actions/server/plugin.ts @@ -86,9 +86,10 @@ export interface PluginSetupContract { registerType< Config extends ActionTypeConfig = ActionTypeConfig, Secrets extends ActionTypeSecrets = ActionTypeSecrets, - Params extends ActionTypeParams = ActionTypeParams + Params extends ActionTypeParams = ActionTypeParams, + ExecutorResultData = void >( - actionType: ActionType + actionType: ActionType ): void; }