Skip to content

Commit ab91795

Browse files
committed
lint
1 parent 7b33b2a commit ab91795

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
@@ -240,12 +240,12 @@ declare namespace $effect {
240240
/**
241241
* The `$effect.active` rune is an advanced feature that indicates whether an effect or async `$derived` can be created in the current context.
242242
* Effects and async deriveds can only be created in root effects, which are created during component setup, or can be programmatically created via `$effect.root`.
243-
*
243+
*
244244
* Example:
245245
* ```svelte
246246
* <script>
247247
* console.log('in component setup', $effect.active()); // true
248-
*
248+
*
249249
* function onclick() {
250250
* console.log('after component setup', $effect.active()); // false
251251
* }
@@ -261,7 +261,7 @@ declare namespace $effect {
261261
* <button {onclick}>Click me!</button>
262262
* <button {ondblclick}>Click me twice!</button>
263263
* ```
264-
*
264+
*
265265
* https://svelte.dev/docs/svelte/$effect#$effect.active
266266
*/
267267
export function active(): boolean;

packages/svelte/src/internal/client/constants.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,4 +45,4 @@ export const DOCUMENT_FRAGMENT_NODE = 11;
4545
export const VALID_EFFECT_PARENT = 0;
4646
export const EFFECT_ORPHAN = 1;
4747
export const UNOWNED_DERIVED_PARENT = 2;
48-
export const EFFECT_TEARDOWN = 3;
48+
export const EFFECT_TEARDOWN = 3;

packages/svelte/types/index.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3314,12 +3314,12 @@ declare namespace $effect {
33143314
/**
33153315
* The `$effect.active` rune is an advanced feature that indicates whether an effect or async `$derived` can be created in the current context.
33163316
* Effects and async deriveds can only be created in root effects, which are created during component setup, or can be programmatically created via `$effect.root`.
3317-
*
3317+
*
33183318
* Example:
33193319
* ```svelte
33203320
* <script>
33213321
* console.log('in component setup', $effect.active()); // true
3322-
*
3322+
*
33233323
* function onclick() {
33243324
* console.log('after component setup', $effect.active()); // false
33253325
* }
@@ -3335,7 +3335,7 @@ declare namespace $effect {
33353335
* <button {onclick}>Click me!</button>
33363336
* <button {ondblclick}>Click me twice!</button>
33373337
* ```
3338-
*
3338+
*
33393339
* https://svelte.dev/docs/svelte/$effect#$effect.active
33403340
*/
33413341
export function active(): boolean;

0 commit comments

Comments
 (0)