Skip to content

Commit acba51a

Browse files
Sync svelte docs (#1619)
sync svelte docs Co-authored-by: svelte-docs-bot[bot] <196124396+svelte-docs-bot[bot]@users.noreply.github.com>
1 parent 068e087 commit acba51a

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

apps/svelte.dev/content/docs/svelte/98-reference/.generated/compile-errors.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ Cyclical dependency detected: %cycle%
199199
### const_tag_invalid_reference
200200

201201
```
202-
The `{@const %name% = ...}` declaration is not available in this snippet
202+
The `{@const %name% = ...}` declaration is not available in this snippet
203203
```
204204

205205
The following is an error:
@@ -453,6 +453,12 @@ This turned out to be buggy and unpredictable, particularly when working with de
453453
{/each}
454454
```
455455

456+
### each_key_without_as
457+
458+
```
459+
An `{#each ...}` block without an `as` clause cannot have a key
460+
```
461+
456462
### effect_invalid_placement
457463

458464
```

apps/svelte.dev/content/docs/svelte/98-reference/30-compiler-errors.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ Cyclical dependency detected: %cycle%
204204
### const_tag_invalid_reference
205205

206206
```
207-
The `{@const %name% = ...}` declaration is not available in this snippet
207+
The `{@const %name% = ...}` declaration is not available in this snippet
208208
```
209209

210210
The following is an error:
@@ -458,6 +458,12 @@ This turned out to be buggy and unpredictable, particularly when working with de
458458
{/each}
459459
```
460460

461+
### each_key_without_as
462+
463+
```
464+
An `{#each ...}` block without an `as` clause cannot have a key
465+
```
466+
461467
### effect_invalid_placement
462468

463469
```

0 commit comments

Comments
 (0)