node_modules/preact/debug/src/util.js in isomorfeus-preact-10.6.14 vs node_modules/preact/debug/src/util.js in isomorfeus-preact-10.6.15
- old
+ new
@@ -1,11 +1,11 @@
-/**
- * Assign properties from `props` to `obj`
- * @template O, P The obj and props types
- * @param {O} obj The object to copy properties to
- * @param {P} props The object to copy properties from
- * @returns {O & P}
- */
-export function assign(obj, props) {
- for (let i in props) obj[i] = props[i];
- return /** @type {O & P} */ (obj);
-}
+/**
+ * Assign properties from `props` to `obj`
+ * @template O, P The obj and props types
+ * @param {O} obj The object to copy properties to
+ * @param {P} props The object to copy properties from
+ * @returns {O & P}
+ */
+export function assign(obj, props) {
+ for (let i in props) obj[i] = props[i];
+ return /** @type {O & P} */ (obj);
+}