From 101aa89da9a302ff54e53bafe3eb00f49a48300e Mon Sep 17 00:00:00 2001 From: Dustin Popp Date: Fri, 2 Aug 2019 15:38:57 -0500 Subject: [PATCH] fix: extend constructor options type to allow additional properties this will allow TypeScript users to use request parameters like the `axios` config properties. we support these in the code but not in the constructor options type --- lib/base_service.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/base_service.ts b/lib/base_service.ts index 18c649e22..bf654f219 100644 --- a/lib/base_service.ts +++ b/lib/base_service.ts @@ -46,6 +46,8 @@ export interface UserOptions { iam_client_secret?: string; authentication_type?: string; disable_ssl_verification?: boolean; + /** Allow additional request config parameters */ + [propName: string]: any; } export interface BaseServiceOptions extends UserOptions {