typescript 5.9.0-dev.20250707 → 5.9.0-dev.20250709
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 +9 -2
- package/lib/lib.es5.d.ts +6 -2
- package/lib/typescript.js +9 -2
- 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.9";
|
21
|
-
var version = `${versionMajorMinor}.0-dev.
|
21
|
+
var version = `${versionMajorMinor}.0-dev.20250709`;
|
22
22
|
|
23
23
|
// src/compiler/core.ts
|
24
24
|
var emptyArray = [];
|
@@ -73399,6 +73399,9 @@ function createTypeChecker(host) {
|
|
73399
73399
|
}
|
73400
73400
|
function popContextualType() {
|
73401
73401
|
contextualTypeCount--;
|
73402
|
+
contextualTypeNodes[contextualTypeCount] = void 0;
|
73403
|
+
contextualTypes[contextualTypeCount] = void 0;
|
73404
|
+
contextualIsCache[contextualTypeCount] = void 0;
|
73402
73405
|
}
|
73403
73406
|
function findContextualNode(node, includeCaches) {
|
73404
73407
|
for (let i = contextualTypeCount - 1; i >= 0; i--) {
|
@@ -73415,6 +73418,8 @@ function createTypeChecker(host) {
|
|
73415
73418
|
}
|
73416
73419
|
function popInferenceContext() {
|
73417
73420
|
inferenceContextCount--;
|
73421
|
+
inferenceContextNodes[inferenceContextCount] = void 0;
|
73422
|
+
inferenceContexts[inferenceContextCount] = void 0;
|
73418
73423
|
}
|
73419
73424
|
function getInferenceContext(node) {
|
73420
73425
|
for (let i = inferenceContextCount - 1; i >= 0; i--) {
|
@@ -73425,11 +73430,13 @@ function createTypeChecker(host) {
|
|
73425
73430
|
}
|
73426
73431
|
function pushActiveMapper(mapper) {
|
73427
73432
|
activeTypeMappers[activeTypeMappersCount] = mapper;
|
73428
|
-
activeTypeMappersCaches[activeTypeMappersCount] = /* @__PURE__ */ new Map();
|
73433
|
+
activeTypeMappersCaches[activeTypeMappersCount] ?? (activeTypeMappersCaches[activeTypeMappersCount] = /* @__PURE__ */ new Map());
|
73429
73434
|
activeTypeMappersCount++;
|
73430
73435
|
}
|
73431
73436
|
function popActiveMapper() {
|
73432
73437
|
activeTypeMappersCount--;
|
73438
|
+
activeTypeMappers[activeTypeMappersCount] = void 0;
|
73439
|
+
activeTypeMappersCaches[activeTypeMappersCount].clear();
|
73433
73440
|
}
|
73434
73441
|
function findActiveMapper(mapper) {
|
73435
73442
|
for (let i = activeTypeMappersCount - 1; i >= 0; i--) {
|
package/lib/lib.es5.d.ts
CHANGED
@@ -1396,14 +1396,18 @@ interface Array<T> {
|
|
1396
1396
|
/**
|
1397
1397
|
* Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
1398
1398
|
* @param start The zero-based location in the array from which to start removing elements.
|
1399
|
-
* @param deleteCount The number of elements to remove.
|
1399
|
+
* @param deleteCount The number of elements to remove. Omitting this argument will remove all elements from the start
|
1400
|
+
* paramater location to end of the array. If value of this argument is either a negative number, zero, undefined, or a type
|
1401
|
+
* that cannot be converted to an integer, the function will evaluate the argument as zero and not remove any elements.
|
1400
1402
|
* @returns An array containing the elements that were deleted.
|
1401
1403
|
*/
|
1402
1404
|
splice(start: number, deleteCount?: number): T[];
|
1403
1405
|
/**
|
1404
1406
|
* Removes elements from an array and, if necessary, inserts new elements in their place, returning the deleted elements.
|
1405
1407
|
* @param start The zero-based location in the array from which to start removing elements.
|
1406
|
-
* @param deleteCount The number of elements to remove.
|
1408
|
+
* @param deleteCount The number of elements to remove. If value of this argument is either a negative number, zero,
|
1409
|
+
* undefined, or a type that cannot be converted to an integer, the function will evaluate the argument as zero and
|
1410
|
+
* not remove any elements.
|
1407
1411
|
* @param items Elements to insert into the array in place of the deleted elements.
|
1408
1412
|
* @returns An array containing the elements that were deleted.
|
1409
1413
|
*/
|
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.9";
|
2288
|
-
var version = `${versionMajorMinor}.0-dev.
|
2288
|
+
var version = `${versionMajorMinor}.0-dev.20250709`;
|
2289
2289
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
2290
2290
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
2291
2291
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
@@ -78010,6 +78010,9 @@ function createTypeChecker(host) {
|
|
78010
78010
|
}
|
78011
78011
|
function popContextualType() {
|
78012
78012
|
contextualTypeCount--;
|
78013
|
+
contextualTypeNodes[contextualTypeCount] = void 0;
|
78014
|
+
contextualTypes[contextualTypeCount] = void 0;
|
78015
|
+
contextualIsCache[contextualTypeCount] = void 0;
|
78013
78016
|
}
|
78014
78017
|
function findContextualNode(node, includeCaches) {
|
78015
78018
|
for (let i = contextualTypeCount - 1; i >= 0; i--) {
|
@@ -78026,6 +78029,8 @@ function createTypeChecker(host) {
|
|
78026
78029
|
}
|
78027
78030
|
function popInferenceContext() {
|
78028
78031
|
inferenceContextCount--;
|
78032
|
+
inferenceContextNodes[inferenceContextCount] = void 0;
|
78033
|
+
inferenceContexts[inferenceContextCount] = void 0;
|
78029
78034
|
}
|
78030
78035
|
function getInferenceContext(node) {
|
78031
78036
|
for (let i = inferenceContextCount - 1; i >= 0; i--) {
|
@@ -78036,11 +78041,13 @@ function createTypeChecker(host) {
|
|
78036
78041
|
}
|
78037
78042
|
function pushActiveMapper(mapper) {
|
78038
78043
|
activeTypeMappers[activeTypeMappersCount] = mapper;
|
78039
|
-
activeTypeMappersCaches[activeTypeMappersCount] = /* @__PURE__ */ new Map();
|
78044
|
+
activeTypeMappersCaches[activeTypeMappersCount] ?? (activeTypeMappersCaches[activeTypeMappersCount] = /* @__PURE__ */ new Map());
|
78040
78045
|
activeTypeMappersCount++;
|
78041
78046
|
}
|
78042
78047
|
function popActiveMapper() {
|
78043
78048
|
activeTypeMappersCount--;
|
78049
|
+
activeTypeMappers[activeTypeMappersCount] = void 0;
|
78050
|
+
activeTypeMappersCaches[activeTypeMappersCount].clear();
|
78044
78051
|
}
|
78045
78052
|
function findActiveMapper(mapper) {
|
78046
78053
|
for (let i = activeTypeMappersCount - 1; i >= 0; i--) {
|
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.9.0-dev.
|
5
|
+
"version": "5.9.0-dev.20250709",
|
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": "9e20e032effad965567d4a1e1c30d5433b0a3332"
|
120
120
|
}
|