Repository navigation
Proposal: a phased approach to improving JavaScript/TypeScript flow detection #695
Replies: 1 comment
|
Thanks for breaking this into phases. Some of it already exists on main, so let me map it out. Callbacks passed but not called: the parser already handles this. Express: Aliases and re-exports: mostly done. I would take the flows-side callback work first: follow REFERENCES edges during tracing, probably behind a flag or with a depth limit. Please start with a small PR that adds a JS fixture under |
Uh oh!
There was an error while loading. Please reload this page.
Context
The project FAQ notes that JavaScript and Go flow detection still need improvement. JavaScript and TypeScript syntax can already be indexed, but reconstructing complete execution flows is harder because many relationships are dynamic or defined by framework conventions.
I would like to discuss a small and testable improvement before opening an issue or pull request.
Problem
Some common JavaScript and TypeScript patterns are difficult to represent as complete execution flows:
For example:
All reactions