Skip to content

fix: account for added code in the request range of ts-plugin inlay hint#2387

Merged
jasonlyu123 merged 1 commit into
sveltejs:masterfrom
jasonlyu123:inlay-hint-range
Jun 3, 2024
Merged

fix: account for added code in the request range of ts-plugin inlay hint#2387
jasonlyu123 merged 1 commit into
sveltejs:masterfrom
jasonlyu123:inlay-hint-range

Conversation

@jasonlyu123

Copy link
Copy Markdown
Member

https://discord.com/channels/457912077277855764/689494103380983930/1246860009699283065

It isn't because the variable is unused but because the text span doesn't account for added code so the variable isn't in the range.

@jasonlyu123 jasonlyu123 merged commit 89ee707 into sveltejs:master Jun 3, 2024
@jasonlyu123 jasonlyu123 deleted the inlay-hint-range branch June 3, 2024 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant