From 1dc1efbc4f251228ee5c8919dcd44d917700b014 Mon Sep 17 00:00:00 2001 From: Tim <65774333+timthedev07@users.noreply.github.com> Date: Fri, 27 Aug 2021 08:10:25 +0200 Subject: [PATCH] Update es5.d.ts (#45454) * Update es5.d.ts Fix grammar error. * Update src/lib/es5.d.ts * Update src/lib/es5.d.ts Co-authored-by: Daniel Rosenwasser --- src/lib/es5.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index 461d9897773..8fae5230d23 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -1261,7 +1261,7 @@ interface Array { * Sorts an array in place. * This method mutates the array and returns a reference to the same array. * @param compareFn Function used to determine the order of the elements. It is expected to return - * a negative value if first argument is less than second argument, zero if they're equal and a positive + * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order. * ```ts * [11,2,22,1].sort((a, b) => a - b)