mirror of https://github.com/sveltejs/svelte
fix: prevent false positives when detecting runes mode (#9599)
Move references from module scope to instance scope if we determined that these references are store subscriptions fixes #9580pull/9602/head
parent
f40efb2027
commit
13c6c273c6
@ -0,0 +1,5 @@
|
||||
---
|
||||
'svelte': patch
|
||||
---
|
||||
|
||||
fix: prevent false positives when detecting runes mode
|
@ -0,0 +1,8 @@
|
||||
<script>
|
||||
import { writable } from 'svelte/store';
|
||||
|
||||
export let initial;
|
||||
const state = writable(initial);
|
||||
</script>
|
||||
|
||||
<div>{$state}</div>
|
@ -0,0 +1 @@
|
||||
[]
|
Loading…
Reference in new issue