diff --git a/underscore/underscore.d.ts b/underscore/underscore.d.ts index c118e8020..f46173ff3 100644 --- a/underscore/underscore.d.ts +++ b/underscore/underscore.d.ts @@ -3271,9 +3271,9 @@ interface _Chain { /** * Adds one or more elements to the end of an array and returns the new length of the array. * @param item The elements to add to the end of the array. - * @return The new length property of the object upon which the method was called. + * @return The array with the element added to the end. **/ - push(...item: Array): _ChainSingle; + push(...item: Array): _Chain; /** * Reverses an array in place. The first array element becomes the last and the last becomes the first. @@ -3320,9 +3320,9 @@ interface _Chain { /** * Adds one or more elements to the beginning of an array and returns the new length of the array. * @param items The elements to add to the front of the array. - * @return The new length property of the object upon which the method was called. + * @return The array with the element added to the beginning. **/ - unshift(...items: Array): _ChainSingle; + unshift(...items: Array): _Chain; /********** * * Chaining *