mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
This commit is contained in:
parent
e73c0fd72c
commit
4e7b841c77
1 changed files with 3 additions and 2 deletions
|
@ -254,9 +254,10 @@ export class ActionsPlugin implements Plugin<Promise<PluginSetupContract>, Plugi
|
|||
registerType: <
|
||||
Config extends ActionTypeConfig = ActionTypeConfig,
|
||||
Secrets extends ActionTypeSecrets = ActionTypeSecrets,
|
||||
Params extends ActionTypeParams = ActionTypeParams
|
||||
Params extends ActionTypeParams = ActionTypeParams,
|
||||
ExecutorResultData = void
|
||||
>(
|
||||
actionType: ActionType<Config, Secrets, Params>
|
||||
actionType: ActionType<Config, Secrets, Params, ExecutorResultData>
|
||||
) => {
|
||||
if (!(actionType.minimumLicenseRequired in LICENSE_TYPE)) {
|
||||
throw new Error(`"${actionType.minimumLicenseRequired}" is not a valid license type`);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue