TypeScript esbelto
Pure Svelte + TypeScript
npx degit sveltejs/template my-svelte-ts-app
cd my-svelte-ts-app
node scripts/setupTypeScript.js
or install Sveltekit and enable TypeScript when it asks
npm init svelte@next my-app
cd my-app
npm install
npm run dev -- --open
shahul