We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc8764c commit ec91e14Copy full SHA for ec91e14
src/request.ts
@@ -69,6 +69,7 @@ import * as protos from '../protos/protos';
69
import {serializer} from 'google-gax';
70
import * as gax from 'google-gax';
71
import {SaveDataValue} from './interfaces/save';
72
+
73
type JSONValue =
74
| string
75
| number
@@ -84,7 +85,7 @@ const Struct = root.lookupType('Struct');
84
85
86
// This function decodes Struct proto values
87
function decodeStruct(structValue: google.protobuf.IStruct): JSONValue {
- return serializer.toProto3JSON(Struct.fromObject(structValue));
88
+ return serializer.toProto3JSON(Struct.fromObject(structValue) as any);
89
}
90
91
// This function gets a RunQueryInfo object that contains explain metrics that
0 commit comments