Skip to content

Conversation

jiji-hoon96
Copy link
Contributor

@jiji-hoon96 jiji-hoon96 commented Aug 14, 2025

Description

Implements .with() method to override input/output types while preserving validation logic.

Usage

// Basic usage
const schema = z.string().with<string, "CustomString">();

#4977 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant