Recipe-app main

This commit is contained in:
2026-04-09 09:14:39 +02:00
commit 962f4e4be5
10015 changed files with 2445177 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
export interface TestReqInfo {
url: string;
proxyPort: number;
testData: string;
}
export interface TestRequestReader<R> {
url(req: R): string;
header(req: R, name: string): string | null;
}
export declare function withRequest<R, T>(req: R, reader: TestRequestReader<R>, fn: () => T): T;
export declare function getTestReqInfo<R>(req?: R, reader?: TestRequestReader<R>): TestReqInfo | undefined;