Microsoft/TypeScript

JS/TS Better inlay hint positioning in multiline rest parameters

Aperta

#48.377 aperta il 22 mar 2022

 (5 commenti) (0 reazioni) (0 assegnatari)TypeScript (13.395 fork)batch import
Domain: LS: Inlay HintsEffort: CasualExperimentation NeededHelp Wanted

Metriche repository

Star
 (108.860 stelle)
Metriche merge PR
 (Metriche PR in attesa)

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