mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-06 13:11:46 +00:00
Make _.flatten(array, bool) slightly more general
This commit is contained in:
Vendored
+1
-1
@@ -790,7 +790,7 @@ declare module _ {
|
||||
* @param deep Specify a deep flatten.
|
||||
* @return `array` flattened.
|
||||
**/
|
||||
flatten<T>(array: RecursiveList<T>, isDeep: boolean): T[];
|
||||
flatten<T>(array: RecursiveList<T>, isDeep: boolean): List<T> | RecursiveList<T>;
|
||||
}
|
||||
|
||||
interface LoDashArrayWrapper<T> {
|
||||
|
||||
Reference in New Issue
Block a user