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

Function writeVariantDependencyMessage

ark/aot/settings.ts:280–284  ·  view source on GitHub ↗
(
	name: string,
	variant: RuntimeVariant
)

Source from the content-addressed store, hash-verified

278 `precompile.dependencies names ${name}, which can't be resolved from ${project}. Name a package the program depends on.`
279
280export const writeVariantDependencyMessage = (
281 name: string,
282 variant: RuntimeVariant
283): string =>
284 `${name} runs on arktype, whose errors aren't instances of type.errors under ${writeVariantOption(variant)}. Precompile it with "aot" if its Types are static, or build ${writeWithoutVariant(variant)}.`

Callers 1

resolvePrecompileOptionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected