Merge pull request #99 from mrlika/patch-1

Fixes TypeScript projects with noImplicitAny true
This commit is contained in:
Alex Hultman 2019-03-13 06:35:35 +01:00 committed by GitHub
commit f68cc5032a
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. */