Unsignalize
Unsignalize<
T>:Textendsobject?{ [P in keyof T]: T[P] extends Signal<infer U> ? U : T[P] }:TextendsSignal<infer U> ?U:T
Defined in: core/signal/signal.types.ts:157
Unwrap a Signal type to its original type If the input is an object, it will unwrap all properties that are Signals
Type Parameters
• T
Examples
type Object = { a: Signal<number>, b: Signal<string> };type UnsignalizedObject = Unsignalize<Object>; // { a: number, b: string }type NumberSignal = Signal<number>;type Number = Unsignalize<NumberSignal>; // number