Closed broad-well closed 1 year ago
I spent some time trying to fix this, but unfortunately it will require lots of engineering hours as far as I understand
@tomblachut I will take a look, maybe we need some magic knowledge there :)
Perhaps this is related to #249
@hiluw not really, destructuring is handled separately from basic variables
Same thing for $: ({ isPaused }: StoreData = $store);
Migrated to WEB-53209 Svelte: Unresolved variable false-negative for destructured reactive declaration references
To reproduce this issue, try the following:
This is a valid segment that is semantically similar to
let [a, b, c] = [1, 2, 3]
. It compiles and behaves as expected, but the plugin claims thata
,b
, andc
are unresolved variables or types.