From b8ca925de0e6410836260c0bef95e768d13d315b Mon Sep 17 00:00:00 2001 From: Daniel Rosenwasser Date: Tue, 10 Jul 2018 14:47:24 -0700 Subject: [PATCH] Place 'pop' first in 'Array'. --- src/lib/es5.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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.