-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Closed
Closed
Copy link
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: LS: Signature HelpInformation in editor tooltips when invoking a function callInformation in editor tooltips when invoking a function callHelp WantedYou can do thisYou can do this
Milestone
Description
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
function myFn(a1: number, a2: number, a3: number) {
}
const firstTwoArgs = [1, 2] as const;
// Put your caret here and press ctrl/cmd + shift + space
// ||
// \/
myFn(...firstTwoArgs, );π Actual behavior
π 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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: LS: Signature HelpInformation in editor tooltips when invoking a function callInformation in editor tooltips when invoking a function callHelp WantedYou can do thisYou can do this
