MCPcopy
hub / github.com/colinhacks/zod / record.test.ts

File record.test.ts

packages/zod/src/v4/classic/tests/record.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { expect, expectTypeOf, test } from "vitest";
2import * as z from "zod/v4";
3
4test("type inference", () => {

Callers

nothing calls this directly

Calls 15

stringMethod · 0.80
booleanMethod · 0.80
pipeMethod · 0.80
transformMethod · 0.80
numberMethod · 0.80
refineMethod · 0.80
undefinedMethod · 0.80
optionalMethod · 0.80
andMethod · 0.80
overwriteMethod · 0.80
toJSONSchemaMethod · 0.80
parseMethod · 0.65

Tested by

no test coverage detected