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 passing a function prop to a component that uses typescript, typescript will show an extra suggestion as an autocomplete for the method as it would do for normal TS objects but this doesn't make sense for Svelte components.
Note that this extra suggestion only shows up if you start typing without first manually popping the suggestions up (pressing CTRL + Space).
Describe the proposed solution
I was wondering if there is anyway to change this to either show a proper autocomplete suggestion for Svelte components like:
Or to not show that default typescript extra suggestion at all.
I wouldn't mind writing an extra property like I did in the top image, but what annoys me is that extra typescript suggestion which makes the suggestions look like this:
I'm not aware if this default behavior of typescript can be disabled or not, but since its used pretty often during development it can be a bit annoying.
Importance
nice to have
The text was updated successfully, but these errors were encountered:
Describe the problem
When passing a function prop to a component that uses typescript, typescript will show an extra suggestion as an autocomplete for the method as it would do for normal TS objects but this doesn't make sense for Svelte components.
Note that this extra suggestion only shows up if you start typing without first manually popping the suggestions up (pressing CTRL + Space).
Describe the proposed solution
I was wondering if there is anyway to change this to either show a proper autocomplete suggestion for Svelte components like:
Or to not show that default typescript extra suggestion at all.
I wouldn't mind writing an extra property like I did in the top image, but what annoys me is that extra typescript suggestion which makes the suggestions look like this:
I'm not aware if this default behavior of typescript can be disabled or not, but since its used pretty often during development it can be a bit annoying.
Importance
nice to have
The text was updated successfully, but these errors were encountered: