mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Fix concat to receive a splat of arrays
This commit is contained in:
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