core / type
BaseObjectSignal
Object mutation methods for object signals.
Object mutation methods for object signals.
Signature
export type BaseObjectSignal<T extends object> = {
/** Performs a shallow merge with the current value */
set: (partiallyNewObjectValue: Partial<T>) => void;
};
Type Parameters
- The object type
Remarks
- The
set()method performs a shallow merge with the current value