Snowpack: Update app-template-svelte-typescript to work with Svelte鈥檚 TS support

Created on 27 Jul 2020  路  3Comments  路  Source: snowpackjs/snowpack

Svelte finally announced TypeScript support, which means the TypeScript Svelte template is (slightly) out-of-date: it uses a custom TS setup, and it should probably be updated to closely match the new setup recommended by the Svelte team.

Tasks would include:

  • updating <script> to <script lang="ts">
  • adding "extends": "@tsconfig/svelte/tsconfig.json" to tsconfig.json (and possibly deleting most if not all of the rest of the config)
  • updating the svelte and svelte-check dependency versions in both app-template-svelte and app-template-svelte-typescript
  • ??? (any other suggestions in that blog post 馃憜 would be welcome)

This would be a great first issue for someone!

good first issue help wanted

Most helpful comment

cc @davidleger95 no pressure at all but this is a good intro to the repo!

All 3 comments

cc @davidleger95 no pressure at all but this is a good intro to the repo!

Awesome! I鈥檒l take a look at it tomorrow 馃檪

Resolved as part of #660

Was this page helpful?
0 / 5 - 0 ratings