mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Define some and any for an object
This commit is contained in:
Vendored
+16
@@ -3933,6 +3933,14 @@ declare module _ {
|
||||
callback?: ListIterator<T, boolean>,
|
||||
thisArg?: any): boolean;
|
||||
|
||||
/**
|
||||
* @see _.some
|
||||
**/
|
||||
some(
|
||||
collection: {},
|
||||
callback?: ListIterator<{}, boolean>,
|
||||
thisArg?: any): boolean;
|
||||
|
||||
/**
|
||||
* @see _.some
|
||||
* @param pluckValue _.pluck style callback
|
||||
@@ -4005,6 +4013,14 @@ declare module _ {
|
||||
callback?: ListIterator<T, boolean>,
|
||||
thisArg?: any): boolean;
|
||||
|
||||
/**
|
||||
* @see _.some
|
||||
**/
|
||||
any(
|
||||
collection: {},
|
||||
callback?: ListIterator<{}, boolean>,
|
||||
thisArg?: any): boolean;
|
||||
|
||||
/**
|
||||
* @see _.some
|
||||
* @param pluckValue _.pluck style callback
|
||||
|
||||
Reference in New Issue
Block a user