@rpack-dev/core 0.1.10-dev-430964e → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/rpack-core.d.ts
CHANGED
|
@@ -625,15 +625,15 @@ export declare class Utils {
|
|
|
625
625
|
*
|
|
626
626
|
* This method is O(n * m) where n is the length of newArray and m is the length of oldArray
|
|
627
627
|
*
|
|
628
|
-
* @param oldArray The old array to compare against
|
|
629
628
|
* @param newArray The new array to compare
|
|
629
|
+
* @param oldArray The old array to compare against
|
|
630
630
|
* @param equality Optional function to determine equality between elements.
|
|
631
631
|
* Default compares elements using == operator
|
|
632
632
|
* @returns An object containing two arrays:
|
|
633
633
|
* - added: elements present in newArray but not in oldArray
|
|
634
634
|
* - removed: elements present in oldArray but not in newArray
|
|
635
635
|
*/
|
|
636
|
-
static diff<T>(
|
|
636
|
+
static diff<T>(newArray: T[], oldArray: T[], equality?: (a: T, b: T) => boolean): {
|
|
637
637
|
added: T[];
|
|
638
638
|
removed: T[];
|
|
639
639
|
};
|