UNPKG

ngx-t-reports

Version:

Angular module for creating dynamic reports and dashboards. Supports various data sources, custom templates, and real-time updates.

13 lines (12 loc) 618 B
/** * Compares previous and current objects, returning only properties that changed. * - Properties in prev but not in current: set to undefined * - Properties in current but not in prev: included with current value * - Properties in both with different values: included with current value * * @example * // prev = {a: 8, b: 0}, current = {b: 5} * // result = {b: 5, a: undefined} */ export declare function getChangedProperties<T extends Record<string, any>>(prevPassed: T | null | undefined, currentPassed: T | null | undefined): Partial<T>; export declare function _isEqual(prev: any, next: any): boolean;