UNPKG

hono

Version:

Web framework built on Web Standards

15 lines (14 loc) 314 B
/** * Handler for Service Worker * @module */ import type { Hono } from '../../hono'; import type { FetchEvent } from './types'; type Handler = (evt: FetchEvent) => void; /** * Adapter for Service Worker */ export declare const handle: (app: Hono, opts?: { fetch?: typeof fetch; }) => Handler; export {};