MCPcopy Create free account
hub / github.com/codeaashu/claude-code / fromPartial

Function fromPartial

src/types/generated/google/protobuf/timestamp.ts:142–149  ·  view source on GitHub ↗
(
    object: I,
  )

Source from the content-addressed store, hash-verified

140 return Timestamp.fromPartial(base ?? ({} as any))
141 },
142 fromPartial<I extends Exact<DeepPartial<Timestamp>, I>>(
143 object: I,
144 ): Timestamp {
145 const message = createBaseTimestamp()
146 message.seconds = object.seconds ?? 0
147 message.nanos = object.nanos ?? 0
148 return message
149 },
150}
151
152type Builtin =

Callers

nothing calls this directly

Calls 1

createBaseTimestampFunction · 0.85

Tested by

no test coverage detected