Closed
Description
Bug Report
🔎 Search Terms
- inlay hints
- parameter hints
🕗 Version & Regression Information
4.4, not a regression
💻 Code
Turn on parameter name hints for the code:
function foo(bar: string) { }
const o = { bar: 'abc' }
foo(o.bar);🙁 Actual behavior
🙂 Expected behavior
I wonder if we should tread this case like foo(bar) instead, which does not generate a hint due to the "typescript.inlayHints.parameterNames.suppressWhenArgumentMatchesName": true setting?
Thoughts?
