svelte-intellij icon indicating copy to clipboard operation
svelte-intellij copied to clipboard

destructed exports are not suggested

Open FluffyDiscord opened this issue 1 year ago • 0 comments

If we have

<script>
    let className

    export { className as class }
    export let test
</script>

IDE does not suggest exported class as a valid prop

obrazek

but the "normal" one works

obrazek

Both are valid in svelte https://svelte.dev/docs#component-format-script-1-export-creates-a-component-prop

FluffyDiscord avatar Aug 01 '22 18:08 FluffyDiscord