---
"svelte": patch
---

fix: support `$state.snapshot` as part of variable declarations