mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 10:59:13 +00:00
feat(serve): Support second parameter in deno serve (#25606)
Closes #24099
This commit is contained in:
parent
018329a4d3
commit
7477c2d706
9 changed files with 36 additions and 8 deletions
4
cli/tsc/dts/lib.deno.ns.d.ts
vendored
4
cli/tsc/dts/lib.deno.ns.d.ts
vendored
|
@ -5090,9 +5090,7 @@ declare namespace Deno {
|
|||
*
|
||||
* @category HTTP Server
|
||||
*/
|
||||
fetch: (
|
||||
request: Request,
|
||||
) => Response | Promise<Response>;
|
||||
fetch: ServeHandler;
|
||||
}
|
||||
|
||||
/** Options which can be set when calling {@linkcode Deno.serve}.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue