Use z.core.$ZodIssue from @zod/core instead, especially if you are building a library on top of Zod.
z.core.$ZodIssue
@zod/core
Deprecated
Use
z.core.$ZodIssue
from@zod/core
instead, especially if you are building a library on top of Zod.