Signature help argument index is wrong with tuple union rest parameter #39228
Labels
Bug
A bug in TypeScript
Domain: Signature Help
Information in editor tooltips when invoking a function call
Fix Available
A PR has been opened for this issue
Milestone
Uh oh!
There was an error while loading. Please reload this page.
Expected: first parameter is considered the current parameter
Actual: second parameter is always the current parameter
https://www.typescriptlang.org/v2/play?ts=4.0.0-dev.20200623#code/PQKhFgCgAIWgBALgTwA4FNoG8AUA6AgQwCcBzAZwC5oBtcxYgSwDtSAaaep1gXWgB9azAK4BbAEbpiHLi3acGcngEpoAXgB80AG4B7RgBMAvlFjAoAM2HMAxoka7m0C7t34iZKrVmsZi3gJCYpLSCtzyPqQ8UKpYptAJUCaQlq44AIwATADMbMpAA
The text was updated successfully, but these errors were encountered: