summaryrefslogtreecommitdiff
path: root/cli/tsc
diff options
context:
space:
mode:
authorLeo Kettmeir <crowlkats@toaxl.com>2023-02-15 16:37:41 +0100
committerGitHub <noreply@github.com>2023-02-15 16:37:41 +0100
commitc7535950b6de086fce741809728129c79288dee8 (patch)
tree016b274136e8f656d420f6bda79740dfc3fb09f7 /cli/tsc
parent4104a674c7955eb7811b241b2e18453ac96faaf5 (diff)
feat(flash): add 2nd param to handler to get remote address (#17633)
Closes #17583
Diffstat (limited to 'cli/tsc')
-rw-r--r--cli/tsc/dts/lib.deno.unstable.d.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts
index 822425d05..0362b416d 100644
--- a/cli/tsc/dts/lib.deno.unstable.d.ts
+++ b/cli/tsc/dts/lib.deno.unstable.d.ts
@@ -1126,7 +1126,7 @@ declare namespace Deno {
*
* @category HTTP Server
*/
- export type ServeHandler = (request: Request) => Response | Promise<Response>;
+ export type ServeHandler = (request: Request, getRemoteAddr: () => Deno.NetAddr) => Response | Promise<Response>;
/** **UNSTABLE**: New API, yet to be vetted.
*