Skip to content

Commit

Permalink
fix ts error, branch is in sync with gax-4.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
leahecole committed Aug 21, 2023
1 parent 3067f89 commit 39daee1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/showcase-echo-client/src/v1beta1/echo_client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -225,17 +225,17 @@ export class EchoClient {
// Provide descriptors for these.
this.descriptors.stream = {
expand: new this._gaxModule.StreamDescriptor(
gax.StreamType.SERVER_STREAMING,
this._gaxModule.StreamType.SERVER_STREAMING,
// legacy: opts.fallback can be a string or a boolean
opts.fallback ? true : false
),
collect: new this._gaxModule.StreamDescriptor(
gax.StreamType.CLIENT_STREAMING,
this._gaxModule.StreamType.CLIENT_STREAMING,
// legacy: opts.fallback can be a string or a boolean
opts.fallback ? true : false
),
chat: new this._gaxModule.StreamDescriptor(
gax.StreamType.BIDI_STREAMING,
this._gaxModule.StreamType.BIDI_STREAMING,
// legacy: opts.fallback can be a string or a boolean
opts.fallback ? true : false
),
Expand Down

0 comments on commit 39daee1

Please sign in to comment.