-
-
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
Describe the bug
This code
language-tools/packages/language-server/src/plugins/typescript/features/DiagnosticsProvider.ts
Lines 132 to 136 in caf179a
| const is$$PropsError = | |
| isAfterSvelte2TsxPropsReturn( | |
| fragment.text, | |
| fragment.offsetAt(diagnostic.range.start) | |
| ) && diagnostic.message.includes('$$Props'); |
type $$Props = .. because the word $$Props doesnt show up then.
Reproduction
<script lang="ts">
interface ItemData {
x: number;
y: number;
}
type $$Props = ItemData;
export let x;
export let y:string;
</script>Expected behaviour
Error is shown
System Info
Windows, VS Code
Which package is the issue about?
Svelte for VS Code
Additional Information, eg. Screenshots
No response
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