createHref( __namedParameters: Readonly< Pick< Readonly< { fullPath: string; hash: string; host: string; hostname: string; href: string; origin: string; password: string; pathname: string; paths: readonly string[]; port: string; protocol: string; search: string; searchParams: Readonly<Record<string, readonly string[]>>; username: string; }, >, | "protocol" | "username" | "password" | "hostname" | "port" | "pathname" | "search" | "hash", >, >,): string Parameters
- __namedParameters: Readonly<
Pick<
Readonly<
{
fullPath: string;
hash: string;
host: string;
hostname: string;
href: string;
origin: string;
password: string;
pathname: string;
paths: readonly string[];
port: string;
protocol: string;
search: string;
searchParams: Readonly<Record<string, readonly string[]>>;
username: string;
},
>,
| "protocol"
| "username"
| "password"
| "hostname"
| "port"
| "pathname"
| "search"
| "hash",
>,
>
Returns string
Combined the needed URL parts into a URL's full href.