frontend/.pnpm-store/v3/files/bb/a71474d8ed21384b77782363eafc5eb3ccdd11425485e3fb34cd8d4023638f9c57d3ee3a00926d7b1ad30282ebdeab859a09128c0eda7e3c4c3a6023934219

16 lines
446 B
Plaintext

/// <reference types="node" resolution-mode="require"/>
import type { URL, UrlWithStringQuery } from 'node:url';
export type LegacyUrlOptions = {
protocol: string;
hostname: string;
host: string;
hash: string | null;
search: string | null;
pathname: string;
href: string;
path: string;
port?: number;
auth?: string;
};
export default function urlToOptions(url: URL | UrlWithStringQuery): LegacyUrlOptions;