Vuex - Long Term Memory
    Preparing search index...

    Type Alias Merger<S>

    Merger: (loaded: Partial<S>, previous: S) => S

    Merges state loaded from the storage with the one present in Vuex.

    Type Parameters

    • S

    Type declaration

      • (loaded: Partial<S>, previous: S): S
      • Parameters

        • loaded: Partial<S>

          State just loaded from the storage.

        • previous: S

          State present in Vuex (probably defaults).

        Returns S

        State that will be put into Vuex.