A simple old/new difference for a single property

interface PropertyDiff<T> {
    new: T;
    old: T;
}

Type Parameters

  • T

    Type of the property

Properties

Properties

new: T

New value of the property

old: T

Old value of the property