Skip to content

Improve refine with type guards#727

Merged
colinhacks merged 1 commit into
colinhacks:masterfrom
DenisFrezzato:improve-refinement-type
Oct 26, 2021
Merged

Improve refine with type guards#727
colinhacks merged 1 commit into
colinhacks:masterfrom
DenisFrezzato:improve-refinement-type

Conversation

@DenisFrezzato

Copy link
Copy Markdown
Contributor

This PR improves the type signature of refine so the type of provided type guards is not lost.

@colinhacks colinhacks merged commit fdd7084 into colinhacks:master Oct 26, 2021
@colinhacks

colinhacks commented Oct 26, 2021

Copy link
Copy Markdown
Owner

Great idea and great PR! Thanks Denis!

Merged in zod@3.11.6

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.

2 participants