-
-
Notifications
You must be signed in to change notification settings - Fork 223
Closed
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't working
Description
When module script has lang="ts", the problematic piece of code is highlighted incorrectly.
To Reproduce
Here is a simple piece of code, which generates an warning about unused export property data:
<script context="module" lang="ts">
</script>
<script lang="ts">
export let data: Object = {}
</script>What gets highlighted:
The error and the error message are correct, the just show up at an unexpected place.
Expected behavior
Here is what happens if I remove lang="ts" from the module script, which is the expected behavior
System
- OS: Mac OS
- IDE: VSCode
- Plugin/Package: Svelte for VSCode
Metadata
Metadata
Assignees
Labels
FixedFixed in master branch. Pending production release.Fixed in master branch. Pending production release.bugSomething isn't workingSomething isn't working

