We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ccdbdf7 commit f562fd4Copy full SHA for f562fd4
packages/core/primitives/signals/src/signal.ts
@@ -38,8 +38,8 @@ export interface SignalNode<T> extends ReactiveNode {
38
}
39
40
export type SignalBaseGetter<T> = (() => T) & {readonly [SIGNAL]: unknown};
41
-type SignalSetter<T> = (newValue: T) => void;
42
-type SignalUpdater<T> = (updateFn: (value: T) => T) => void;
+export type SignalSetter<T> = (newValue: T) => void;
+export type SignalUpdater<T> = (updateFn: (value: T) => T) => void;
43
44
// Note: Closure *requires* this to be an `interface` and not a type, which is why the
45
// `SignalBaseGetter` type exists to provide the correct shape.
0 commit comments