JavaScript over TypeScript for SvelteKit codebase #4429
Answered
by
geoffrich
hanneswidrig
asked this question in
Q&A
-
Hello, not sure if this is the correct spot to ask this question. I am curious why SvelteKit appears to written in JavaScript while Svelte itself is written in TypeScript? |
Beta Was this translation helpful? Give feedback.
Answered by
geoffrich
Mar 23, 2022
Replies: 1 comment
-
Note that SvelteKit is still typed, but uses JSDoc instead of TypeScript. You can find some tweets from Rich Harris about this, but it comes down to a few reasons:
Maintainers have said in the past that Kit could go back to TypeScript after 1.0, but so far JSDoc types are working well for the project. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hanneswidrig
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Note that SvelteKit is still typed, but uses JSDoc instead of TypeScript. You can find some tweets from Rich Harris about this, but it comes down to a few reasons:
Maintainers have said in the past that Kit could go back to TypeScript after 1.0, but so far JSDoc types are working well for the project.