Skip to content

Commit 4a3baf7

Browse files
committed
Fix lint
1 parent 5280816 commit 4a3baf7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

packages/zod/src/v4/core/schemas.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,9 @@ export interface $ZodTypeInternals<out O = unknown, out I = unknown> {
114114
* @default Required
115115
*/
116116

117+
/** @internal */
117118
optin?: "optional" | undefined;
119+
/** @internal */
118120
optout?: "optional" | undefined;
119121

120122
/** @internal The set of literal values that will pass validation. Must be an exhaustive set. Used to determine optionality in z.record().

play.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { z } from "zod/v4";
22

3-
// z;
3+
z;
44
import { discriminatedUnion, literal, object, pipe, string, transform } from "zod/v4-mini";
55

66
const schemaWithPipe = discriminatedUnion("type", [

0 commit comments

Comments
 (0)