From 1f8049b7c0bfd44f7306842f554711fb99e0dc16 Mon Sep 17 00:00:00 2001 From: Adam Bennett Date: Wed, 25 Jan 2017 11:27:22 -0600 Subject: [PATCH 1/2] Correcting Request.id from number to string --- hapi/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hapi/index.d.ts b/hapi/index.d.ts index b98e1cdf25..7c12b19034 100644 --- a/hapi/index.d.ts +++ b/hapi/index.d.ts @@ -1206,7 +1206,7 @@ export class Request extends Events.EventEmitter { /** the raw request headers (references request.raw.headers).*/ headers: IDictionary; /** 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. */ From 84553b93f1da0dbbe5678c50067688ce7e910967 Mon Sep 17 00:00:00 2001 From: Adam Bennett Date: Wed, 25 Jan 2017 11:55:40 -0600 Subject: [PATCH 2/2] Updating major version number of Hapi --- hapi/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hapi/index.d.ts b/hapi/index.d.ts index 7c12b19034..9d8f8f0120 100644 --- a/hapi/index.d.ts +++ b/hapi/index.d.ts @@ -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 // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped