typescript 5.8.0-dev.20250116 → 5.8.0-dev.20250117
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.
- package/lib/_tsc.js +1 -1
- package/lib/lib.es2023.array.d.ts +2 -2
- package/lib/lib.es5.d.ts +1 -1
- package/lib/typescript.js +1 -1
- package/package.json +2 -2
package/lib/_tsc.js
CHANGED
@@ -18,7 +18,7 @@ and limitations under the License.
|
|
18
18
|
|
19
19
|
// src/compiler/corePublic.ts
|
20
20
|
var versionMajorMinor = "5.8";
|
21
|
-
var version = `${versionMajorMinor}.0-dev.
|
21
|
+
var version = `${versionMajorMinor}.0-dev.20250117`;
|
22
22
|
|
23
23
|
// src/compiler/core.ts
|
24
24
|
var emptyArray = [];
|
@@ -49,7 +49,7 @@ interface Array<T> {
|
|
49
49
|
* Returns a copy of an array with its elements sorted.
|
50
50
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
51
51
|
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
52
|
-
* value otherwise. If omitted, the elements are sorted in ascending,
|
52
|
+
* value otherwise. If omitted, the elements are sorted in ascending, UTF-16 code unit order.
|
53
53
|
* ```ts
|
54
54
|
* [11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]
|
55
55
|
* ```
|
@@ -127,7 +127,7 @@ interface ReadonlyArray<T> {
|
|
127
127
|
* Copies and sorts the array.
|
128
128
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
129
129
|
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
130
|
-
* value otherwise. If omitted, the elements are sorted in ascending,
|
130
|
+
* value otherwise. If omitted, the elements are sorted in ascending, UTF-16 code unit order.
|
131
131
|
* ```ts
|
132
132
|
* [11, 2, 22, 1].toSorted((a, b) => a - b) // [1, 2, 11, 22]
|
133
133
|
* ```
|
package/lib/lib.es5.d.ts
CHANGED
@@ -1384,7 +1384,7 @@ interface Array<T> {
|
|
1384
1384
|
* This method mutates the array and returns a reference to the same array.
|
1385
1385
|
* @param compareFn Function used to determine the order of the elements. It is expected to return
|
1386
1386
|
* a negative value if the first argument is less than the second argument, zero if they're equal, and a positive
|
1387
|
-
* value otherwise. If omitted, the elements are sorted in ascending,
|
1387
|
+
* value otherwise. If omitted, the elements are sorted in ascending, UTF-16 code unit order.
|
1388
1388
|
* ```ts
|
1389
1389
|
* [11,2,22,1].sort((a, b) => a - b)
|
1390
1390
|
* ```
|
package/lib/typescript.js
CHANGED
@@ -2285,7 +2285,7 @@ module.exports = __toCommonJS(typescript_exports);
|
|
2285
2285
|
|
2286
2286
|
// src/compiler/corePublic.ts
|
2287
2287
|
var versionMajorMinor = "5.8";
|
2288
|
-
var version = `${versionMajorMinor}.0-dev.
|
2288
|
+
var version = `${versionMajorMinor}.0-dev.20250117`;
|
2289
2289
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
2290
2290
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
2291
2291
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "typescript",
|
3
3
|
"author": "Microsoft Corp.",
|
4
4
|
"homepage": "https://www.typescriptlang.org/",
|
5
|
-
"version": "5.8.0-dev.
|
5
|
+
"version": "5.8.0-dev.20250117",
|
6
6
|
"license": "Apache-2.0",
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
8
8
|
"keywords": [
|
@@ -116,5 +116,5 @@
|
|
116
116
|
"node": "20.1.0",
|
117
117
|
"npm": "8.19.4"
|
118
118
|
},
|
119
|
-
"gitHead": "
|
119
|
+
"gitHead": "7901a397214e8c7b39de8954eecc707dce8cb099"
|
120
120
|
}
|