typescript 6.0.0-dev.20251029 → 6.0.0-dev.20251030
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 +7 -11
- package/lib/typescript.js +9 -11
- 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 = "6.0";
|
|
21
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
21
|
+
var version = `${versionMajorMinor}.0-dev.20251030`;
|
|
22
22
|
|
|
23
23
|
// src/compiler/core.ts
|
|
24
24
|
var emptyArray = [];
|
|
@@ -84025,7 +84025,7 @@ function createTypeChecker(host) {
|
|
|
84025
84025
|
}
|
|
84026
84026
|
let noCache = false;
|
|
84027
84027
|
if (use & 2 /* AllowsAsyncIterablesFlag */) {
|
|
84028
|
-
|
|
84028
|
+
let iterationTypes = getIterationTypesOfIterableCached(type, asyncIterationTypesResolver) || getIterationTypesOfIterableFast(type, asyncIterationTypesResolver);
|
|
84029
84029
|
if (iterationTypes) {
|
|
84030
84030
|
if (iterationTypes === noIterationTypes && errorNode) {
|
|
84031
84031
|
noCache = true;
|
|
@@ -84033,6 +84033,10 @@ function createTypeChecker(host) {
|
|
|
84033
84033
|
return use & 8 /* ForOfFlag */ ? getAsyncFromSyncIterationTypes(iterationTypes, errorNode) : iterationTypes;
|
|
84034
84034
|
}
|
|
84035
84035
|
}
|
|
84036
|
+
iterationTypes = getIterationTypesOfIterableSlow(type, asyncIterationTypesResolver, errorNode, errorOutputContainer, noCache);
|
|
84037
|
+
if (iterationTypes !== noIterationTypes) {
|
|
84038
|
+
return iterationTypes;
|
|
84039
|
+
}
|
|
84036
84040
|
}
|
|
84037
84041
|
if (use & 1 /* AllowsSyncIterablesFlag */) {
|
|
84038
84042
|
let iterationTypes = getIterationTypesOfIterableCached(type, syncIterationTypesResolver) || getIterationTypesOfIterableFast(type, syncIterationTypesResolver);
|
|
@@ -84050,15 +84054,7 @@ function createTypeChecker(host) {
|
|
|
84050
84054
|
}
|
|
84051
84055
|
}
|
|
84052
84056
|
}
|
|
84053
|
-
|
|
84054
|
-
if (use & 2 /* AllowsAsyncIterablesFlag */) {
|
|
84055
|
-
const iterationTypes = getIterationTypesOfIterableSlow(type, asyncIterationTypesResolver, errorNode, errorOutputContainer, noCache);
|
|
84056
|
-
if (iterationTypes !== noIterationTypes) {
|
|
84057
|
-
return iterationTypes;
|
|
84058
|
-
}
|
|
84059
|
-
}
|
|
84060
|
-
if (use & 1 /* AllowsSyncIterablesFlag */) {
|
|
84061
|
-
let iterationTypes = getIterationTypesOfIterableSlow(type, syncIterationTypesResolver, errorNode, errorOutputContainer, noCache);
|
|
84057
|
+
iterationTypes = getIterationTypesOfIterableSlow(type, syncIterationTypesResolver, errorNode, errorOutputContainer, noCache);
|
|
84062
84058
|
if (iterationTypes !== noIterationTypes) {
|
|
84063
84059
|
if (use & 2 /* AllowsAsyncIterablesFlag */) {
|
|
84064
84060
|
iterationTypes = getAsyncFromSyncIterationTypes(iterationTypes, errorNode);
|
package/lib/typescript.js
CHANGED
|
@@ -2286,7 +2286,7 @@ module.exports = __toCommonJS(typescript_exports);
|
|
|
2286
2286
|
|
|
2287
2287
|
// src/compiler/corePublic.ts
|
|
2288
2288
|
var versionMajorMinor = "6.0";
|
|
2289
|
-
var version = `${versionMajorMinor}.0-dev.
|
|
2289
|
+
var version = `${versionMajorMinor}.0-dev.20251030`;
|
|
2290
2290
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2291
2291
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2292
2292
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -88631,7 +88631,7 @@ function createTypeChecker(host) {
|
|
|
88631
88631
|
}
|
|
88632
88632
|
let noCache = false;
|
|
88633
88633
|
if (use & 2 /* AllowsAsyncIterablesFlag */) {
|
|
88634
|
-
|
|
88634
|
+
let iterationTypes = getIterationTypesOfIterableCached(type, asyncIterationTypesResolver) || getIterationTypesOfIterableFast(type, asyncIterationTypesResolver);
|
|
88635
88635
|
if (iterationTypes) {
|
|
88636
88636
|
if (iterationTypes === noIterationTypes && errorNode) {
|
|
88637
88637
|
noCache = true;
|
|
@@ -88639,6 +88639,10 @@ function createTypeChecker(host) {
|
|
|
88639
88639
|
return use & 8 /* ForOfFlag */ ? getAsyncFromSyncIterationTypes(iterationTypes, errorNode) : iterationTypes;
|
|
88640
88640
|
}
|
|
88641
88641
|
}
|
|
88642
|
+
iterationTypes = getIterationTypesOfIterableSlow(type, asyncIterationTypesResolver, errorNode, errorOutputContainer, noCache);
|
|
88643
|
+
if (iterationTypes !== noIterationTypes) {
|
|
88644
|
+
return iterationTypes;
|
|
88645
|
+
}
|
|
88642
88646
|
}
|
|
88643
88647
|
if (use & 1 /* AllowsSyncIterablesFlag */) {
|
|
88644
88648
|
let iterationTypes = getIterationTypesOfIterableCached(type, syncIterationTypesResolver) || getIterationTypesOfIterableFast(type, syncIterationTypesResolver);
|
|
@@ -88656,15 +88660,7 @@ function createTypeChecker(host) {
|
|
|
88656
88660
|
}
|
|
88657
88661
|
}
|
|
88658
88662
|
}
|
|
88659
|
-
|
|
88660
|
-
if (use & 2 /* AllowsAsyncIterablesFlag */) {
|
|
88661
|
-
const iterationTypes = getIterationTypesOfIterableSlow(type, asyncIterationTypesResolver, errorNode, errorOutputContainer, noCache);
|
|
88662
|
-
if (iterationTypes !== noIterationTypes) {
|
|
88663
|
-
return iterationTypes;
|
|
88664
|
-
}
|
|
88665
|
-
}
|
|
88666
|
-
if (use & 1 /* AllowsSyncIterablesFlag */) {
|
|
88667
|
-
let iterationTypes = getIterationTypesOfIterableSlow(type, syncIterationTypesResolver, errorNode, errorOutputContainer, noCache);
|
|
88663
|
+
iterationTypes = getIterationTypesOfIterableSlow(type, syncIterationTypesResolver, errorNode, errorOutputContainer, noCache);
|
|
88668
88664
|
if (iterationTypes !== noIterationTypes) {
|
|
88669
88665
|
if (use & 2 /* AllowsAsyncIterablesFlag */) {
|
|
88670
88666
|
iterationTypes = getAsyncFromSyncIterationTypes(iterationTypes, errorNode);
|
|
@@ -175442,6 +175438,7 @@ function provideInlayHints(context) {
|
|
|
175442
175438
|
Debug.assertNode(node2, isTypeParameterDeclaration);
|
|
175443
175439
|
if (node2.modifiers) {
|
|
175444
175440
|
visitDisplayPartList(node2.modifiers, " ");
|
|
175441
|
+
parts.push({ text: " " });
|
|
175445
175442
|
}
|
|
175446
175443
|
visitForDisplayParts(node2.name);
|
|
175447
175444
|
if (node2.constraint) {
|
|
@@ -175457,6 +175454,7 @@ function provideInlayHints(context) {
|
|
|
175457
175454
|
Debug.assertNode(node2, isParameter);
|
|
175458
175455
|
if (node2.modifiers) {
|
|
175459
175456
|
visitDisplayPartList(node2.modifiers, " ");
|
|
175457
|
+
parts.push({ text: " " });
|
|
175460
175458
|
}
|
|
175461
175459
|
if (node2.dotDotDotToken) {
|
|
175462
175460
|
parts.push({ text: "..." });
|
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": "6.0.0-dev.
|
|
5
|
+
"version": "6.0.0-dev.20251030",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"description": "TypeScript is a language for application scale JavaScript development",
|
|
8
8
|
"keywords": [
|
|
@@ -115,5 +115,5 @@
|
|
|
115
115
|
"node": "20.1.0",
|
|
116
116
|
"npm": "8.19.4"
|
|
117
117
|
},
|
|
118
|
-
"gitHead": "
|
|
118
|
+
"gitHead": "2a90a739c1c1e87e3c3d0c93e16f7e5baadf8035"
|
|
119
119
|
}
|