Skip to content

Commit f562fd4

Browse files
tsc036pkozlowski-opensource
authored andcommitted
refactor(core): export signal setter and updater types for wiz (#61714)
Export signal setter and updater types for Wiz to use PR Close #61714
1 parent ccdbdf7 commit f562fd4

File tree

1 file changed

+2
-2
lines changed
  • packages/core/primitives/signals/src

1 file changed

+2
-2
lines changed

packages/core/primitives/signals/src/signal.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ export interface SignalNode<T> extends ReactiveNode {
3838
}
3939

4040
export type SignalBaseGetter<T> = (() => T) & {readonly [SIGNAL]: unknown};
41-
type SignalSetter<T> = (newValue: T) => void;
42-
type SignalUpdater<T> = (updateFn: (value: T) => T) => void;
41+
export type SignalSetter<T> = (newValue: T) => void;
42+
export type SignalUpdater<T> = (updateFn: (value: T) => T) => void;
4343

4444
// Note: Closure *requires* this to be an `interface` and not a type, which is why the
4545
// `SignalBaseGetter` type exists to provide the correct shape.

0 commit comments

Comments
 (0)