• Attempts to converts a URI into an absolute URI.

    Parameters

    • uri: string

      The URI to convert.

    • OptionalbaseUri: string

      The base URI that acts as the context for a relative URI. Must be absolute. If not specified, then it will be the value of window.location.

    Returns string