Open
Description
Describe the problem
I just noticed it's not possible to use generics in a raw snippet declaration:
{#snippet mySnippet<T extends { prop: string }>(item: T)}
<div>{item.prop}</div>
{/snippet}
Is it intentional? Is such a feature expected to be supported in the future? Snippets passed as props do support generics, so I think this should be added, in my opinion.
Describe the proposed solution
Add full TypeScript support for snippets in the markup
Importance
nice to have