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 f5bec38 commit a61a24aCopy full SHA for a61a24a
dev/src/convert.ts
@@ -49,7 +49,7 @@ export function timestampFromJson(
49
timestampValue?: string | google.protobuf.ITimestamp,
50
argumentName?: string
51
): google.protobuf.ITimestamp | undefined {
52
- let timestampProto: google.protobuf.ITimestamp | undefined;
+ let timestampProto: google.protobuf.ITimestamp = {};
53
54
if (typeof timestampValue === 'string') {
55
const date = new Date(timestampValue);
0 commit comments