Angular Signal Generators
    Preparing search index...

    Interface TransformedSignal<TIn, TOut>

    This is like a writable signal, but the inputs and outputs are different types.

    interface TransformedSignal<TIn, TOut> {
        "[SIGNAL]": unknown;
        asReadonly(): Signal<TOut>;
        set(value: TIn): void;
        update(updateFn: (value: TIn) => TIn): void;
        (): TOut;
    }

    Type Parameters

    • TIn

      The input type used in set and update.

    • TOut

      The output type used in asReadonly or when this is called as a signal.

    Hierarchy (View Summary)

    Index

    Methods

    Properties

    Methods

    Properties

    "[SIGNAL]": unknown