Files
SnowLuma/.pnpm-store/v11/files/6a/8ba056fd3a440c95cad7ef4ac569a06554cc0473d037e4c4b932b3a54926d7e3d50e400350207d19be4a4b2593852ad3b0c13ede91c15a162e9e72f361db31
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

19 lines
737 B
Plaintext

import { Env, Schema } from "../../types.js";
import { Hono } from "../../hono.js";
import { FetchEvent } from "./types.js";
//#region src/adapter/service-worker/handler.d.ts
type Handler = (evt: FetchEvent) => void;
/**
* @deprecated `hono/service-worker` will be removed in v5. Install `@hono/service-worker` and import from there instead.
*/
export type HandleOptions = {
fetch?: typeof fetch;
};
/**
* Adapter for Service Worker
* @deprecated `hono/service-worker` will be removed in v5. Install `@hono/service-worker` and import from there instead.
*/
export declare const handle: <E extends Env, S extends Schema, BasePath extends string>(app: Hono<E, S, BasePath>, opts?: HandleOptions) => Handler;
//#endregion
export {};