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
Copy file name to clipboardExpand all lines: src/lib/core.d.ts
+1-6Lines changed: 1 addition & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1011,12 +1011,7 @@ interface Array<T> {
1011
1011
* Combines two or more arrays.
1012
1012
* @param items Additional items to add to the end of array1.
1013
1013
*/
1014
-
concat<UextendsT[]>(...items: U[]): T[];
1015
-
/**
1016
-
* Combines two or more arrays.
1017
-
* @param items Additional items to add to the end of array1.
1018
-
*/
1019
-
concat(...items: T[]): T[];
1014
+
concat(...items: (T|T[])[]): T[];
1020
1015
/**
1021
1016
* Adds all the elements of an array separated by the specified separator string.
1022
1017
* @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