Merge pull request #14241 from eighty4/master

Hapi: Correcting Request.id from number to string
This commit is contained in:
Daniel Rosenwasser
2017-01-25 10:18:07 -08:00
committed by GitHub
+2 -2
View File
@@ -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. */