From d4a96f0e3c90d313ca47d20978999e24eb85ea21 Mon Sep 17 00:00:00 2001 From: Andriy Lysnevych Date: Wed, 13 Mar 2019 00:17:45 +0200 Subject: [PATCH] Fixes TypeScript projects with noImplicitAny true --- docs/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.d.ts b/docs/index.d.ts index 738ed0d..2ac6195 100644 --- a/docs/index.d.ts +++ b/docs/index.d.ts @@ -92,7 +92,7 @@ interface HttpRequest { /** Returns the part of URL after ? sign or empty string. */ getQuery() : string; /** Loops over all headers. */ - forEach(cb: (key: string, value: string) => void); + forEach(cb: (key: string, value: string) => void) : void; } /** A structure holding settings and handlers for a WebSocket route handler. */