Bug Report
🔎 Search Terms
parameter hints spread
🕗 Version & Regression Information
- This is the behavior in every version I tried, and I reviewed the FAQ for entries about
spread
⏯ Playground Link
Playground link with relevant code
💻 Code
functionmyFn(a1: number,a2: number,a3: number){}constfirstTwoArgs=[1,2]asconst;// Put your caret here and press ctrl/cmd + shift + space// ||// \/myFn(...firstTwoArgs,);🙁 Actual behavior
a2 is highlighted:

🙂 Expected behavior
a3 is highlighted
Related issues
This is not to be confused with #47327, which is about inlay hints rather than parameter hints. Though possibly the same fix might apply here as well.
Bug Report
🔎 Search Terms
parameter hints spread🕗 Version & Regression Information
spread⏯ Playground Link
Playground link with relevant code
💻 Code
🙁 Actual behavior
a2is highlighted:🙂 Expected behavior
a3is highlightedRelated issues
This is not to be confused with #47327, which is about inlay hints rather than parameter hints. Though possibly the same fix might apply here as well.