@typescript-deploys/pr-build 5.3.0-pr-56123-2 → 5.3.0-pr-56122-13
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 +5 -7
- package/lib/tsserver.js +5 -7
- package/lib/typescript.js +5 -7
- package/package.json +2 -2
package/lib/tsc.js
CHANGED
|
@@ -73543,12 +73543,7 @@ function createTypeChecker(host) {
|
|
|
73543
73543
|
}
|
|
73544
73544
|
}
|
|
73545
73545
|
if (contextualSignature && !getReturnTypeFromAnnotation(node) && !signature.resolvedReturnType) {
|
|
73546
|
-
const
|
|
73547
|
-
node,
|
|
73548
|
-
/*contextFlags*/
|
|
73549
|
-
void 0
|
|
73550
|
-
);
|
|
73551
|
-
const returnType = contextualReturnType && contextualReturnType.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */) ? contextualReturnType : getReturnTypeFromBody(node, checkMode);
|
|
73546
|
+
const returnType = getReturnTypeFromBody(node, checkMode);
|
|
73552
73547
|
if (!signature.resolvedReturnType) {
|
|
73553
73548
|
signature.resolvedReturnType = returnType;
|
|
73554
73549
|
}
|
|
@@ -73709,7 +73704,7 @@ function createTypeChecker(host) {
|
|
|
73709
73704
|
return typeofType;
|
|
73710
73705
|
}
|
|
73711
73706
|
function checkVoidExpression(node) {
|
|
73712
|
-
|
|
73707
|
+
checkNodeDeferred(node);
|
|
73713
73708
|
return undefinedWideningType;
|
|
73714
73709
|
}
|
|
73715
73710
|
function checkAwaitGrammar(node) {
|
|
@@ -80905,6 +80900,9 @@ function createTypeChecker(host) {
|
|
|
80905
80900
|
case 217 /* ParenthesizedExpression */:
|
|
80906
80901
|
checkAssertionDeferred(node);
|
|
80907
80902
|
break;
|
|
80903
|
+
case 222 /* VoidExpression */:
|
|
80904
|
+
checkExpression(node.expression);
|
|
80905
|
+
break;
|
|
80908
80906
|
case 226 /* BinaryExpression */:
|
|
80909
80907
|
if (isInstanceOfExpression(node)) {
|
|
80910
80908
|
resolveUntypedCall(node);
|
package/lib/tsserver.js
CHANGED
|
@@ -78255,12 +78255,7 @@ function createTypeChecker(host) {
|
|
|
78255
78255
|
}
|
|
78256
78256
|
}
|
|
78257
78257
|
if (contextualSignature && !getReturnTypeFromAnnotation(node) && !signature.resolvedReturnType) {
|
|
78258
|
-
const
|
|
78259
|
-
node,
|
|
78260
|
-
/*contextFlags*/
|
|
78261
|
-
void 0
|
|
78262
|
-
);
|
|
78263
|
-
const returnType = contextualReturnType && contextualReturnType.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */) ? contextualReturnType : getReturnTypeFromBody(node, checkMode);
|
|
78258
|
+
const returnType = getReturnTypeFromBody(node, checkMode);
|
|
78264
78259
|
if (!signature.resolvedReturnType) {
|
|
78265
78260
|
signature.resolvedReturnType = returnType;
|
|
78266
78261
|
}
|
|
@@ -78421,7 +78416,7 @@ function createTypeChecker(host) {
|
|
|
78421
78416
|
return typeofType;
|
|
78422
78417
|
}
|
|
78423
78418
|
function checkVoidExpression(node) {
|
|
78424
|
-
|
|
78419
|
+
checkNodeDeferred(node);
|
|
78425
78420
|
return undefinedWideningType;
|
|
78426
78421
|
}
|
|
78427
78422
|
function checkAwaitGrammar(node) {
|
|
@@ -85617,6 +85612,9 @@ function createTypeChecker(host) {
|
|
|
85617
85612
|
case 217 /* ParenthesizedExpression */:
|
|
85618
85613
|
checkAssertionDeferred(node);
|
|
85619
85614
|
break;
|
|
85615
|
+
case 222 /* VoidExpression */:
|
|
85616
|
+
checkExpression(node.expression);
|
|
85617
|
+
break;
|
|
85620
85618
|
case 226 /* BinaryExpression */:
|
|
85621
85619
|
if (isInstanceOfExpression(node)) {
|
|
85622
85620
|
resolveUntypedCall(node);
|
package/lib/typescript.js
CHANGED
|
@@ -76022,12 +76022,7 @@ ${lanes.join("\n")}
|
|
|
76022
76022
|
}
|
|
76023
76023
|
}
|
|
76024
76024
|
if (contextualSignature && !getReturnTypeFromAnnotation(node) && !signature.resolvedReturnType) {
|
|
76025
|
-
const
|
|
76026
|
-
node,
|
|
76027
|
-
/*contextFlags*/
|
|
76028
|
-
void 0
|
|
76029
|
-
);
|
|
76030
|
-
const returnType = contextualReturnType && contextualReturnType.flags & (3 /* AnyOrUnknown */ | 16384 /* Void */) ? contextualReturnType : getReturnTypeFromBody(node, checkMode);
|
|
76025
|
+
const returnType = getReturnTypeFromBody(node, checkMode);
|
|
76031
76026
|
if (!signature.resolvedReturnType) {
|
|
76032
76027
|
signature.resolvedReturnType = returnType;
|
|
76033
76028
|
}
|
|
@@ -76188,7 +76183,7 @@ ${lanes.join("\n")}
|
|
|
76188
76183
|
return typeofType;
|
|
76189
76184
|
}
|
|
76190
76185
|
function checkVoidExpression(node) {
|
|
76191
|
-
|
|
76186
|
+
checkNodeDeferred(node);
|
|
76192
76187
|
return undefinedWideningType;
|
|
76193
76188
|
}
|
|
76194
76189
|
function checkAwaitGrammar(node) {
|
|
@@ -83384,6 +83379,9 @@ ${lanes.join("\n")}
|
|
|
83384
83379
|
case 217 /* ParenthesizedExpression */:
|
|
83385
83380
|
checkAssertionDeferred(node);
|
|
83386
83381
|
break;
|
|
83382
|
+
case 222 /* VoidExpression */:
|
|
83383
|
+
checkExpression(node.expression);
|
|
83384
|
+
break;
|
|
83387
83385
|
case 226 /* BinaryExpression */:
|
|
83388
83386
|
if (isInstanceOfExpression(node)) {
|
|
83389
83387
|
resolveUntypedCall(node);
|
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-56122-13",
|
|
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": "defd225d9968cdbec1354f759020bedbf129c2d8"
|
|
119
119
|
}
|