diff --git a/packages/core/src/lib/map/map.ts b/packages/core/src/lib/map/map.ts index 286846e3e..8b2180aee 100644 --- a/packages/core/src/lib/map/map.ts +++ b/packages/core/src/lib/map/map.ts @@ -399,7 +399,7 @@ export function mapArray< // run beforeMap for the whole map operation if (beforeMap) { - beforeMap(sourceArray, destinationArray); + beforeMap(sourceArray, []); } // loop through each item and run map() for each