Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/colinhacks/zod
/ doStuff
Function
doStuff
packages/zod/src/v4/mini/tests/brand.test.ts:16–16 ·
view source on GitHub ↗
(arg: MySchema)
Source
from the content-addressed store, hash-verified
14
expectTypeOf<MySchema>().toEqualTypeOf<{ name: string } & z.$brand<
"superschema"
>>();
15
16
const
doStuff = (arg: MySchema) => arg;
17
doStuff(z.parse(mySchema, { name:
"hello there"
}));
18
19
// inheritance
Callers
1
brand.test.ts
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected