diff --git a/types/request/index.d.ts b/types/request/index.d.ts index a0d0706605..ea666a033b 100644 --- a/types/request/index.d.ts +++ b/types/request/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for request 2.0 // Project: https://github.com/request/request -// Definitions by: Carlos Ballesteros Velasco , bonnici , Bart van der Schoor , Joe Skeen , Christopher Currens +// Definitions by: Carlos Ballesteros Velasco , bonnici , Bart van der Schoor , Joe Skeen , Christopher Currens , Jon Stevens // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // Imported from: https://github.com/soywiz/typescript-node-definitions/d.ts @@ -142,6 +142,7 @@ declare namespace request { timeout?: number; localAddress?: string; proxy?: any; + tunnel?: boolean; strictSSL?: boolean; rejectUnauthorized?: boolean; time?: boolean; diff --git a/types/request/request-tests.ts b/types/request/request-tests.ts index 27856d40b6..f6a8dff9f8 100644 --- a/types/request/request-tests.ts +++ b/types/request/request-tests.ts @@ -120,6 +120,7 @@ var options: request.Options = { pool: value, timeout: num, proxy: value, + tunnel: bool, strictSSL: bool, rejectUnauthorized: false };