Download next.js/packages/next/src/compiled/@edge-runtime/primitives/fetch.d.ts from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 868 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/compiled/%40edge-runtime/primitives/fetch.d.ts
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/packages/next/src/compiled/@edge-runtime/primitives/fetch.d.ts
-
curl -L -o fetch.d.ts https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/packages/next/src/compiled/%40edge-runtime/primitives/fetch.d.ts
868 Bytes
| declare class Request extends globalThis.Request { | |
| readonly headers: Headers | |
| readonly duplex: string | |
| } | |
| declare class Response extends globalThis.Response { | |
| readonly headers: Headers | |
| static json(data: any, init?: ResponseInit): Response | |
| } | |
| type RequestInfo = string | Request | globalThis.Request | |
| type RequestInit = globalThis.RequestInit | |
| declare const fetchImplementation: ( | |
| info: RequestInfo, | |
| init?: RequestInit, | |
| ) => Promise<Response> | |
| declare const FileConstructor: typeof File | |
| declare const FormDataConstructor: typeof FormData | |
| declare const WebSocketConstructor: typeof WebSocket | |
| declare const HeadersConstructor: typeof Headers | |
| export { FileConstructor as File, FormDataConstructor as FormData, HeadersConstructor as Headers, Request, type RequestInfo, type RequestInit, Response, WebSocketConstructor as WebSocket, fetchImplementation as fetch }; | |