You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/preprocessors/typescript.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -128,3 +128,13 @@ $: show = !!data.someKey; // <-- `show` now has type `boolean`
128
128
### Can I use TypeScript syntax inside the template/mustache tags?
129
129
130
130
At the moment, you cannot. Only `script`/`style` tags are preprocessed/transpiled. See [this issue](https://github.com/sveltejs/svelte/issues/4701) for more info.
131
+
132
+
### Why is VSCode not finding absolute paths for type imports?
133
+
134
+
You may need to set `baseUrl` in `tsconfig.json` at the project root to include (restart the language server to see this take effect):
0 commit comments