Type alias Update<S>

Update<S>: ((patch: Patch<S>) => any)

Type Parameters

  • S

    the State type.

Type declaration

    • (patch: Patch<S>): any
    • Function to update the state with a patch.

      Parameters

      Returns any

Generated using TypeDoc