@companion-module/base
    Preparing search index...

    Interface CompanionActionSchemaWithResult<TOptions, TResult>

    An action whose callback returns a result must specify the result type.

    interface CompanionActionSchemaWithResult<
        TOptions extends CompanionOptionValues,
        TResult extends JsonValue,
    > {
        options: TOptions;
        result: TResult;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    options: TOptions

    The types of the action's options.

    result: TResult

    The action callback returns a value of this type (possibly behind a promise).