Repository navigation
Conversation
Follow up to #2169, which named every unnamed parameter in Flow function types `v`, `v<index>` or `rest`. This replaces those placeholders with descriptive names, taken from the implementation or call site wherever there is one. The only change beyond names is dropping two `void` parameters that are never passed, on `resolve` in `IncrementalBundler` and `cb` in `bundle.flow.js`. Changelog: Internal Test plan: Compiled each changed file outside `flow-typed/` with the repo's Babel config before and after this change, and the output is identical. API snapshots are unchanged.
Metro review: Looks goodRisk: low · Commit: This PR replaces the No findings. Verified
Not run: No benchmarks: compiled output is byte-identical, so runtime cost can't change. The full Jest suite wasn't run, for the same reason. Windows wasn't tested because the change only touches erased types and no Windows machine was available. An initial combined lint and snapshot command was denied by the session's permission check because it used a shell variable, so those checks were rerun as separate commands: repo-wide Automated review by Claude. Advisory only: it never approves or blocks, and a maintainer makes the call. |
Follow up to #2169, which named every unnamed parameter in Flow function types
v,v<index>orrest. This replaces those placeholders with descriptive names, taken from the implementation or call site wherever there is one.The only change beyond names is dropping two
voidparameters that are never passed, onresolveinIncrementalBundlerandcbinbundle.flow.js.Changelog: Internal
Test plan:
Compiled each changed file outside
flow-typed/with the repo's Babel config before and after this change, and the output is identical. API snapshots are unchanged.