Skip to content

Commit dde7913

Browse files
authored
chore: minor tweaks (#16285)
1 parent 7914cb1 commit dde7913

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

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

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,17 @@ export const DESTROYED = 1 << 14;
1515
export const EFFECT_RAN = 1 << 15;
1616
/** 'Transparent' effects do not create a transition boundary */
1717
export const EFFECT_TRANSPARENT = 1 << 16;
18-
export const INSPECT_EFFECT = 1 << 18;
19-
export const HEAD_EFFECT = 1 << 19;
20-
export const EFFECT_PRESERVED = 1 << 20;
21-
export const EFFECT_IS_UPDATING = 1 << 21;
18+
export const INSPECT_EFFECT = 1 << 17;
19+
export const HEAD_EFFECT = 1 << 18;
20+
export const EFFECT_PRESERVED = 1 << 19;
21+
export const EFFECT_IS_UPDATING = 1 << 20;
2222

2323
export const STATE_SYMBOL = Symbol('$state');
2424
export const LEGACY_PROPS = Symbol('legacy props');
2525
export const LOADING_ATTR_SYMBOL = Symbol('');
2626
export const PROXY_PATH_SYMBOL = Symbol('proxy path');
2727

28-
// allow users to ignore aborted signal errors if `reason.stale`
28+
/** allow users to ignore aborted signal errors if `reason.name === 'StaleReactionError` */
2929
export const STALE_REACTION = new (class StaleReactionError extends Error {
3030
name = 'StaleReactionError';
3131
message = 'The reaction that called `getAbortSignal()` was re-run or destroyed';

0 commit comments

Comments
 (0)