@@ -1236,7 +1236,7 @@ interface Array<T> {
1236
1236
/**
1237
1237
* Sorts an array.
1238
1238
* @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
1240
1240
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
1241
1241
*/
1242
1242
sort ( compareFn ?: ( a : T , b : T ) => number ) : this;
@@ -1879,7 +1879,7 @@ interface Int8Array {
1879
1879
/**
1880
1880
* Sorts an array.
1881
1881
* @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
1883
1883
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
1884
1884
*/
1885
1885
sort ( compareFn ?: ( a : number , b : number ) => number ) : this;
@@ -2155,7 +2155,7 @@ interface Uint8Array {
2155
2155
/**
2156
2156
* Sorts an array.
2157
2157
* @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
2159
2159
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
2160
2160
*/
2161
2161
sort ( compareFn ?: ( a : number , b : number ) => number ) : this;
@@ -2431,7 +2431,7 @@ interface Uint8ClampedArray {
2431
2431
/**
2432
2432
* Sorts an array.
2433
2433
* @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
2435
2435
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
2436
2436
*/
2437
2437
sort ( compareFn ?: ( a : number , b : number ) => number ) : this;
@@ -2705,7 +2705,7 @@ interface Int16Array {
2705
2705
/**
2706
2706
* Sorts an array.
2707
2707
* @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
2709
2709
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
2710
2710
*/
2711
2711
sort ( compareFn ?: ( a : number , b : number ) => number ) : this;
@@ -2982,7 +2982,7 @@ interface Uint16Array {
2982
2982
/**
2983
2983
* Sorts an array.
2984
2984
* @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
2986
2986
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
2987
2987
*/
2988
2988
sort ( compareFn ?: ( a : number , b : number ) => number ) : this;
@@ -3258,7 +3258,7 @@ interface Int32Array {
3258
3258
/**
3259
3259
* Sorts an array.
3260
3260
* @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
3262
3262
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
3263
3263
*/
3264
3264
sort ( compareFn ?: ( a : number , b : number ) => number ) : this;
@@ -3533,7 +3533,7 @@ interface Uint32Array {
3533
3533
/**
3534
3534
* Sorts an array.
3535
3535
* @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
3537
3537
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
3538
3538
*/
3539
3539
sort ( compareFn ?: ( a : number , b : number ) => number ) : this;
@@ -3809,7 +3809,7 @@ interface Float32Array {
3809
3809
/**
3810
3810
* Sorts an array.
3811
3811
* @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
3813
3813
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
3814
3814
*/
3815
3815
sort ( compareFn ?: ( a : number , b : number ) => number ) : this;
@@ -4086,7 +4086,7 @@ interface Float64Array {
4086
4086
/**
4087
4087
* Sorts an array.
4088
4088
* @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
4090
4090
* value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
4091
4091
*/
4092
4092
sort ( compareFn ?: ( a : number , b : number ) => number ) : this;
0 commit comments