Skip to content

Commit 65db409

Browse files
waediRich-Harris
andauthored
docs: typo in ## script_context_deprecated (#14694)
* Fix typo in ## script_context_deprecated Changed +++context+++ to +++module+++ * regenerate --------- Co-authored-by: Rich Harris <[email protected]>
1 parent 5e8d6ed commit 65db409

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

documentation/docs/98-reference/.generated/compile-warnings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -775,7 +775,7 @@ Reassignments of module-level declarations will not cause reactive statements to
775775
```
776776

777777
```svelte
778-
<script ---context="module"--- +++context+++>
778+
<script ---context="module"--- +++module+++>
779779
let foo = 'bar';
780780
</script>
781781
```

packages/svelte/messages/compile-warnings/template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ This code will work when the component is rendered on the client (which is why t
5757
> `context="module"` is deprecated, use the `module` attribute instead
5858
5959
```svelte
60-
<script ---context="module"--- +++context+++>
60+
<script ---context="module"--- +++module+++>
6161
let foo = 'bar';
6262
</script>
6363
```

0 commit comments

Comments
 (0)