mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-13 05:20:25 +00:00
Change the type of Request.query to any instead of Object for building a fast prototype
This commit is contained in:
Vendored
+2
-2
@@ -1,4 +1,4 @@
|
||||
// Type definitions for hapi 16.1
|
||||
// Type definitions for hapi 16.2
|
||||
// Project: https://github.com/hapijs/hapi
|
||||
// Definitions by: Jason Swearingen <http://github.com/jasonswearingen>, AJP <https://github.com/AJamesPhillips>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -1938,7 +1938,7 @@ export class Request extends Podium {
|
||||
* an object containing the query parameters.
|
||||
* TODO update with outcome of: https://github.com/hapijs/hapi/pull/3479
|
||||
*/
|
||||
query: Object;
|
||||
query: any;
|
||||
/** an object containing the Node HTTP server objects. **Direct interaction with these raw objects is not recommended.** */
|
||||
raw: {
|
||||
req: http.IncomingMessage; // Or http.ClientRequest http://www.apetuts.com/tutorial/node-js-http-client-request-class/ ?
|
||||
|
||||
Reference in New Issue
Block a user