WithAlterations<T, AlterationsT>: Omit<T, "attributes" | "commands" | "events"> & {
    attributes: AlteredElements<T["attributes"], Attribute, AlterationsT["attributes"]>;
    commands: AlteredElements<T["commands"], Command, AlterationsT["commands"]>;
    events: AlteredElements<T["events"], Event, AlterationsT["events"]>;
}

A definition with alterations applied.

Type Parameters