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?


