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

    Interface CompanionActionSchemaWithoutResult<TOptions>

    An action whose callback doesn't return a result must not specify the result type.

    interface CompanionActionSchemaWithoutResult<
        TOptions extends CompanionOptionValues,
    > {
        options: TOptions;
        result?: undefined;
    }

    Type Parameters

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    options: TOptions

    The types of the action's options.

    result?: undefined

    When no result type is specified, the action callback returns void (possibly behind a promise).