next
Version:
The React Framework
7 lines (6 loc) • 317 B
TypeScript
import { type TestRequestReader } from './context';
type Fetch = typeof fetch;
export declare const reader: TestRequestReader<Request>;
export declare function handleFetch(originalFetch: Fetch, request: Request): Promise<Response>;
export declare function interceptFetch(originalFetch: Fetch): () => void;
export {};