File tree 2 files changed +2
-2
lines changed
cjs/typescript_gapic/src/$version
esm/typescript_gapic/esm/src/$version
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ export class {{ service.name }}Client {
322
322
protoFilesRoot) as (typeof protoFilesRoot);
323
323
{%- else %}
324
324
325
- const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON (jsonProtos);
325
+ const protoFilesRoot = this._gaxModule.protobufFromJSON (jsonProtos);
326
326
{%- endif %}
327
327
{%- endif %}
328
328
{%- if service .longRunning .length > 0 or service .LongRunningOperationsMixin > 0%}
Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ export class {{ service.name }}Client {
332
332
protoFilesRoot) as (typeof protoFilesRoot);
333
333
{%- else %}
334
334
335
- const protoFilesRoot = this._gaxModule.protobuf.Root.fromJSON (jsonProtos as gax.protobuf.INamespace );
335
+ const protoFilesRoot = this._gaxModule.protobufFromJSON (jsonProtos);
336
336
{%- endif %}
337
337
{%- endif %}
338
338
{%- if service .longRunning .length > 0 or service .LongRunningOperationsMixin > 0%}
You can’t perform that action at this time.
0 commit comments