svelte-import-issue-repro Svelte Themes

Svelte Import Issue Repro

A reproduction for named import issues in .svelte files.

svelte-import-issue-repro

Currently while using the svelte vscode extension completions for named imports are broken.

For example type:

<script lang="ts">
    import { N }
</script>

This will prompt to complete with import { NAMED } from '$lib/named';.

However when accepting the completion it will have a trailing }.

<script lang="ts">
    import { NAMED } from '$lib/named';}
</script>

This isn't an issue in any *.ts files including files with the + prefix.

Top categories

Loading Svelte Themes