Skip to content

Why isn't script preprocessing enabled by default in TypeScript template? #15732

Answered by brunnerh
gyzerok asked this question in Q&A
Discussion options

You must be logged in to vote

Svelte 5 has basic TypeScript support built-in without the need for a pre-processor.
You only need it for features that need more that type erasure (e.g. its enum keyword).

So the main questions are whether you need those features and whether the loss in performance due to additional processing is acceptable.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@gyzerok
Comment options

Answer selected by gyzerok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants