Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial stab at a TypeScript blog post #5101

Merged
merged 14 commits into from
Jul 21, 2020
4 changes: 2 additions & 2 deletions site/content/blog/2020-06-04-svelte-and-typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ The Svelte template has been extended with a script to convert it to a TypeScrip
```bash
npx degit sveltejs/template svelte-app
cd svelte-app
node scripts/updateTypeScriptVersion.js
node scripts/setupTypeScript.js
```

### Adding TypeScript support to your project
orta marked this conversation as resolved.
Show resolved Hide resolved
Expand All @@ -71,7 +71,7 @@ export default {
...,
plugins: [
svelte({
+ preprocess: autoPreprocess({ /* options */ })
+ preprocess: autoPreprocess({ /* options */ });
orta marked this conversation as resolved.
Show resolved Hide resolved
}).
+ typescript({ sourceMap: !production }),
]
Expand Down