typescript 5.3.0-dev.20231024 → 5.3.0-dev.20231026

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -209,7 +209,7 @@ interface Int8Array {
209
209
  * Copies and sorts the array.
210
210
  * @param compareFn Function used to determine the order of the elements. It is expected to return
211
211
  * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
212
- * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
212
+ * value otherwise. If omitted, the elements are sorted in ascending order.
213
213
  * ```ts
214
214
  * const myNums = Uint8Array.from([11, 2, 22, 1]);
215
215
  * myNums.toSorted((a, b) => a - b) // Uint8Array(4) [1, 2, 11, 22]
@@ -273,7 +273,7 @@ interface Uint8Array {
273
273
  * Copies and sorts the array.
274
274
  * @param compareFn Function used to determine the order of the elements. It is expected to return
275
275
  * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
276
- * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
276
+ * value otherwise. If omitted, the elements are sorted in ascending order.
277
277
  * ```ts
278
278
  * const myNums = Uint8Array.from([11, 2, 22, 1]);
279
279
  * myNums.toSorted((a, b) => a - b) // Uint8Array(4) [1, 2, 11, 22]
@@ -345,7 +345,7 @@ interface Uint8ClampedArray {
345
345
  * Copies and sorts the array.
346
346
  * @param compareFn Function used to determine the order of the elements. It is expected to return
347
347
  * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
348
- * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
348
+ * value otherwise. If omitted, the elements are sorted in ascending order.
349
349
  * ```ts
350
350
  * const myNums = Uint8ClampedArray.from([11, 2, 22, 1]);
351
351
  * myNums.toSorted((a, b) => a - b) // Uint8ClampedArray(4) [1, 2, 11, 22]
@@ -409,7 +409,7 @@ interface Int16Array {
409
409
  * Copies and sorts the array.
410
410
  * @param compareFn Function used to determine the order of the elements. It is expected to return
411
411
  * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
412
- * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
412
+ * value otherwise. If omitted, the elements are sorted in ascending order.
413
413
  * ```ts
414
414
  * const myNums = Int16Array.from([11, 2, -22, 1]);
415
415
  * myNums.toSorted((a, b) => a - b) // Int16Array(4) [-22, 1, 2, 11]
@@ -481,7 +481,7 @@ interface Uint16Array {
481
481
  * Copies and sorts the array.
482
482
  * @param compareFn Function used to determine the order of the elements. It is expected to return
483
483
  * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
484
- * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
484
+ * value otherwise. If omitted, the elements are sorted in ascending order.
485
485
  * ```ts
486
486
  * const myNums = Uint16Array.from([11, 2, 22, 1]);
487
487
  * myNums.toSorted((a, b) => a - b) // Uint16Array(4) [1, 2, 11, 22]
@@ -545,7 +545,7 @@ interface Int32Array {
545
545
  * Copies and sorts the array.
546
546
  * @param compareFn Function used to determine the order of the elements. It is expected to return
547
547
  * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
548
- * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
548
+ * value otherwise. If omitted, the elements are sorted in ascending order.
549
549
  * ```ts
550
550
  * const myNums = Int32Array.from([11, 2, -22, 1]);
551
551
  * myNums.toSorted((a, b) => a - b) // Int32Array(4) [-22, 1, 2, 11]
@@ -617,7 +617,7 @@ interface Uint32Array {
617
617
  * Copies and sorts the array.
618
618
  * @param compareFn Function used to determine the order of the elements. It is expected to return
619
619
  * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
620
- * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
620
+ * value otherwise. If omitted, the elements are sorted in ascending order.
621
621
  * ```ts
622
622
  * const myNums = Uint32Array.from([11, 2, 22, 1]);
623
623
  * myNums.toSorted((a, b) => a - b) // Uint32Array(4) [1, 2, 11, 22]
@@ -689,7 +689,7 @@ interface Float32Array {
689
689
  * Copies and sorts the array.
690
690
  * @param compareFn Function used to determine the order of the elements. It is expected to return
691
691
  * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
692
- * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
692
+ * value otherwise. If omitted, the elements are sorted in ascending order.
693
693
  * ```ts
694
694
  * const myNums = Float32Array.from([11.25, 2, -22.5, 1]);
695
695
  * myNums.toSorted((a, b) => a - b) // Float32Array(4) [-22.5, 1, 2, 11.5]
@@ -761,7 +761,7 @@ interface Float64Array {
761
761
  * Copies and sorts the array.
762
762
  * @param compareFn Function used to determine the order of the elements. It is expected to return
763
763
  * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
764
- * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
764
+ * value otherwise. If omitted, the elements are sorted in ascending order.
765
765
  * ```ts
766
766
  * const myNums = Float64Array.from([11.25, 2, -22.5, 1]);
767
767
  * myNums.toSorted((a, b) => a - b) // Float64Array(4) [-22.5, 1, 2, 11.5]
@@ -833,7 +833,7 @@ interface BigInt64Array {
833
833
  * Copies and sorts the array.
834
834
  * @param compareFn Function used to determine the order of the elements. It is expected to return
835
835
  * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
836
- * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
836
+ * value otherwise. If omitted, the elements are sorted in ascending order.
837
837
  * ```ts
838
838
  * const myNums = BigInt64Array.from([11n, 2n, -22n, 1n]);
839
839
  * myNums.toSorted((a, b) => Number(a - b)) // BigInt64Array(4) [-22n, 1n, 2n, 11n]
@@ -905,7 +905,7 @@ interface BigUint64Array {
905
905
  * Copies and sorts the array.
906
906
  * @param compareFn Function used to determine the order of the elements. It is expected to return
907
907
  * a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
908
- * value otherwise. If omitted, the elements are sorted in ascending, ASCII character order.
908
+ * value otherwise. If omitted, the elements are sorted in ascending order.
909
909
  * ```ts
910
910
  * const myNums = BigUint64Array.from([11n, 2n, 22n, 1n]);
911
911
  * myNums.toSorted((a, b) => Number(a - b)) // BigUint64Array(4) [1n, 2n, 11n, 22n]