There was an error while loading. Please reload this page.
1 parent be94bb7 commit ec5a003Copy full SHA for ec5a003
1 file changed
packages/packages/google-gax/src/operationsClient.ts
@@ -64,7 +64,7 @@ export const ALL_SCOPES: string[] = [];
64
export interface OperationsClientOptions {
65
libName?: string;
66
libVersion?: string;
67
- clientConfig: gax.ClientConfig;
+ clientConfig?: gax.ClientConfig;
68
fallback?: boolean;
69
}
70
@@ -119,7 +119,7 @@ export class OperationsClient {
119
const defaults = gaxGrpc.constructSettings(
120
'google.longrunning.Operations',
121
configData,
122
- opts.clientConfig,
+ opts.clientConfig || {},
123
{'x-goog-api-client': googleApiClient.join(' ')}
124
);
125
0 commit comments