travels
    Preparing search index...

    Type Alias TravelsDevtoolsEvent<S, P>

    type TravelsDevtoolsEvent<S, P extends PatchesOption = {}> = {
        metadata?: TravelMetadata;
        patches: TravelPatches<P>;
        position: number;
        state: S;
        type:
            | "setState"
            | "archive"
            | "transaction"
            | "go"
            | "reset"
            | "rebase"
            | "replaceStateWithoutHistory";
    }

    Type Parameters

    Index

    Properties

    metadata?: TravelMetadata
    patches: TravelPatches<P>
    position: number
    state: S
    type:
        | "setState"
        | "archive"
        | "transaction"
        | "go"
        | "reset"
        | "rebase"
        | "replaceStateWithoutHistory"