diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index 5047af5a38c..c00f37c260d 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -1125,15 +1125,15 @@ interface Array { * Returns a string representation of an array. The elements are converted to string using their toLocalString methods. */ toLocaleString(): string; + /** + * Removes the last element from an array and returns it. + */ + pop(): T | undefined; /** * Appends new elements to an array, and returns the new length of the array. * @param items New elements of the Array. */ push(...items: T[]): number; - /** - * Removes the last element from an array and returns it. - */ - pop(): T | undefined; /** * Combines two or more arrays. * @param items Additional items to add to the end of array1.