Become a member
to unlock all features

Level Up!

Access all courses & lessons on egghead today and lock-in your price for life.


    Create a new Svelte project with TypeScript support



    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