Skip to content

Commit af70cef

Browse files
committed
ValueOptions -> StateOptions
1 parent 9f34f7c commit af70cef

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

packages/svelte/src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,6 +352,6 @@ export type MountOptions<Props extends Record<string, any> = Record<string, any>
352352
props: Props;
353353
});
354354

355-
export { ValueOptions as StateOptions } from './internal/client/types.js';
355+
export { StateOptions } from './internal/client/types.js';
356356

357357
export * from './index-client.js';

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** @import { Source, ValueOptions } from '#client' */
1+
/** @import { Source } from '#client' */
22
import { DEV } from 'esm-env';
33
import { UNINITIALIZED } from '../../constants.js';
44
import { tracing_mode_flag } from '../flags/index.js';

packages/svelte/src/internal/client/reactivity/sources.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/** @import { Derived, Effect, Reaction, Source, Value, ValueOptions } from '#client' */
1+
/** @import { Derived, Effect, Reaction, Source, Value } from '#client' */
22
import { DEV } from 'esm-env';
33
import {
44
active_reaction,

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export interface Signal {
77
wv: number;
88
}
99

10-
export interface ValueOptions {
10+
export interface StateOptions {
1111
onchange?: () => unknown;
1212
}
1313

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import type { Store } from '#shared';
22
import { STATE_SYMBOL } from './constants.js';
3-
import type { Effect, Source, Value, Reaction, ValueOptions } from './reactivity/types.js';
3+
import type { Effect, Source, Value, Reaction } from './reactivity/types.js';
44

55
type EventCallback = (event: Event) => boolean;
66
export type EventCallbackMap = Record<string, EventCallback | EventCallback[]>;

0 commit comments

Comments
 (0)