Fixes TypeScript projects with noImplicitAny true
This commit is contained in:
parent
5608cbe5ea
commit
d4a96f0e3c
2
docs/index.d.ts
vendored
2
docs/index.d.ts
vendored
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user