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

File optional.test.ts

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

Source from the content-addressed store, hash-verified

1// @ts-ignore TS6133
2import { expect, expectTypeOf, test } from "vitest";
3
4import * as z from "zod/v4";

Callers

nothing calls this directly

Calls 13

optionalMethod · 0.80
stringMethod · 0.80
defaultMethod · 0.80
nullableMethod · 0.80
undefinedMethod · 0.80
pipeMethod · 0.80
transformMethod · 0.80
numberMethod · 0.80
nullishMethod · 0.80
exactOptionalMethod · 0.80
parseMethod · 0.65
safeParseMethod · 0.65

Tested by

no test coverage detected