diff --git a/underscore/underscore.d.ts b/underscore/underscore.d.ts index bec1dca8c..c0812265e 100644 --- a/underscore/underscore.d.ts +++ b/underscore/underscore.d.ts @@ -973,24 +973,24 @@ interface UnderscoreStatic { from?: number): number; /** - * Returns the first index of an element in `array` where the predicate truth test passes - * @param array The array to search for the index of the first element where the predicate truth test passes. - * @param predicate Predicate function. - * @param context `this` object in `predicate`, optional. - * @return Returns the index of an element in `array` where the predicate truth test passes or -1.` - **/ + * Returns the first index of an element in `array` where the predicate truth test passes + * @param array The array to search for the index of the first element where the predicate truth test passes. + * @param predicate Predicate function. + * @param context `this` object in `predicate`, optional. + * @return Returns the index of an element in `array` where the predicate truth test passes or -1.` + **/ findIndex( array: _.List, predicate: _.ListIterator, context?: any): number; /** - * Returns the last index of an element in `array` where the predicate truth test passes - * @param array The array to search for the index of the last element where the predicate truth test passes. - * @param predicate Predicate function. - * @param context `this` object in `predicate`, optional. - * @return Returns the index of an element in `array` where the predicate truth test passes or -1.` - **/ + * Returns the last index of an element in `array` where the predicate truth test passes + * @param array The array to search for the index of the last element where the predicate truth test passes. + * @param predicate Predicate function. + * @param context `this` object in `predicate`, optional. + * @return Returns the index of an element in `array` where the predicate truth test passes or -1.` + **/ findLastIndex( array: _.List, predicate: _.ListIterator, @@ -2178,13 +2178,13 @@ interface Underscore { lastIndexOf(value: T, from?: number): number; /** - * @see _.findIndex - **/ + * @see _.findIndex + **/ findIndex(array: _.List, predicate: _.ListIterator, context?: any): number; /** - * @see _.findLastIndex - **/ + * @see _.findLastIndex + **/ findLastIndex(array: _.List, predicate: _.ListIterator, context?: any): number; /** @@ -3096,13 +3096,13 @@ interface _Chain { lastIndexOf(value: T, from?: number): _ChainSingle; /** - * @see _.findIndex - **/ + * @see _.findIndex + **/ findIndex(predicate: _.ListIterator, context?: any): _Chain; /** - * @see _.findLastIndex - **/ + * @see _.findLastIndex + **/ findLastIndex(predicate: _.ListIterator, context?: any): _Chain; /**