mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-26 12:10:44 +08:00
Fix concat to receive a splat of arrays
This commit is contained in:
1 parent
2cc4331067
commit
b325840488
1 file changed
+1
-1
Vendored
+1
-1
@@ -3253,7 +3253,7 @@ interface _Chain<T> {
|
||||
* @param arr Arrays and/or values to concatenate into a new array. See the discussion below for details.
|
||||
* @return A new array comprised of the array on which it is called
|
||||
**/
|
||||
concat(...arr: Array<T>): _Chain<T>;
|
||||
concat(...arr: Array<T[]>): _Chain<T>;
|
||||
|
||||
/**
|
||||
* Join all elements of an array into a string.
|
||||
|
||||
Reference in new issue
Block a user