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

Function writeSharedCollisionMessage

ark/aot/declare.ts:692–693  ·  view source on GitHub ↗
(file: string)

Source from the content-addressed store, hash-verified

690 `No tsconfig.json is in ${cwd} or a directory above it. Create ${join(cwd, "tsconfig.json")}, as { "compilerOptions": { "rootDir": "src", "outDir": "dist" }, "include": ["src"] }, or name the one tsc builds with as --tsconfig, or as "tsconfig" in ark.json.`
691
692export const writeSharedCollisionMessage = (file: string): string =>
693 `${file} would be declared at ${sharedDeclarationFile}, which holds the shapes of the build's Types. Rename ${file}.`
694
695// a driver that can't tell a build from a rebuild can't declare
696export const refuseDeclare = (opts: object | undefined, name: string): void => {

Callers 2

openNativeFunction · 0.90
layoutOfFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected