Initial commit
This commit is contained in:
commit
78f8d225ee
21173 changed files with 2907774 additions and 0 deletions
4
node_modules/next/dist/experimental/testmode/proxy/fetch-api.d.ts
generated
vendored
Normal file
4
node_modules/next/dist/experimental/testmode/proxy/fetch-api.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
import type { ProxyFetchRequest, ProxyResponse } from './types';
|
||||
export type FetchHandlerResult = Response | 'abort' | 'continue' | null | undefined;
|
||||
export type FetchHandler = (testData: string, request: Request) => FetchHandlerResult | Promise<FetchHandlerResult>;
|
||||
export declare function handleFetch(req: ProxyFetchRequest, onFetch: FetchHandler): Promise<ProxyResponse>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue