--- a/dist/esm/utils/zod.mjs +++ b/dist/esm/utils/zod.mjs @@ -70,7 +70,7 @@ } return instanceofZodTypeKind(type, 'string'); }; -export const zodSupportsCoerce = 'coerce' in z; +export const zodSupportsCoerce = true; export const instanceofZodTypeCoercible = (_type) => { const type = unwrapZodType(_type, false); return (instanceofZodTypeKind(type, 'number') ||