( errors: Issues, merged: Issues, prefix: array<PropertyKey> )
| 339 | export const throwOnDefault = (errors: Issues): never => errors.throw() |
| 340 | |
| 341 | export const mergeIssues = ( |
| 342 | errors: Issues, |
| 343 | merged: Issues, |
| 344 | prefix: array<PropertyKey> |
| 345 | ): void => { |
| 346 | for (const issue of merged.issues) { |
| 347 | errors._.push( |
| 348 | listsUnions && issue._m ? |
| 349 | issue._m(prefix) |
| 350 | : movedIssue(issue, [...prefix, ...issue.path]) |
| 351 | ) |
| 352 | } |
| 353 | } |
| 354 | |
| 355 | // whether an issue's message is a sentence of its own, as issues.ts's isCustomIssue |
| 356 | export const isCustomIssue = (issue: ArkIssue): boolean => |
nothing calls this directly
no test coverage detected