Download next.js/packages/next/src/compiled/@edge-runtime/primitives/url.d.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 1.41 kB
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/compiled/%40edge-runtime/primitives/url.d.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/packages/next/src/compiled/@edge-runtime/primitives/url.d.ts
-
curl -L -o url.d.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/compiled/%40edge-runtime/primitives/url.d.ts
1.41 kB
| type URLPatternInput = URLPatternInit | string; | |
| declare class URLPattern { | |
| constructor(init?: URLPatternInput, baseURL?: string); | |
| test(input?: URLPatternInput, baseURL?: string): boolean; | |
| exec(input?: URLPatternInput, baseURL?: string): URLPatternResult | null; | |
| readonly protocol: string; | |
| readonly username: string; | |
| readonly password: string; | |
| readonly hostname: string; | |
| readonly port: string; | |
| readonly pathname: string; | |
| readonly search: string; | |
| readonly hash: string; | |
| } | |
| interface URLPatternInit { | |
| baseURL?: string; | |
| username?: string; | |
| password?: string; | |
| protocol?: string; | |
| hostname?: string; | |
| port?: string; | |
| pathname?: string; | |
| search?: string; | |
| hash?: string; | |
| } | |
| interface URLPatternResult { | |
| inputs: [URLPatternInput]; | |
| protocol: URLPatternComponentResult; | |
| username: URLPatternComponentResult; | |
| password: URLPatternComponentResult; | |
| hostname: URLPatternComponentResult; | |
| port: URLPatternComponentResult; | |
| pathname: URLPatternComponentResult; | |
| search: URLPatternComponentResult; | |
| hash: URLPatternComponentResult; | |
| } | |
| interface URLPatternComponentResult { | |
| input: string; | |
| groups: { | |
| [key: string]: string | undefined; | |
| }; | |
| } | |
| declare const _URL: typeof URL | |
| declare const _URLSearchParams: typeof URLSearchParams | |
| declare class _URLPattern extends URLPattern {} | |
| export { _URL as URL, _URLPattern as URLPattern, _URLSearchParams as URLSearchParams }; | |