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

Method noteExternal

ark/aot/usage.ts:226–231  ·  view source on GitHub ↗
(specifier: string)

Source from the content-addressed store, hash-verified

224 else this.edgesByTarget.set(id, [edge])
225 }
226 const noteExternal = (specifier: string) => {
227 if (isArkSpecifier(specifier)) return
228 const id = this.program.resolve(specifier, module.id)
229 if (id === undefined || !this.program.modules.has(id))
230 this.used.add("external")
231 }
232 for (const statement of module.program.body) {
233 if (statement.type === "ImportDeclaration") {
234 if (statement.importKind === "type") continue

Callers

nothing calls this directly

Calls 4

isArkSpecifierFunction · 0.85
resolveMethod · 0.65
hasMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected