Skip to content

Commit

Permalink
fix(typescript): cast Object.assign value to ServiceOptions (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoe committed May 27, 2020
1 parent 83d2499 commit cfee918
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/google-apis/auth-client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export class RequestHandler extends Service {
const serviceOptions: ServiceOptions = Object.assign(config, {
projectId: pid !== null ? pid : undefined,
customEndpoint: !tryAuthenticate,
});
}) as ServiceOptions;
super(
{
packageJson: pkg,
Expand Down

0 comments on commit cfee918

Please sign in to comment.