travels
    Preparing search index...

    Function createPatchableTravels

    • Create a Travels instance whose state is statically constrained to the durable JSON-shaped subset supported by patches and persistence.

      Type Parameters

      • S
      • F extends boolean = false
      • P extends { arrayLengthAssignment?: boolean; pathAsArray?: boolean } = {}

      Parameters

      Returns Travels<S, F, true, P>

    • Create a Travels instance whose state is statically constrained to the durable JSON-shaped subset supported by patches and persistence.

      Type Parameters

      • S
      • F extends boolean = false
      • P extends { arrayLengthAssignment?: boolean; pathAsArray?: boolean } = {}

      Parameters

      Returns Travels<S, F, false, P>