You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: TypeScript object type aliases omit properties with function types #5525
I have checked the Troubleshooting section in the README
Graphify extracts a method node for read(): number in an object type alias, as fixed in #5455. A property whose declared type is a function, such as read: () => number, still has no member node or calls edge when called through a typed receiver.
This affects contract navigation in a TypeScript monorepo. For example, an injected provider can expose operations as function-typed properties in a Readonly alias. Searching for callers of one of those operations then misses calls through the provider.
Environment
Graphify v0.9.121 / v8 at 0f22ae76, tree-sitter-typescript 0.23.2, Python 3.14.6 on macOS arm64.
Minimal reproduction
Save the following as port.ts in an empty directory.
Run graphify extract . --code-only --no-cluster. Inspect the member and call edges in the resulting graph.
python - <<'PY'import jsonfrom pathlib import Pathgraph = json.loads(Path("graphify-out/graph.json").read_text())labels = {node["id"]: node["label"] for node in graph["nodes"]}for edge in graph["edges"]: if edge["relation"] in {"method", "calls"}: print(labels[edge["source"]], edge["relation"], labels[edge["target"]])PY
Expected behavior
FilePort has member nodes for both .list() and .read(), with locations on the corresponding declarations. The graph has a calls edge from usePort() to each member.
Actual behavior
The graph contains .list() and its call. It omits .read() and the call to it.
Activity
github-actions commentedon Nov 26, 2026
Thanks for opening this issue, @rvitaliy. A maintainer will take a look soon.
If you would like to discuss it in real time, come say hi on our Discord server. For longer-form questions and ideas there is also GitHub Discussions.
To help us triage, please make sure the report includes what you expected, what actually happened, and the steps (and a small sample) to reproduce it.
chore(schema): consolidate this release's extraction changes into sch…
fix(typescript): extract function-typed alias properties