Create a new Svelte project with TypeScript support

Share this video with your friends

Send Tweet

๐ŸŽ‰๐ŸŽ‰๐ŸŽ‰

Svelte has added TypeScript support!

This has been one of most (if not the most) requested additions to Svelte and it's finally here - Svelte now comes with a TypeScript support out of the box!

In this quick lesson we're going to learn how to create a new Svelte project with TypeScript support, how to use <script lang="ts"> tags to use TypeScript in Svelte components and how to check the entire codebase for type-related issues with npx svelte-check