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
* @param items Additional items to add to the end of array1.
1024
1024
*/
1025
-
concat(...items: T[]): T[];
1025
+
concat(...items: T[][]): T[];
1026
+
/**
1027
+
* Combines two or more arrays.
1028
+
* @param items Additional items to add to the end of array1.
1029
+
*/
1030
+
concat(...items: (T | T[])[]): T[];
1026
1031
/**
1027
1032
* Adds all the elements of an array separated by the specified separator string.
1028
1033
* @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.
@@ -1124,6 +1129,11 @@ interface Array<T> {
1124
1129
* Removes the last element from an array and returns it.
1125
1130
*/
1126
1131
pop(): T | undefined;
1132
+
/**
1133
+
* Combines two or more arrays.
1134
+
* @param items Additional items to add to the end of array1.
1135
+
*/
1136
+
concat(...items: T[][]): T[];
1127
1137
/**
1128
1138
* Combines two or more arrays.
1129
1139
* @param items Additional items to add to the end of array1.
* @param items Additional items to add to the end of array1.
1024
1024
*/
1025
-
concat(...items: T[]): T[];
1025
+
concat(...items: T[][]): T[];
1026
+
/**
1027
+
* Combines two or more arrays.
1028
+
* @param items Additional items to add to the end of array1.
1029
+
*/
1030
+
concat(...items: (T|T[])[]): T[];
1026
1031
/**
1027
1032
* Adds all the elements of an array separated by the specified separator string.
1028
1033
* @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.
@@ -1124,6 +1129,11 @@ interface Array<T> {
1124
1129
* Removes the last element from an array and returns it.
1125
1130
*/
1126
1131
pop(): T|undefined;
1132
+
/**
1133
+
* Combines two or more arrays.
1134
+
* @param items Additional items to add to the end of array1.
1135
+
*/
1136
+
concat(...items: T[][]): T[];
1127
1137
/**
1128
1138
* Combines two or more arrays.
1129
1139
* @param items Additional items to add to the end of array1.
* @param items Additional items to add to the end of array1.
1024
1024
*/
1025
-
concat(...items: T[]): T[];
1025
+
concat(...items: T[][]): T[];
1026
+
/**
1027
+
* Combines two or more arrays.
1028
+
* @param items Additional items to add to the end of array1.
1029
+
*/
1030
+
concat(...items: (T | T[])[]): T[];
1026
1031
/**
1027
1032
* Adds all the elements of an array separated by the specified separator string.
1028
1033
* @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.
@@ -1124,6 +1129,11 @@ interface Array<T> {
1124
1129
* Removes the last element from an array and returns it.
1125
1130
*/
1126
1131
pop(): T | undefined;
1132
+
/**
1133
+
* Combines two or more arrays.
1134
+
* @param items Additional items to add to the end of array1.
1135
+
*/
1136
+
concat(...items: T[][]): T[];
1127
1137
/**
1128
1138
* Combines two or more arrays.
1129
1139
* @param items Additional items to add to the end of array1.
0 commit comments