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

Function writeIssueFeatures

ark/aot/host.ts:515–518  ·  view source on GitHub ↗
(issues: IssueFeatures)

Source from the content-addressed store, hash-verified

513 /[/\\](?:@?ark[/\\]schema|arktype|ark[/\\]type)(?:[/\\]out)?[/\\]shared[/\\]issueFeatures\.[jt]s$/
514
515export const writeIssueFeatures = (issues: IssueFeatures): string =>
516 Object.entries(issues)
517 .map(([name, holds]) => `export const ${name} = ${holds}\n`)
518 .join("")
519
520// holdsExpression aside: it follows from the members a build bakes, which a
521// read it didn't see is checked against already

Callers 2

loadIssueFeaturesFunction · 0.90
loadEsbuildModulesFunction · 0.90

Calls 1

mapMethod · 0.65

Tested by

no test coverage detected