Files
discord-clone/node_modules/parse-url/index.d.ts
2023-01-03 09:29:04 -06:00

19 lines
364 B
TypeScript

declare interface ParsedUrl {
protocols: string[];
protocol: string;
port?: string;
resource: string;
user: string;
pathname: string;
hash: string;
search: string;
href: string;
query: {
[key: string]: any;
}
}
declare function parseUrl(url: string, normalize?: boolean | Object): ParsedUrl;
export = parseUrl