Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/colinhacks/zod
/ files
Function
files
packages/zod/src/v4/classic/tests/to-json-schema.test.ts:1783–1785 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1781
const
FolderSchema = z.object({
1782
name: z.string(),
1783
get files() {
1784
return
z.array(FileSchema);
1785
},
1786
});
1787
1788
const
FileSchema = z.object({
Callers
nothing calls this directly
Calls
1
array
Method · 0.80
Tested by
no test coverage detected