UNPKG

diesel-core

Version:

Web framework built on Web Standards

7 lines (6 loc) 274 B
import * as http from 'node:http'; export interface options { fetch: (req: Request, ...args: any) => Response | Promise<Response>; port: number; } export declare function serve(options: options): http.Server<typeof http.IncomingMessage, typeof http.ServerResponse>;