docs(mvr-static): clarify static name detection - #1218
clud-bot[bot] wants to merge 1 commit into
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
|
|
| ```ts | ||
| const pkg = '@org/app'; | ||
| const interpolated = `${pkg}::coin::Coin`; // Type is not detected. | ||
| const concatenated = pkg + '::coin::Coin'; // Type is not detected. |
There was a problem hiding this comment.
typescript can infer these, I wonder how hard it would be for us to do the same
There was a problem hiding this comment.
@clud-bot can you investigate if there is an easy way to extract constant strings like these (without pulling in large dependencies). (could we use the typescript compiler api for this)
There was a problem hiding this comment.
@clud-bot don't make the changes, just report findings
Description
Clarify how
mvr-staticscans source text for package names and types, with concrete literal examples. Document unsupported dynamic construction such as interpolation, concatenation, variables, imports, and helpers, along with scan-scope caveats.Test plan
npx --yes prettier@3.9.6 --check packages/mvr-static/README.mdgit diff --checkAI Assistance Notice
🤖 Generated with Clud · View thread