(error: PathedIssue)
| 78 | // a standalone validator's issue, or one another copy of arktype wrote, holds |
| 79 | // no propString, so its path is written as arktype would write it |
| 80 | const propStringOf = (error: PathedIssue): string => |
| 81 | error.propString ?? stringifyPath(error.path) |
| 82 | |
| 83 | const addEntry = <v>(result: Record<string, v[]>, k: string, value: v) => { |
| 84 | if (hasOwn(result, k)) result[k].push(value) |
no test coverage detected