avancement planning
This commit is contained in:
+1
-1
@@ -113,7 +113,7 @@ class ZodError extends Error {
|
||||
return this.issues.length === 0;
|
||||
}
|
||||
flatten(mapper = (issue) => issue.message) {
|
||||
const fieldErrors = {};
|
||||
const fieldErrors = Object.create(null);
|
||||
const formErrors = [];
|
||||
for (const sub of this.issues) {
|
||||
if (sub.path.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user