From b740252f30b5462620fb2db0c99b6b66cffb1289 Mon Sep 17 00:00:00 2001 From: Kenneth Kolstad Date: Tue, 3 Jun 2014 09:57:57 -0700 Subject: [PATCH] Define some and any for an object --- lodash/lodash.d.ts | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/lodash/lodash.d.ts b/lodash/lodash.d.ts index cf227c25e..594f20973 100644 --- a/lodash/lodash.d.ts +++ b/lodash/lodash.d.ts @@ -3933,6 +3933,14 @@ declare module _ { callback?: ListIterator, 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, thisArg?: any): boolean; + /** + * @see _.some + **/ + any( + collection: {}, + callback?: ListIterator<{}, boolean>, + thisArg?: any): boolean; + /** * @see _.some * @param pluckValue _.pluck style callback