Skip to content

Commit 470d612

Browse files
authored
chore: tidy up (#16957)
1 parent d6d13ce commit 470d612

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

packages/svelte/src/ambient.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ declare namespace $state {
100100
* you must reassign it.
101101
*
102102
* Example:
103-
* ```ts
103+
* ```svelte
104104
* <script>
105105
* let items = $state.raw([0]);
106106
*
@@ -109,7 +109,7 @@ declare namespace $state {
109109
* };
110110
* </script>
111111
*
112-
* <button on:click={addItem}>
112+
* <button onclick={addItem}>
113113
* {items.join(', ')}
114114
* </button>
115115
* ```
@@ -124,7 +124,7 @@ declare namespace $state {
124124
* To take a static snapshot of a deeply reactive `$state` proxy, use `$state.snapshot`:
125125
*
126126
* Example:
127-
* ```ts
127+
* ```svelte
128128
* <script>
129129
* let counter = $state({ count: 0 });
130130
*

packages/svelte/src/internal/client/dom/blocks/boundary.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ import { queue_micro_task } from '../task.js';
2929
import * as e from '../../errors.js';
3030
import * as w from '../../warnings.js';
3131
import { DEV } from 'esm-env';
32-
import { Batch, current_batch, effect_pending_updates } from '../../reactivity/batch.js';
32+
import { Batch, effect_pending_updates } from '../../reactivity/batch.js';
3333
import { internal_set, source } from '../../reactivity/sources.js';
3434
import { tag } from '../../dev/tracing.js';
3535
import { createSubscriber } from '../../../../reactivity/create-subscriber.js';

packages/svelte/types/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3198,7 +3198,7 @@ declare namespace $state {
31983198
* you must reassign it.
31993199
*
32003200
* Example:
3201-
* ```ts
3201+
* ```svelte
32023202
* <script>
32033203
* let items = $state.raw([0]);
32043204
*
@@ -3207,7 +3207,7 @@ declare namespace $state {
32073207
* };
32083208
* </script>
32093209
*
3210-
* <button on:click={addItem}>
3210+
* <button onclick={addItem}>
32113211
* {items.join(', ')}
32123212
* </button>
32133213
* ```
@@ -3222,7 +3222,7 @@ declare namespace $state {
32223222
* To take a static snapshot of a deeply reactive `$state` proxy, use `$state.snapshot`:
32233223
*
32243224
* Example:
3225-
* ```ts
3225+
* ```svelte
32263226
* <script>
32273227
* let counter = $state({ count: 0 });
32283228
*

0 commit comments

Comments
 (0)