diff --git a/site/content/faq/400-how-can-i-get-syntax-highlighting.md b/site/content/faq/400-how-can-i-get-syntax-highlighting.md index 90f10b254f..96a80e3c32 100644 --- a/site/content/faq/400-how-can-i-get-syntax-highlighting.md +++ b/site/content/faq/400-how-can-i-get-syntax-highlighting.md @@ -1,5 +1,5 @@ --- -question: How can I get VSCode to syntax-highlight my .svelte files? +question: How can I get VS Code to syntax-highlight my .svelte files? --- -There is an [official VSCode extension for Svelte](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode), however it is still in the **beta** testing stage, and not all issues have been ironed out. \ No newline at end of file +There is an [official VS Code extension for Svelte](https://marketplace.visualstudio.com/items?itemName=svelte.svelte-vscode). diff --git a/site/content/faq/500-what-about-typescript-support.md b/site/content/faq/500-what-about-typescript-support.md index 7cd0ccbe54..adfd63764e 100644 --- a/site/content/faq/500-what-about-typescript-support.md +++ b/site/content/faq/500-what-about-typescript-support.md @@ -1,10 +1,11 @@ --- -question: What about Typescript support? +question: What about TypeScript support? --- -You need to install a preprocessor such as [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess). Work is ongoing to improve [IDE support](https://github.com/sveltejs/language-tools/issues/83). You can also run type checking from the command line with [svelte-check](https://www.npmjs.com/package/svelte-check). +You need to install a preprocessor such as [svelte-preprocess](https://github.com/sveltejs/svelte-preprocess). You can run type checking from the command line with [svelte-check](https://www.npmjs.com/package/svelte-check). + +To declare the type of a reactive variable in a Svelte template, you should use the following syntax: -To declare the type of a reactive variable in a Svelte template, you can use the following syntax: ``` let x: number; $: x = count + 1;