Open
Description
The return type can already be optionally chained from schema.safeParse():
https://github.com/colinhacks/zod/blob/main/packages/zod/src/v3/types.ts#L145-L156
It would be nice to have SPR removed from the public api to prevent it from being used redundantly
I could work on a PR to remove this but it is probably going to be a breaking change
Metadata
Metadata
Assignees
Labels
No labels