Skip to content

Commit 70af0c9

Browse files
authored
fix: extend constructor options type to allow additional properties (#35)
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
1 parent fd569df commit 70af0c9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/base_service.ts

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ export interface UserOptions {
4646
iam_client_secret?: string;
4747
authentication_type?: string;
4848
disable_ssl_verification?: boolean;
49+
/** Allow additional request config parameters */
50+
[propName: string]: any;
4951
}
5052

5153
export interface BaseServiceOptions extends UserOptions {

0 commit comments

Comments
 (0)