mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #14241 from eighty4/master
Hapi: Correcting Request.id from number to string
This commit is contained in:
Vendored
+2
-2
@@ -1,4 +1,4 @@
|
||||
// Type definitions for hapi 13.0.0
|
||||
// Type definitions for hapi 16.0.0
|
||||
// Project: http://github.com/spumko/hapi
|
||||
// Definitions by: Jason Swearingen <http://github.com/jasonswearingen>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -1206,7 +1206,7 @@ export class Request extends Events.EventEmitter {
|
||||
/** the raw request headers (references request.raw.headers).*/
|
||||
headers: IDictionary<string>;
|
||||
/** a unique request identifier (using the format '{now}:{connection.info.id}:{5 digits counter}').*/
|
||||
id: number;
|
||||
id: string;
|
||||
/** request information */
|
||||
info: {
|
||||
/** the request preferred encoding. */
|
||||
|
||||
Reference in New Issue
Block a user