Microsoft/TypeScript

JS/TS Better inlay hint positioning in multiline rest parameters

Open

#48.377 aberto em 22 de mar. de 2022

Ver no GitHub
 (5 comments) (0 reactions) (0 assignees)TypeScript (6.726 forks)batch import
Domain: LS: Inlay HintsEffort: CasualExperimentation NeededHelp Wanted

Métricas do repositório

Stars
 (48.455 stars)
Métricas de merge de PR
 (Mesclagem média 6d 17h) (9 fundiu PRs em 30d)

Description

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

Guia do colaborador