You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Adds all the elements of an array separated by the specified separator string.
1091
1091
* @param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.
@@ -1208,12 +1208,12 @@ interface Array<T> {
1208
1208
* Combines two or more arrays.
1209
1209
* @param items Additional items to add to the end of array1.
1210
1210
*/
1211
-
concat(...items: ConcatArray<T>[]): T[];
1211
+
concat<U>(...items: ConcatArray<U>[]): (T|U)[];
1212
1212
/**
1213
1213
* Combines two or more arrays.
1214
1214
* @param items Additional items to add to the end of array1.
* Adds all the elements of an array separated by the specified separator string.
1219
1219
* @param separator A string used to separate one element of an array from the next in the resulting String. If omitted, the array elements are separated with a comma.
0 commit comments