From cf7aecaf0a7350d43675ee47e4cc841cf50fa62f Mon Sep 17 00:00:00 2001
From: Harry Allen <66224939+HarryAllen1@users.noreply.github.com>
Date: Wed, 23 Oct 2024 13:40:37 -0700
Subject: [PATCH] avoid reserved words as variables
---
documentation/docs/07-misc/07-v5-migration-guide.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/documentation/docs/07-misc/07-v5-migration-guide.md b/documentation/docs/07-misc/07-v5-migration-guide.md
index 7005a44b4c7e..deffca288d03 100644
--- a/documentation/docs/07-misc/07-v5-migration-guide.md
+++ b/documentation/docs/07-misc/07-v5-migration-guide.md
@@ -107,7 +107,7 @@ In Svelte 5, the `$props` rune makes this straightforward without any additional
export { klass as class};---
+++let { class: klass, ...rest } = $props();+++
-
+
```
> [!DETAILS] Why we did this