[docs] Show recommended method to use TypeScript

pull/8063/head
Endercheif 4 years ago committed by GitHub
parent 91f8764145
commit 27b55c59e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5,6 +5,9 @@ author: Orta Therox
authorURL: https://twitter.com/orta authorURL: https://twitter.com/orta
--- ---
*This blog post is outdated. The recommended way to create a Svelte project with TypeScript is using [Vite](https://vitejs.dev).
Run `npm create vite@latest myapp -- --template svelte-ts` for Vite to scaffold a project.*
It's been by far the most requested feature for a while, and it's finally here: Svelte officially supports TypeScript. It's been by far the most requested feature for a while, and it's finally here: Svelte officially supports TypeScript.
We think it'll give you a much nicer development experience — one that also scales beautifully to larger Svelte code bases — regardless of whether you use TypeScript or JavaScript. We think it'll give you a much nicer development experience — one that also scales beautifully to larger Svelte code bases — regardless of whether you use TypeScript or JavaScript.

Loading…
Cancel
Save