Closed
Description
Hi all 👋
Describe the bug
When using typescript in components with context="module"
diagnostics are hinted on wrong line/character.
To Reproduce
Create a component using TS and module="context"
that contains type error. For example
<script context="module" lang="typescript">
const asd: string = true;
</script>
Expected behavior
Typescript errors should be placed under correct lines/characters for context="module"
components.
System (please complete the following information):
- OS: MacOS
- IDE: VSCode
- Package:
svelte-language-server@0.10.131
- Plugin version:
v102.1.0
Additional context
Working on a solution, might open a PR soon.