aboutsummaryrefslogtreecommitdiff
path: root/node_modules/got/dist/source/core/utils/options-to-url.d.ts
blob: c696a837e4ba5e0c11821b96151f7d566d7cd907 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import { URL } from 'url';
export interface URLOptions {
    href?: string;
    protocol?: string;
    host?: string;
    hostname?: string;
    port?: string | number;
    pathname?: string;
    search?: string;
    searchParams?: unknown;
    path?: string;
}
declare const _default: (origin: string, options: URLOptions) => URL;
export default _default;