You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using lang="ts" on a script tag, an unused prop warning is displayed, but on the line above the on containing said variable, if there's more than one prop. (see images below. the unused variable is "otherVar")
Running svelte-check also reports the wron line
To Reproduce
1- Create a new project and run setupTypescript
2- inside App.svelte, add a new prop
Expected behavior
The yellow line highlighting the position of the unused prop will be correctly placed under the unused one
Screenshots
Using TS:
Not using TS:
System (please complete the following information):
OS: Ubuntu 20.04
IDE: VSCode
Plugin/Package: Svelte for VSCode and svelte-check
The text was updated successfully, but these errors were encountered:
When using lang="ts" on a script tag, an unused prop warning is displayed, but on the line above the on containing said variable, if there's more than one prop. (see images below. the unused variable is "otherVar")
Running svelte-check also reports the wron line
To Reproduce
1- Create a new project and run setupTypescript
2- inside App.svelte, add a new prop
Expected behavior
The yellow line highlighting the position of the unused prop will be correctly placed under the unused one
Screenshots
Using TS:
Not using TS:
System (please complete the following information):
Svelte for VSCode
andsvelte-check
The text was updated successfully, but these errors were encountered: