Skip to content

Type Alias: UrlLike

UrlLike = string | URL | { url: string; }

Anything urlBuilder (and pathMatch) know how to coerce into a URL:

  • A string: a host, a full URL, or a path / query / hash fragment.
  • A WHATWG URL instance.
  • Any object with a url field (e.g. a fetch Request, a Databricks WorkspaceClient config).