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?