UNPKG

next

Version:

The React Framework

15 lines (14 loc) 393 B
import type { ParsedUrlQuery } from 'querystring'; export interface ParsedUrl { hash: string; hostname?: string | null; href: string; pathname: string; port?: string | null; protocol?: string | null; query: ParsedUrlQuery; origin?: string | null; search: string; slashes: boolean | undefined; } export declare function parseUrl(url: string): ParsedUrl;