• Returns a path with params interpolated.

    Type Parameters

    • Path extends string

    Parameters

    • originalPath: Path
    • params: {
          [key in "*"]: null | string
      } = ...

    Returns string