Function combineSearchParams

  • Combine two objects of search params. Configure the combination strategy using the third options input.

    Parameters

    • baseParams: Readonly<SearchParamsInput>
    • newParams: Readonly<SearchParamsInput>
    • Optionaloptions: Readonly<
          Pick<
              {
                  encoding?: Encode
                  | Decode
                  | None;
                  searchParamStrategy?: Clear | Replace | Append;
              },
              "encoding"
              | "searchParamStrategy",
          >,
      >

    Returns Record