Files
SnowLuma/.pnpm-store/v11/files/83/a95c5ee9e0befe709c7e8a2aa8b1911826e692637367020944e1cbd4e0705863302967240ec1e6eb91f4d88eb03e4d65ec5bd48e54ecb65f894e3597978fa2
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

11 lines
652 B
Plaintext

import { UnionToIntersection } from "../../utils/types.js";
import { Schema } from "../../types.js";
import { ExecutionContext } from "../../context.js";
import { Hono } from "../../hono.js";
import { Client, ClientRequestOptions } from "../../client/types.js";
//#region src/helper/testing/index.d.ts
type ExtractEnv<T> = T extends Hono<infer E, Schema, string> ? E : never;
export declare const testClient: <T extends Hono<any, Schema, string>>(app: T, Env?: ExtractEnv<T>["Bindings"] | {}, executionCtx?: ExecutionContext, options?: Omit<ClientRequestOptions, "fetch">) => UnionToIntersection<Client<T, "http://localhost">>;
//#endregion
export {};