@@ -1236,7 +1236,7 @@ interface Array<T> {
12361236 /**
12371237 * Sorts an array.
12381238 * @param compareFn Function used to determine the order of the elements. It is expected to return
1239- * a negative value if first argument is less than second arguement , zero if they're equal and a positive
1239+ * a negative value if first argument is less than second argument , zero if they're equal and a positive
12401240 * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
12411241 */
12421242 sort ( compareFn ?: ( a : T , b : T ) => number ) : this;
@@ -1879,7 +1879,7 @@ interface Int8Array {
18791879 /**
18801880 * Sorts an array.
18811881 * @param compareFn Function used to determine the order of the elements. It is expected to return
1882- * a negative value if first argument is less than second arguement , zero if they're equal and a positive
1882+ * a negative value if first argument is less than second argument , zero if they're equal and a positive
18831883 * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
18841884 */
18851885 sort ( compareFn ?: ( a : number , b : number ) => number ) : this;
@@ -2155,7 +2155,7 @@ interface Uint8Array {
21552155 /**
21562156 * Sorts an array.
21572157 * @param compareFn Function used to determine the order of the elements. It is expected to return
2158- * a negative value if first argument is less than second arguement , zero if they're equal and a positive
2158+ * a negative value if first argument is less than second argument , zero if they're equal and a positive
21592159 * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
21602160 */
21612161 sort ( compareFn ?: ( a : number , b : number ) => number ) : this;
@@ -2431,7 +2431,7 @@ interface Uint8ClampedArray {
24312431 /**
24322432 * Sorts an array.
24332433 * @param compareFn Function used to determine the order of the elements. It is expected to return
2434- * a negative value if first argument is less than second arguement , zero if they're equal and a positive
2434+ * a negative value if first argument is less than second argument , zero if they're equal and a positive
24352435 * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
24362436 */
24372437 sort ( compareFn ?: ( a : number , b : number ) => number ) : this;
@@ -2705,7 +2705,7 @@ interface Int16Array {
27052705 /**
27062706 * Sorts an array.
27072707 * @param compareFn Function used to determine the order of the elements. It is expected to return
2708- * a negative value if first argument is less than second arguement , zero if they're equal and a positive
2708+ * a negative value if first argument is less than second argument , zero if they're equal and a positive
27092709 * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
27102710 */
27112711 sort ( compareFn ?: ( a : number , b : number ) => number ) : this;
@@ -2982,7 +2982,7 @@ interface Uint16Array {
29822982 /**
29832983 * Sorts an array.
29842984 * @param compareFn Function used to determine the order of the elements. It is expected to return
2985- * a negative value if first argument is less than second arguement , zero if they're equal and a positive
2985+ * a negative value if first argument is less than second argument , zero if they're equal and a positive
29862986 * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
29872987 */
29882988 sort ( compareFn ?: ( a : number , b : number ) => number ) : this;
@@ -3258,7 +3258,7 @@ interface Int32Array {
32583258 /**
32593259 * Sorts an array.
32603260 * @param compareFn Function used to determine the order of the elements. It is expected to return
3261- * a negative value if first argument is less than second arguement , zero if they're equal and a positive
3261+ * a negative value if first argument is less than second argument , zero if they're equal and a positive
32623262 * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
32633263 */
32643264 sort ( compareFn ?: ( a : number , b : number ) => number ) : this;
@@ -3533,7 +3533,7 @@ interface Uint32Array {
35333533 /**
35343534 * Sorts an array.
35353535 * @param compareFn Function used to determine the order of the elements. It is expected to return
3536- * a negative value if first argument is less than second arguement , zero if they're equal and a positive
3536+ * a negative value if first argument is less than second argument , zero if they're equal and a positive
35373537 * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
35383538 */
35393539 sort ( compareFn ?: ( a : number , b : number ) => number ) : this;
@@ -3809,7 +3809,7 @@ interface Float32Array {
38093809 /**
38103810 * Sorts an array.
38113811 * @param compareFn Function used to determine the order of the elements. It is expected to return
3812- * a negative value if first argument is less than second arguement , zero if they're equal and a positive
3812+ * a negative value if first argument is less than second argument , zero if they're equal and a positive
38133813 * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
38143814 */
38153815 sort ( compareFn ?: ( a : number , b : number ) => number ) : this;
@@ -4086,7 +4086,7 @@ interface Float64Array {
40864086 /**
40874087 * Sorts an array.
40884088 * @param compareFn Function used to determine the order of the elements. It is expected to return
4089- * a negative value if first argument is less than second arguement , zero if they're equal and a positive
4089+ * a negative value if first argument is less than second argument , zero if they're equal and a positive
40904090 * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
40914091 */
40924092 sort ( compareFn ?: ( a : number , b : number ) => number ) : this;
0 commit comments