diff --git a/site/content/blog/2020-06-04-svelte-and-typescript.md b/site/content/blog/2020-06-04-svelte-and-typescript.md index c9ea2b7bae..e40b40e5ee 100644 --- a/site/content/blog/2020-06-04-svelte-and-typescript.md +++ b/site/content/blog/2020-06-04-svelte-and-typescript.md @@ -53,8 +53,8 @@ node scripts/updateTypeScriptVersion.js Before getting started, add the dependencies: ```bash -yarn add --dev svelte-preprocess @rollup/plugin-typescript @tsconfig/svelte svelte-check -npm install --save-dev svelte-preprocess @rollup/plugin-typescript @tsconfig/svelte svelte-check +yarn add --dev svelte-preprocess @rollup/plugin-typescript @tsconfig/svelte svelte-check typescript +npm install --save-dev svelte-preprocess @rollup/plugin-typescript @tsconfig/svelte svelte-check typescript ``` ##### 1. Compiling TypeScript @@ -64,7 +64,7 @@ You first need to set up [`svelte-preprocess`](https://github.com/sveltejs/svelt When in a rollup project, this would mean: ```diff -+ import preprocess from 'svelte-preprocess' ++ import autoPreprocess from 'svelte-preprocess' + import typescript from '@rollup/plugin-typescript'; export default {