Skip to content

Commit 9386d04

Browse files
authored
(docs) update ts docs with official blog post
1 parent 445ca4b commit 9386d04

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/preprocessors/typescript.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# TypeScript Support
22

3+
[Official blog post](https://svelte.dev/blog/svelte-and-typescript)
4+
35
## Getting it to work in the editor
46

57
To tell us to treat your script tags as typescript, add a `type` or `lang` attribute to your script tags like so:
@@ -58,7 +60,7 @@ import typescript from '@rollup/plugin-typescript';
5860
}
5961
```
6062

61-
And this should work to enable full TypeScript checking in your Svelte files. For further discussion and a clonable template [see this issue](https://github.com/sveltejs/language-tools/issues/161).
63+
And this should work to enable full TypeScript checking in your Svelte files. For further information and a clonable template [see the official announcement blog post](https://svelte.dev/blog/svelte-and-typescript).
6264

6365
## Example configuration for the editor
6466

0 commit comments

Comments
 (0)