MCPcopy Index your code
hub / github.com/andywer/threads.js / SerializedFoo

Interface SerializedFoo

test/lib/serialization.ts:15–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13}
14
15interface SerializedFoo<T extends JsonSerializable> {
16 __type: "$$foo"
17 val: T
18}
19
20const isSerializedFoo = (thing: any): thing is SerializedFoo<JsonSerializable> =>
21 thing && typeof thing === "object" && "__type" in thing && thing.__type === "$$foo"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected