Microsoft/TypeScript

JS/TS Better inlay hint positioning in multiline rest parameters

Open

#48.377 aperta il 22 mar 2022

Vedi su GitHub
 (5 commenti) (0 reazioni) (0 assegnatari)TypeScript (6726 fork)batch import
Domain: LS: Inlay HintsEffort: CasualExperimentation NeededHelp Wanted

Metriche repository

Star
 (48.455 star)
Metriche merge PR
 (Merge medio 6g 17h) (9 PR mergiate in 30 g)

Descrizione

The inlay hint positioning in multiline rest parameters is odd.

Considering this function

const setTags = (...tags) => { /* ... */ }

How the hint is positioned: image

What I expected it to be: image

Guida contributor