MCPcopy Create free account
hub / github.com/arktypeio/arktype / movedIssue

Function movedIssue

ark/schema/shared/issuesLean.ts:375–382  ·  view source on GitHub ↗
(issue: ArkIssue, path: PropertyKey[])

Source from the content-addressed store, hash-verified

373 : copy
374
375export const movedIssue = (issue: ArkIssue, path: PropertyKey[]): ArkIssue =>
376 notedAs(issue, {
377 code: issue.code,
378 path,
379 data: issue.data,
380 expected: issue.expected,
381 message: issue.message
382 })
383
384// the path as issues.ts writes it
385export const pathOf = (issue: {

Callers 1

mergeIssuesFunction · 0.70

Calls 1

notedAsFunction · 0.70

Tested by

no test coverage detected