-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
Description
Describe the problem
I assume there are plans for TypeScript typing support but I didn't see any public issues created yet. When using lang="ts"
, #snippet
displays ESLint errors and every parameter is typed as any, it would be wonderful if we could get support for typed parameters within the {#snippet ...}
definition.

Describe the proposed solution
Ability to type snippet parameters to ensure type safety.
Alternatives considered
N/A
Importance
would make my life easier
max-got, david-plugge, jhwz, jamesbirtles, FeldrinH and 4 more