Fixes TypeScript projects with noImplicitAny true

This commit is contained in:
Andriy Lysnevych 2019-03-13 00:17:45 +02:00 committed by GitHub
parent 5608cbe5ea
commit d4a96f0e3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
docs/index.d.ts vendored
View File

@ -92,7 +92,7 @@ interface HttpRequest {
/** Returns the part of URL after ? sign or empty string. */ /** Returns the part of URL after ? sign or empty string. */
getQuery() : string; getQuery() : string;
/** Loops over all headers. */ /** 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. */ /** A structure holding settings and handlers for a WebSocket route handler. */