Skip to content

Commit

Permalink
(docs) troubleshooting on lang="ts" not working
Browse files Browse the repository at this point in the history
  • Loading branch information
dummdidumm committed Aug 16, 2020
1 parent f91541c commit 6855b2b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/preprocessors/typescript.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ Hit `ctrl-shift-p` or `cmd-shift-p` on mac, type `svelte restart`, and select `S

## Troubleshooting / FAQ

### I cannot use TS inside my script even when `lang="ts"` is present

Make sure to follow the [setup instructions](/packages/svelte-vscode#setup)

### How do I type reactive assignments? / I get an "implicitly has type 'any' error"

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:
Expand Down

0 comments on commit 6855b2b

Please sign in to comment.