This is the sample code for my blog post How to use Typescript with Svelte.
$ git clone https://github.com/codechips/svelte-and-typescript
$ cd svelte-and-typescript
$ yarn && yarn start
For more interesting stuff like this follow me on Twitter or check out my blog https://codechips.me