Skip to content

Commit 6855b2b

Browse files
authored
(docs) troubleshooting on lang="ts" not working
1 parent f91541c commit 6855b2b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/preprocessors/typescript.md

+4
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ Hit `ctrl-shift-p` or `cmd-shift-p` on mac, type `svelte restart`, and select `S
4444

4545
## Troubleshooting / FAQ
4646

47+
### I cannot use TS inside my script even when `lang="ts"` is present
48+
49+
Make sure to follow the [setup instructions](/packages/svelte-vscode#setup)
50+
4751
### How do I type reactive assignments? / I get an "implicitly has type 'any' error"
4852

4953
The following code may throw an error like `Variable 'show' implicitly has type 'any' in some locations where its type cannot be determined.`, if you have stricter type settings:

0 commit comments

Comments
 (0)