diff --git a/src/lib/es5.d.ts b/src/lib/es5.d.ts index c0e22a6005f..42c6018aed1 100644 --- a/src/lib/es5.d.ts +++ b/src/lib/es5.d.ts @@ -1236,7 +1236,7 @@ interface Array { /** * Sorts an 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 arguement, zero if they're equal and a positive + * a negative value if first argument is less than second argument, zero if they're equal and a positive * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order. */ sort(compareFn?: (a: T, b: T) => number): this; @@ -1879,7 +1879,7 @@ interface Int8Array { /** * Sorts an 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 arguement, zero if they're equal and a positive + * a negative value if first argument is less than second argument, zero if they're equal and a positive * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order. */ sort(compareFn?: (a: number, b: number) => number): this; @@ -2155,7 +2155,7 @@ interface Uint8Array { /** * Sorts an 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 arguement, zero if they're equal and a positive + * a negative value if first argument is less than second argument, zero if they're equal and a positive * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order. */ sort(compareFn?: (a: number, b: number) => number): this; @@ -2431,7 +2431,7 @@ interface Uint8ClampedArray { /** * Sorts an 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 arguement, zero if they're equal and a positive + * a negative value if first argument is less than second argument, zero if they're equal and a positive * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order. */ sort(compareFn?: (a: number, b: number) => number): this; @@ -2705,7 +2705,7 @@ interface Int16Array { /** * Sorts an 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 arguement, zero if they're equal and a positive + * a negative value if first argument is less than second argument, zero if they're equal and a positive * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order. */ sort(compareFn?: (a: number, b: number) => number): this; @@ -2982,7 +2982,7 @@ interface Uint16Array { /** * Sorts an 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 arguement, zero if they're equal and a positive + * a negative value if first argument is less than second argument, zero if they're equal and a positive * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order. */ sort(compareFn?: (a: number, b: number) => number): this; @@ -3258,7 +3258,7 @@ interface Int32Array { /** * Sorts an 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 arguement, zero if they're equal and a positive + * a negative value if first argument is less than second argument, zero if they're equal and a positive * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order. */ sort(compareFn?: (a: number, b: number) => number): this; @@ -3533,7 +3533,7 @@ interface Uint32Array { /** * Sorts an 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 arguement, zero if they're equal and a positive + * a negative value if first argument is less than second argument, zero if they're equal and a positive * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order. */ sort(compareFn?: (a: number, b: number) => number): this; @@ -3809,7 +3809,7 @@ interface Float32Array { /** * Sorts an 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 arguement, zero if they're equal and a positive + * a negative value if first argument is less than second argument, zero if they're equal and a positive * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order. */ sort(compareFn?: (a: number, b: number) => number): this; @@ -4086,7 +4086,7 @@ interface Float64Array { /** * Sorts an 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 arguement, zero if they're equal and a positive + * a negative value if first argument is less than second argument, zero if they're equal and a positive * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order. */ sort(compareFn?: (a: number, b: number) => number): this;