Skip to content

Commit

Permalink
fix: extend constructor options type to allow additional properties (#35
Browse files Browse the repository at this point in the history
)

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
  • Loading branch information
dpopp07 authored Aug 5, 2019
1 parent fd569df commit 70af0c9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/base_service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 70af0c9

Please sign in to comment.