@typescript-deploys/pr-build 5.3.0-pr-56105-6 → 5.3.0-pr-56123-2
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 -17
- package/lib/tsserver.js +9 -17
- package/lib/typescript.js +9 -17
- package/lib/typingsInstaller.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.3";
|
|
21
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
21
|
+
var version = `${versionMajorMinor}.0-insiders.20231016`;
|
|
22
22
|
|
|
23
23
|
// src/compiler/core.ts
|
|
24
24
|
var emptyArray = [];
|
|
@@ -69464,21 +69464,8 @@ function createTypeChecker(host) {
|
|
|
69464
69464
|
function getEnclosingClassFromThisParameter(node) {
|
|
69465
69465
|
const thisParameter = getThisParameterFromNodeContext(node);
|
|
69466
69466
|
let thisType = (thisParameter == null ? void 0 : thisParameter.type) && getTypeFromTypeNode(thisParameter.type);
|
|
69467
|
-
if (thisType) {
|
|
69468
|
-
|
|
69469
|
-
thisType = getConstraintOfTypeParameter(thisType);
|
|
69470
|
-
}
|
|
69471
|
-
} else {
|
|
69472
|
-
const thisContainer = getThisContainer(
|
|
69473
|
-
node,
|
|
69474
|
-
/*includeArrowFunctions*/
|
|
69475
|
-
false,
|
|
69476
|
-
/*includeClassComputedPropertyName*/
|
|
69477
|
-
false
|
|
69478
|
-
);
|
|
69479
|
-
if (isFunctionLike(thisContainer)) {
|
|
69480
|
-
thisType = getContextualThisParameterType(thisContainer);
|
|
69481
|
-
}
|
|
69467
|
+
if (thisType && thisType.flags & 262144 /* TypeParameter */) {
|
|
69468
|
+
thisType = getConstraintOfTypeParameter(thisType);
|
|
69482
69469
|
}
|
|
69483
69470
|
if (thisType && getObjectFlags(thisType) & (3 /* ClassOrInterface */ | 4 /* Reference */)) {
|
|
69484
69471
|
return getTargetType(thisType);
|
|
@@ -73556,7 +73543,12 @@ function createTypeChecker(host) {
|
|
|
73556
73543
|
}
|
|
73557
73544
|
}
|
|
73558
73545
|
if (contextualSignature && !getReturnTypeFromAnnotation(node) && !signature.resolvedReturnType) {
|
|
73559
|
-
const
|
|
73546
|
+
const contextualReturnType = getContextualReturnType(
|
|
73547
|
+
node,
|
|
73548
|
+
/*contextFlags*/
|
|
73549
|
+
void 0
|
|
73550
|
+
);
|
|
73551
|
+
const returnType = contextualReturnType && contextualReturnType.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */) ? contextualReturnType : getReturnTypeFromBody(node, checkMode);
|
|
73560
73552
|
if (!signature.resolvedReturnType) {
|
|
73561
73553
|
signature.resolvedReturnType = returnType;
|
|
73562
73554
|
}
|
package/lib/tsserver.js
CHANGED
|
@@ -2328,7 +2328,7 @@ module.exports = __toCommonJS(server_exports);
|
|
|
2328
2328
|
|
|
2329
2329
|
// src/compiler/corePublic.ts
|
|
2330
2330
|
var versionMajorMinor = "5.3";
|
|
2331
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
2331
|
+
var version = `${versionMajorMinor}.0-insiders.20231016`;
|
|
2332
2332
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2333
2333
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2334
2334
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -74176,21 +74176,8 @@ function createTypeChecker(host) {
|
|
|
74176
74176
|
function getEnclosingClassFromThisParameter(node) {
|
|
74177
74177
|
const thisParameter = getThisParameterFromNodeContext(node);
|
|
74178
74178
|
let thisType = (thisParameter == null ? void 0 : thisParameter.type) && getTypeFromTypeNode(thisParameter.type);
|
|
74179
|
-
if (thisType) {
|
|
74180
|
-
|
|
74181
|
-
thisType = getConstraintOfTypeParameter(thisType);
|
|
74182
|
-
}
|
|
74183
|
-
} else {
|
|
74184
|
-
const thisContainer = getThisContainer(
|
|
74185
|
-
node,
|
|
74186
|
-
/*includeArrowFunctions*/
|
|
74187
|
-
false,
|
|
74188
|
-
/*includeClassComputedPropertyName*/
|
|
74189
|
-
false
|
|
74190
|
-
);
|
|
74191
|
-
if (isFunctionLike(thisContainer)) {
|
|
74192
|
-
thisType = getContextualThisParameterType(thisContainer);
|
|
74193
|
-
}
|
|
74179
|
+
if (thisType && thisType.flags & 262144 /* TypeParameter */) {
|
|
74180
|
+
thisType = getConstraintOfTypeParameter(thisType);
|
|
74194
74181
|
}
|
|
74195
74182
|
if (thisType && getObjectFlags(thisType) & (3 /* ClassOrInterface */ | 4 /* Reference */)) {
|
|
74196
74183
|
return getTargetType(thisType);
|
|
@@ -78268,7 +78255,12 @@ function createTypeChecker(host) {
|
|
|
78268
78255
|
}
|
|
78269
78256
|
}
|
|
78270
78257
|
if (contextualSignature && !getReturnTypeFromAnnotation(node) && !signature.resolvedReturnType) {
|
|
78271
|
-
const
|
|
78258
|
+
const contextualReturnType = getContextualReturnType(
|
|
78259
|
+
node,
|
|
78260
|
+
/*contextFlags*/
|
|
78261
|
+
void 0
|
|
78262
|
+
);
|
|
78263
|
+
const returnType = contextualReturnType && contextualReturnType.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */) ? contextualReturnType : getReturnTypeFromBody(node, checkMode);
|
|
78272
78264
|
if (!signature.resolvedReturnType) {
|
|
78273
78265
|
signature.resolvedReturnType = returnType;
|
|
78274
78266
|
}
|
package/lib/typescript.js
CHANGED
|
@@ -35,7 +35,7 @@ var ts = (() => {
|
|
|
35
35
|
"src/compiler/corePublic.ts"() {
|
|
36
36
|
"use strict";
|
|
37
37
|
versionMajorMinor = "5.3";
|
|
38
|
-
version = `${versionMajorMinor}.0-insiders.
|
|
38
|
+
version = `${versionMajorMinor}.0-insiders.20231016`;
|
|
39
39
|
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
40
40
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
41
41
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -71943,21 +71943,8 @@ ${lanes.join("\n")}
|
|
|
71943
71943
|
function getEnclosingClassFromThisParameter(node) {
|
|
71944
71944
|
const thisParameter = getThisParameterFromNodeContext(node);
|
|
71945
71945
|
let thisType = (thisParameter == null ? void 0 : thisParameter.type) && getTypeFromTypeNode(thisParameter.type);
|
|
71946
|
-
if (thisType) {
|
|
71947
|
-
|
|
71948
|
-
thisType = getConstraintOfTypeParameter(thisType);
|
|
71949
|
-
}
|
|
71950
|
-
} else {
|
|
71951
|
-
const thisContainer = getThisContainer(
|
|
71952
|
-
node,
|
|
71953
|
-
/*includeArrowFunctions*/
|
|
71954
|
-
false,
|
|
71955
|
-
/*includeClassComputedPropertyName*/
|
|
71956
|
-
false
|
|
71957
|
-
);
|
|
71958
|
-
if (isFunctionLike(thisContainer)) {
|
|
71959
|
-
thisType = getContextualThisParameterType(thisContainer);
|
|
71960
|
-
}
|
|
71946
|
+
if (thisType && thisType.flags & 262144 /* TypeParameter */) {
|
|
71947
|
+
thisType = getConstraintOfTypeParameter(thisType);
|
|
71961
71948
|
}
|
|
71962
71949
|
if (thisType && getObjectFlags(thisType) & (3 /* ClassOrInterface */ | 4 /* Reference */)) {
|
|
71963
71950
|
return getTargetType(thisType);
|
|
@@ -76035,7 +76022,12 @@ ${lanes.join("\n")}
|
|
|
76035
76022
|
}
|
|
76036
76023
|
}
|
|
76037
76024
|
if (contextualSignature && !getReturnTypeFromAnnotation(node) && !signature.resolvedReturnType) {
|
|
76038
|
-
const
|
|
76025
|
+
const contextualReturnType = getContextualReturnType(
|
|
76026
|
+
node,
|
|
76027
|
+
/*contextFlags*/
|
|
76028
|
+
void 0
|
|
76029
|
+
);
|
|
76030
|
+
const returnType = contextualReturnType && contextualReturnType.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */) ? contextualReturnType : getReturnTypeFromBody(node, checkMode);
|
|
76039
76031
|
if (!signature.resolvedReturnType) {
|
|
76040
76032
|
signature.resolvedReturnType = returnType;
|
|
76041
76033
|
}
|
package/lib/typingsInstaller.js
CHANGED
|
@@ -54,7 +54,7 @@ var path = __toESM(require("path"));
|
|
|
54
54
|
|
|
55
55
|
// src/compiler/corePublic.ts
|
|
56
56
|
var versionMajorMinor = "5.3";
|
|
57
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
57
|
+
var version = `${versionMajorMinor}.0-insiders.20231016`;
|
|
58
58
|
|
|
59
59
|
// src/compiler/core.ts
|
|
60
60
|
var emptyArray = [];
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@typescript-deploys/pr-build",
|
|
3
3
|
"author": "Microsoft Corp.",
|
|
4
4
|
"homepage": "https://www.typescriptlang.org/",
|
|
5
|
-
"version": "5.3.0-pr-
|
|
5
|
+
"version": "5.3.0-pr-56123-2",
|
|
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": "411465b5e0903fba0028e3d82720f4e76ee725c1"
|
|
119
119
|
}
|