mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 07:47:04 +00:00
Update "compact" in underscore/index.d.ts
See https://github.com/DefinitelyTyped/DefinitelyTyped/blob/81b3b60696aeb6cab25c323219483f7fcf9c30ce/types/lodash/common/array.d.ts#L50
This commit is contained in:
Vendored
+1
-1
@@ -856,7 +856,7 @@ declare module _ {
|
||||
* @param array Array to compact.
|
||||
* @return Copy of `array` without false values.
|
||||
**/
|
||||
compact<T>(array: _.List<T>): T[];
|
||||
compact<T>(array: _.List<T | null | undefined | false | "" | 0> | null | undefined): T[]
|
||||
|
||||
/**
|
||||
* Flattens a nested array (the nesting can be to any depth). If you pass shallow, the array will
|
||||
|
||||
Reference in New Issue
Block a user