@tinyactors/scxmljs
    Preparing search index...

    Interface Diagnostic

    An authoring warning: valid SCXML that is very likely not what the author meant. Nothing is rejected; <scxml-view> and the explorer show them.

    interface Diagnostic {
        code: DiagnosticCode;
        element: Element | null;
        message: string;
        severity: "warning";
        state: StateNode | null;
    }
    Index

    Properties

    Which check fired; stable across versions, so hosts can filter on it.

    element: Element | null

    The source element (a <transition> or state element).

    message: string

    A human-readable explanation, in English, naming the states involved.

    severity: "warning"

    Always "warning": invalid documents throw SCXMLValidationError instead.

    state: StateNode | null

    The state the warning is about (for a transition: its source).