@nevware21/tripwire - v0.1.4
    Preparing search index...

    Interface IChangeResultValue<V>

    Result type for change assertions that provides details about the change.

    0.1.5

    interface IChangeResultValue<V = any> {
        delta?: number;
        initial: V;
        property?: string | number | symbol;
        value: V;
    }

    Type Parameters

    • V = any
    Index

    Properties

    delta?: number

    The amount of change (value - initial) if applicable.

    initial: V

    The value before the change.

    property?: string | number | symbol

    The name of the property that was monitored (if applicable).

    value: V

    The value after the change.