mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
Concat second+ parameter can be plain value.
This commit is contained in:
2
lodash/lodash.d.ts
vendored
2
lodash/lodash.d.ts
vendored
@@ -501,7 +501,7 @@ declare module _ {
|
||||
* console.log(array);
|
||||
* // => [1]
|
||||
*/
|
||||
concat<T>(...values: (T[]|List<T>)[]) : T[];
|
||||
concat<T>(array: T[]|List<T>, ...values: (T|T[]|List<T>)[]) : T[];
|
||||
}
|
||||
|
||||
//_.difference
|
||||
|
||||
Reference in New Issue
Block a user