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

Function issueFeaturesOf

ark/aot/unplugin.ts:639–645  ·  view source on GitHub ↗
(context: unknown)

Source from the content-addressed store, hash-verified

637 }
638 // a pruned build's issue features, once its scan has read every validator
639 const issueFeaturesOf = async (context: unknown) => {
640 const built = builtReadOf(context)
641 if (built) return built.issues
642 const build = buildOf(context)
643 const pending = pendingScans.get(build)
644 return (pending ? await pending.scanned : scansByBuild.get(build))?.issues
645 }
646 // the constants' module, or a runtime module with each read of one written
647 // as what it is, so the bundle needs no minifier to fold them
648 const loadIssueFeatures = async (context: unknown, id: string) => {

Callers 1

loadIssueFeaturesFunction · 0.85

Calls 3

builtReadOfFunction · 0.85
buildOfFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected