Skip to content

Commit ec91e14

Browse files
authored
fix: Fix the compiler error blocking the release (#1391)
* cast as any * fix: Fix the compiler error blocking the release
1 parent cc8764c commit ec91e14

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/request.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ import * as protos from '../protos/protos';
6969
import {serializer} from 'google-gax';
7070
import * as gax from 'google-gax';
7171
import {SaveDataValue} from './interfaces/save';
72+
7273
type JSONValue =
7374
| string
7475
| number
@@ -84,7 +85,7 @@ const Struct = root.lookupType('Struct');
8485

8586
// This function decodes Struct proto values
8687
function decodeStruct(structValue: google.protobuf.IStruct): JSONValue {
87-
return serializer.toProto3JSON(Struct.fromObject(structValue));
88+
return serializer.toProto3JSON(Struct.fromObject(structValue) as any);
8889
}
8990

9091
// This function gets a RunQueryInfo object that contains explain metrics that

0 commit comments

Comments
 (0)