2525*
2626* - If a property key is present in multiple sources, the property from the last source that defines the key prevails.
2727* - The target object is mutated.
28+ * - Both string and symbol properties are copied.
2829*
2930* @param target - target object
3031* @param source - source object
@@ -51,6 +52,7 @@ declare function assign<T extends object, U>( target: T, source: U ): T & U;
5152*
5253* - If a property key is present in multiple sources, the property from the last source that defines the key prevails.
5354* - The target object is mutated.
55+ * - Both string and symbol properties are copied.
5456*
5557* @param target - target object
5658* @param source1 - first source object
@@ -67,6 +69,7 @@ declare function assign<T extends object, U, V>( target: T, source1: U, source2:
6769*
6870* - If a property key is present in multiple sources, the property from the last source that defines the key prevails.
6971* - The target object is mutated.
72+ * - Both string and symbol properties are copied.
7073*
7174* @param target - target object
7275* @param source1 - first source object
@@ -84,6 +87,7 @@ declare function assign<T extends object, U, V, W>( target: T, source1: U, sourc
8487*
8588* - If a property key is present in multiple sources, the property from the last source that defines the key prevails.
8689* - The target object is mutated.
90+ * - Both string and symbol properties are copied.
8791*
8892* @param target - target object
8993* @param source - source object(s)
0 commit comments