codegraph
codegraph copied to clipboard
fix(extraction): extract type refs from interface property_signature …
…type annotations
Types that appear only in interface property signatures (e.g. value?: Partial<IPage>) were not producing UnresolvedReferences, so the resolver never built references edges for them. Impact analysis consequently missed files that import-type only these interface-property types.
Add a property_signature branch in visitNode: when inside a class-like node (includes interfaces) and the language supports type annotations, call extractTypeAnnotations with the parent (interface) node ID as the edge source. No property node is created — only unresolved references.