We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7efffc7 commit aca6a7dCopy full SHA for aca6a7d
lib/index.js
@@ -25,9 +25,9 @@ function getSource(compilation, name) {
25
/**
26
* Merges the provided objects, ensuring that the resulting object has its properties in sorted order.
27
* @template T
28
- * @param {T} obj1
29
- * @param {Partial<T> | undefined} obj2
30
- * @returns {*}
+ * @param {T} obj1 First object to merge.
+ * @param {Partial<T> | undefined} obj2 Second object to merge, can be undefined.
+ * @returns {*} A new object containing the merged properties of obj1 and obj2, with keys sorted.
31
*/
32
function mergeObjectsAndSortKeys(obj1, obj2) {
33
const mergedObj = Object.assign({}, obj1, obj2);
0 commit comments