Skip to content

Commit 9aba861

Browse files
committed
tweak annotations
1 parent e4c3422 commit 9aba861

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/svelte/src/internal/client/types.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ export type ComponentContext = {
4444
/** onMount callbacks */
4545
m: Array<() => any>;
4646
};
47-
/** if `$:` statements are allowed to run (ensures they only run once per render) */
47+
/** `$:` statements */
4848
r1: any[];
49-
/** if `$:` statements are allowed to run (ensures they only run once per render) */
49+
/** This tracks whether `$:` statements have run in the current cycle, to ensure they only run once */
5050
r2: Source<boolean>;
5151
};
5252
};

0 commit comments

Comments
 (0)