diff --git a/underscore/underscore.d.ts b/underscore/underscore.d.ts index 8f8e32d370..6d26dc9c02 100644 --- a/underscore/underscore.d.ts +++ b/underscore/underscore.d.ts @@ -3670,8 +3670,8 @@ interface UnderscoreStatic { * @param predicate Predicate function. * @param context `this` object in `iterator`, optional. */ - findKey(obj: _.Dictionary, predicate: _.ObjectIterator, context? : any): T - + findKey(obj: _.Dictionary, predicate: _.ObjectIterator, context? : any): string; + /** * Return a copy of the object, filtered to only have values for the whitelisted keys * (or array of valid keys).