@turbowarp/types-tw
    Preparing search index...

    Interface AddonBlockOptions

    interface AddonBlockOptions {
        arguments?: string[];
        hidden?: boolean;
        procedureCode: string;
        return?: 2 | 1;
        callback(
            args: Record<string, string | number | boolean>,
            util: BlockUtility,
        ): void | Promise<void>;
    }

    Hierarchy (View Summary)

    Index

    Properties

    arguments?: string[]
    hidden?: boolean
    procedureCode: string
    return?: 2 | 1

    Methods

    • Parameters

      • args: Record<string, string | number | boolean>
      • util: BlockUtility

      Returns void | Promise<void>