@typescript-deploys/pr-build 5.4.0-pr-56305-8 → 5.4.0-pr-56281-22
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/lib.es5.d.ts +12 -0
- package/lib/tsc.js +65 -21
- package/lib/tsserver.js +63 -20
- package/lib/typescript.js +63 -20
- package/lib/typingsInstaller.js +1 -1
- package/package.json +2 -2
package/lib/lib.es5.d.ts
CHANGED
|
@@ -1275,6 +1275,12 @@ interface ReadonlyArray<T> {
|
|
|
1275
1275
|
* @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
1276
1276
|
*/
|
|
1277
1277
|
filter<S extends T>(predicate: (value: T, index: number, array: readonly T[]) => value is S, thisArg?: any): S[];
|
|
1278
|
+
/**
|
|
1279
|
+
* Returns the non-Falsy elements of an array
|
|
1280
|
+
* @param predicate Must be exactly "Boolean"
|
|
1281
|
+
* @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
1282
|
+
*/
|
|
1283
|
+
filter(predicate: BooleanConstructor, thisArg?: any): (T extends false | 0 | "" | null | undefined | 0n ? never : T)[];
|
|
1278
1284
|
/**
|
|
1279
1285
|
* Returns the elements of an array that meet the condition specified in a callback function.
|
|
1280
1286
|
* @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
|
@@ -1466,6 +1472,12 @@ interface Array<T> {
|
|
|
1466
1472
|
* @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
1467
1473
|
*/
|
|
1468
1474
|
filter<S extends T>(predicate: (value: T, index: number, array: T[]) => value is S, thisArg?: any): S[];
|
|
1475
|
+
/**
|
|
1476
|
+
* Returns the non-Falsy elements of an array
|
|
1477
|
+
* @param predicate Must be exactly "Boolean"
|
|
1478
|
+
* @param thisArg An object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
|
|
1479
|
+
*/
|
|
1480
|
+
filter(predicate: BooleanConstructor, thisArg?: any): (T extends false | 0 | "" | null | undefined | 0n ? never : T)[];
|
|
1469
1481
|
/**
|
|
1470
1482
|
* Returns the elements of an array that meet the condition specified in a callback function.
|
|
1471
1483
|
* @param predicate A function that accepts up to three arguments. The filter method calls the predicate function one time for each element in the array.
|
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.4";
|
|
21
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
21
|
+
var version = `${versionMajorMinor}.0-insiders.20231104`;
|
|
22
22
|
|
|
23
23
|
// src/compiler/core.ts
|
|
24
24
|
var emptyArray = [];
|
|
@@ -55010,22 +55010,69 @@ function createTypeChecker(host) {
|
|
|
55010
55010
|
}
|
|
55011
55011
|
return emptyArray;
|
|
55012
55012
|
}
|
|
55013
|
-
function getSignaturesOfType(
|
|
55014
|
-
const
|
|
55015
|
-
|
|
55016
|
-
|
|
55017
|
-
|
|
55013
|
+
function getSignaturesOfType(typeIn, kind) {
|
|
55014
|
+
const reducedType = getReducedApparentType(typeIn);
|
|
55015
|
+
function carveoutResult() {
|
|
55016
|
+
var _a;
|
|
55017
|
+
if (kind === 0 /* Call */ && reducedType.flags & 1048576 /* Union */) {
|
|
55018
|
+
let memberName;
|
|
55019
|
+
if (everyType(reducedType, (t) => {
|
|
55020
|
+
var _a2;
|
|
55021
|
+
return !!((_a2 = t.symbol) == null ? void 0 : _a2.parent) && isArrayOrTupleSymbol(t.symbol.parent) && (!memberName ? (memberName = t.symbol.escapedName, true) : memberName === t.symbol.escapedName);
|
|
55022
|
+
})) {
|
|
55023
|
+
if (reducedType.arrayFallbackSignatures) {
|
|
55024
|
+
return reducedType.arrayFallbackSignatures;
|
|
55025
|
+
}
|
|
55026
|
+
const numTypes = reducedType.types.length;
|
|
55027
|
+
const numSigs = (_a = reducedType.types[0].symbol.declarations) == null ? void 0 : _a.length;
|
|
55028
|
+
Debug.assert(numSigs);
|
|
55029
|
+
const returnTypes = new Array(numSigs).fill(
|
|
55030
|
+
/*value*/
|
|
55031
|
+
void 0
|
|
55032
|
+
).map((_, isig) => {
|
|
55033
|
+
const rtset = /* @__PURE__ */ new Set();
|
|
55034
|
+
new Array(numTypes).fill(
|
|
55035
|
+
/*value*/
|
|
55036
|
+
void 0
|
|
55037
|
+
).forEach((_2, itype) => {
|
|
55038
|
+
const callSignatures = reducedType.types[itype].callSignatures ?? getSignaturesOfStructuredType(reducedType.types[itype], 0 /* Call */);
|
|
55039
|
+
if (callSignatures[isig].typeParameters)
|
|
55040
|
+
return;
|
|
55041
|
+
const returnType = callSignatures[isig].resolvedReturnType ?? getReturnTypeOfSignature(callSignatures[isig]);
|
|
55042
|
+
Debug.assert(returnType);
|
|
55043
|
+
rtset.add(returnType);
|
|
55044
|
+
});
|
|
55045
|
+
const art = [];
|
|
55046
|
+
rtset.forEach((rt) => art.push(rt));
|
|
55047
|
+
if (art.length === 0)
|
|
55048
|
+
return void 0;
|
|
55049
|
+
if (art.length === 1)
|
|
55050
|
+
return art[0];
|
|
55051
|
+
return getUnionType(art, 2 /* Subtype */);
|
|
55052
|
+
});
|
|
55053
|
+
const arrayArg = mapType(reducedType, (t) => getMappedType((isReadonlyArraySymbol(t.symbol.parent) ? globalReadonlyArrayType : globalArrayType).typeParameters[0], t.mapper));
|
|
55054
|
+
const arrayType = createArrayType(arrayArg, someType(reducedType, (t) => isReadonlyArraySymbol(t.symbol.parent)));
|
|
55055
|
+
const result2 = getSignaturesOfType(getTypeOfPropertyOfType(arrayType, memberName), kind);
|
|
55056
|
+
returnTypes.forEach((returnType, sigidx) => {
|
|
55057
|
+
if (returnType)
|
|
55058
|
+
result2[sigidx].resolvedReturnType = returnTypes[sigidx];
|
|
55059
|
+
});
|
|
55060
|
+
return reducedType.arrayFallbackSignatures = result2;
|
|
55061
|
+
}
|
|
55018
55062
|
}
|
|
55019
|
-
|
|
55020
|
-
|
|
55021
|
-
|
|
55022
|
-
|
|
55023
|
-
|
|
55024
|
-
|
|
55025
|
-
|
|
55026
|
-
return
|
|
55063
|
+
return void 0;
|
|
55064
|
+
}
|
|
55065
|
+
let result = carveoutResult();
|
|
55066
|
+
if (result)
|
|
55067
|
+
return result;
|
|
55068
|
+
if (kind === 0 /* Call */ && reducedType.flags & 1048576 /* Union */) {
|
|
55069
|
+
if (reducedType.arrayFallbackSignatures) {
|
|
55070
|
+
return reducedType.arrayFallbackSignatures;
|
|
55027
55071
|
}
|
|
55028
|
-
|
|
55072
|
+
}
|
|
55073
|
+
result = getSignaturesOfStructuredType(reducedType, kind);
|
|
55074
|
+
if (kind === 0 /* Call */ && reducedType.flags & 1048576 /* Union */) {
|
|
55075
|
+
reducedType.arrayFallbackSignatures = result;
|
|
55029
55076
|
}
|
|
55030
55077
|
return result;
|
|
55031
55078
|
}
|
|
@@ -74279,9 +74326,6 @@ function createTypeChecker(host) {
|
|
|
74279
74326
|
return false;
|
|
74280
74327
|
}
|
|
74281
74328
|
}
|
|
74282
|
-
function isTypeStrictEqualityComparableTo(source, target) {
|
|
74283
|
-
return (target.flags & 32768 /* Undefined */) !== 0 || isTypeComparableTo(source, target);
|
|
74284
|
-
}
|
|
74285
74329
|
function isTypeEqualityComparableTo(source, target) {
|
|
74286
74330
|
return (target.flags & 98304 /* Nullable */) !== 0 || isTypeComparableTo(source, target);
|
|
74287
74331
|
}
|
|
@@ -74600,8 +74644,7 @@ function createTypeChecker(host) {
|
|
|
74600
74644
|
error(errorNode, Diagnostics.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value, eqType ? "false" : "true");
|
|
74601
74645
|
}
|
|
74602
74646
|
checkNaNEquality(errorNode, operator, left, right);
|
|
74603
|
-
|
|
74604
|
-
reportOperatorErrorUnless((left2, right2) => checkFunction(left2, right2) || checkFunction(right2, left2));
|
|
74647
|
+
reportOperatorErrorUnless((left2, right2) => isTypeEqualityComparableTo(left2, right2) || isTypeEqualityComparableTo(right2, left2));
|
|
74605
74648
|
}
|
|
74606
74649
|
return booleanType;
|
|
74607
74650
|
case 104 /* InstanceOfKeyword */:
|
|
@@ -126051,7 +126094,8 @@ function generateOptionOutput(sys2, option, rightAlignOfLeft, leftAlignOfRight)
|
|
|
126051
126094
|
default:
|
|
126052
126095
|
const inverted = {};
|
|
126053
126096
|
option3.type.forEach((value, name2) => {
|
|
126054
|
-
|
|
126097
|
+
var _a2;
|
|
126098
|
+
if (!((_a2 = option3.deprecatedKeys) == null ? void 0 : _a2.has(name2))) {
|
|
126055
126099
|
(inverted[value] || (inverted[value] = [])).push(name2);
|
|
126056
126100
|
}
|
|
126057
126101
|
});
|
package/lib/tsserver.js
CHANGED
|
@@ -2330,7 +2330,7 @@ module.exports = __toCommonJS(server_exports);
|
|
|
2330
2330
|
|
|
2331
2331
|
// src/compiler/corePublic.ts
|
|
2332
2332
|
var versionMajorMinor = "5.4";
|
|
2333
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
2333
|
+
var version = `${versionMajorMinor}.0-insiders.20231104`;
|
|
2334
2334
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2335
2335
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2336
2336
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -59716,22 +59716,69 @@ function createTypeChecker(host) {
|
|
|
59716
59716
|
}
|
|
59717
59717
|
return emptyArray;
|
|
59718
59718
|
}
|
|
59719
|
-
function getSignaturesOfType(
|
|
59720
|
-
const
|
|
59721
|
-
|
|
59722
|
-
|
|
59723
|
-
|
|
59719
|
+
function getSignaturesOfType(typeIn, kind) {
|
|
59720
|
+
const reducedType = getReducedApparentType(typeIn);
|
|
59721
|
+
function carveoutResult() {
|
|
59722
|
+
var _a;
|
|
59723
|
+
if (kind === 0 /* Call */ && reducedType.flags & 1048576 /* Union */) {
|
|
59724
|
+
let memberName;
|
|
59725
|
+
if (everyType(reducedType, (t) => {
|
|
59726
|
+
var _a2;
|
|
59727
|
+
return !!((_a2 = t.symbol) == null ? void 0 : _a2.parent) && isArrayOrTupleSymbol(t.symbol.parent) && (!memberName ? (memberName = t.symbol.escapedName, true) : memberName === t.symbol.escapedName);
|
|
59728
|
+
})) {
|
|
59729
|
+
if (reducedType.arrayFallbackSignatures) {
|
|
59730
|
+
return reducedType.arrayFallbackSignatures;
|
|
59731
|
+
}
|
|
59732
|
+
const numTypes = reducedType.types.length;
|
|
59733
|
+
const numSigs = (_a = reducedType.types[0].symbol.declarations) == null ? void 0 : _a.length;
|
|
59734
|
+
Debug.assert(numSigs);
|
|
59735
|
+
const returnTypes = new Array(numSigs).fill(
|
|
59736
|
+
/*value*/
|
|
59737
|
+
void 0
|
|
59738
|
+
).map((_, isig) => {
|
|
59739
|
+
const rtset = /* @__PURE__ */ new Set();
|
|
59740
|
+
new Array(numTypes).fill(
|
|
59741
|
+
/*value*/
|
|
59742
|
+
void 0
|
|
59743
|
+
).forEach((_2, itype) => {
|
|
59744
|
+
const callSignatures = reducedType.types[itype].callSignatures ?? getSignaturesOfStructuredType(reducedType.types[itype], 0 /* Call */);
|
|
59745
|
+
if (callSignatures[isig].typeParameters)
|
|
59746
|
+
return;
|
|
59747
|
+
const returnType = callSignatures[isig].resolvedReturnType ?? getReturnTypeOfSignature(callSignatures[isig]);
|
|
59748
|
+
Debug.assert(returnType);
|
|
59749
|
+
rtset.add(returnType);
|
|
59750
|
+
});
|
|
59751
|
+
const art = [];
|
|
59752
|
+
rtset.forEach((rt) => art.push(rt));
|
|
59753
|
+
if (art.length === 0)
|
|
59754
|
+
return void 0;
|
|
59755
|
+
if (art.length === 1)
|
|
59756
|
+
return art[0];
|
|
59757
|
+
return getUnionType(art, 2 /* Subtype */);
|
|
59758
|
+
});
|
|
59759
|
+
const arrayArg = mapType(reducedType, (t) => getMappedType((isReadonlyArraySymbol(t.symbol.parent) ? globalReadonlyArrayType : globalArrayType).typeParameters[0], t.mapper));
|
|
59760
|
+
const arrayType = createArrayType(arrayArg, someType(reducedType, (t) => isReadonlyArraySymbol(t.symbol.parent)));
|
|
59761
|
+
const result2 = getSignaturesOfType(getTypeOfPropertyOfType(arrayType, memberName), kind);
|
|
59762
|
+
returnTypes.forEach((returnType, sigidx) => {
|
|
59763
|
+
if (returnType)
|
|
59764
|
+
result2[sigidx].resolvedReturnType = returnTypes[sigidx];
|
|
59765
|
+
});
|
|
59766
|
+
return reducedType.arrayFallbackSignatures = result2;
|
|
59767
|
+
}
|
|
59724
59768
|
}
|
|
59725
|
-
|
|
59726
|
-
|
|
59727
|
-
|
|
59728
|
-
|
|
59729
|
-
|
|
59730
|
-
|
|
59731
|
-
|
|
59732
|
-
return
|
|
59769
|
+
return void 0;
|
|
59770
|
+
}
|
|
59771
|
+
let result = carveoutResult();
|
|
59772
|
+
if (result)
|
|
59773
|
+
return result;
|
|
59774
|
+
if (kind === 0 /* Call */ && reducedType.flags & 1048576 /* Union */) {
|
|
59775
|
+
if (reducedType.arrayFallbackSignatures) {
|
|
59776
|
+
return reducedType.arrayFallbackSignatures;
|
|
59733
59777
|
}
|
|
59734
|
-
|
|
59778
|
+
}
|
|
59779
|
+
result = getSignaturesOfStructuredType(reducedType, kind);
|
|
59780
|
+
if (kind === 0 /* Call */ && reducedType.flags & 1048576 /* Union */) {
|
|
59781
|
+
reducedType.arrayFallbackSignatures = result;
|
|
59735
59782
|
}
|
|
59736
59783
|
return result;
|
|
59737
59784
|
}
|
|
@@ -78985,9 +79032,6 @@ function createTypeChecker(host) {
|
|
|
78985
79032
|
return false;
|
|
78986
79033
|
}
|
|
78987
79034
|
}
|
|
78988
|
-
function isTypeStrictEqualityComparableTo(source, target) {
|
|
78989
|
-
return (target.flags & 32768 /* Undefined */) !== 0 || isTypeComparableTo(source, target);
|
|
78990
|
-
}
|
|
78991
79035
|
function isTypeEqualityComparableTo(source, target) {
|
|
78992
79036
|
return (target.flags & 98304 /* Nullable */) !== 0 || isTypeComparableTo(source, target);
|
|
78993
79037
|
}
|
|
@@ -79306,8 +79350,7 @@ function createTypeChecker(host) {
|
|
|
79306
79350
|
error2(errorNode, Diagnostics.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value, eqType ? "false" : "true");
|
|
79307
79351
|
}
|
|
79308
79352
|
checkNaNEquality(errorNode, operator, left, right);
|
|
79309
|
-
|
|
79310
|
-
reportOperatorErrorUnless((left2, right2) => checkFunction(left2, right2) || checkFunction(right2, left2));
|
|
79353
|
+
reportOperatorErrorUnless((left2, right2) => isTypeEqualityComparableTo(left2, right2) || isTypeEqualityComparableTo(right2, left2));
|
|
79311
79354
|
}
|
|
79312
79355
|
return booleanType;
|
|
79313
79356
|
case 104 /* InstanceOfKeyword */:
|
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.4";
|
|
38
|
-
version = `${versionMajorMinor}.0-insiders.
|
|
38
|
+
version = `${versionMajorMinor}.0-insiders.20231104`;
|
|
39
39
|
Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
40
40
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
41
41
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -57481,22 +57481,69 @@ ${lanes.join("\n")}
|
|
|
57481
57481
|
}
|
|
57482
57482
|
return emptyArray;
|
|
57483
57483
|
}
|
|
57484
|
-
function getSignaturesOfType(
|
|
57485
|
-
const
|
|
57486
|
-
|
|
57487
|
-
|
|
57488
|
-
|
|
57484
|
+
function getSignaturesOfType(typeIn, kind) {
|
|
57485
|
+
const reducedType = getReducedApparentType(typeIn);
|
|
57486
|
+
function carveoutResult() {
|
|
57487
|
+
var _a;
|
|
57488
|
+
if (kind === 0 /* Call */ && reducedType.flags & 1048576 /* Union */) {
|
|
57489
|
+
let memberName;
|
|
57490
|
+
if (everyType(reducedType, (t) => {
|
|
57491
|
+
var _a2;
|
|
57492
|
+
return !!((_a2 = t.symbol) == null ? void 0 : _a2.parent) && isArrayOrTupleSymbol(t.symbol.parent) && (!memberName ? (memberName = t.symbol.escapedName, true) : memberName === t.symbol.escapedName);
|
|
57493
|
+
})) {
|
|
57494
|
+
if (reducedType.arrayFallbackSignatures) {
|
|
57495
|
+
return reducedType.arrayFallbackSignatures;
|
|
57496
|
+
}
|
|
57497
|
+
const numTypes = reducedType.types.length;
|
|
57498
|
+
const numSigs = (_a = reducedType.types[0].symbol.declarations) == null ? void 0 : _a.length;
|
|
57499
|
+
Debug.assert(numSigs);
|
|
57500
|
+
const returnTypes = new Array(numSigs).fill(
|
|
57501
|
+
/*value*/
|
|
57502
|
+
void 0
|
|
57503
|
+
).map((_, isig) => {
|
|
57504
|
+
const rtset = /* @__PURE__ */ new Set();
|
|
57505
|
+
new Array(numTypes).fill(
|
|
57506
|
+
/*value*/
|
|
57507
|
+
void 0
|
|
57508
|
+
).forEach((_2, itype) => {
|
|
57509
|
+
const callSignatures = reducedType.types[itype].callSignatures ?? getSignaturesOfStructuredType(reducedType.types[itype], 0 /* Call */);
|
|
57510
|
+
if (callSignatures[isig].typeParameters)
|
|
57511
|
+
return;
|
|
57512
|
+
const returnType = callSignatures[isig].resolvedReturnType ?? getReturnTypeOfSignature(callSignatures[isig]);
|
|
57513
|
+
Debug.assert(returnType);
|
|
57514
|
+
rtset.add(returnType);
|
|
57515
|
+
});
|
|
57516
|
+
const art = [];
|
|
57517
|
+
rtset.forEach((rt) => art.push(rt));
|
|
57518
|
+
if (art.length === 0)
|
|
57519
|
+
return void 0;
|
|
57520
|
+
if (art.length === 1)
|
|
57521
|
+
return art[0];
|
|
57522
|
+
return getUnionType(art, 2 /* Subtype */);
|
|
57523
|
+
});
|
|
57524
|
+
const arrayArg = mapType(reducedType, (t) => getMappedType((isReadonlyArraySymbol(t.symbol.parent) ? globalReadonlyArrayType : globalArrayType).typeParameters[0], t.mapper));
|
|
57525
|
+
const arrayType = createArrayType(arrayArg, someType(reducedType, (t) => isReadonlyArraySymbol(t.symbol.parent)));
|
|
57526
|
+
const result2 = getSignaturesOfType(getTypeOfPropertyOfType(arrayType, memberName), kind);
|
|
57527
|
+
returnTypes.forEach((returnType, sigidx) => {
|
|
57528
|
+
if (returnType)
|
|
57529
|
+
result2[sigidx].resolvedReturnType = returnTypes[sigidx];
|
|
57530
|
+
});
|
|
57531
|
+
return reducedType.arrayFallbackSignatures = result2;
|
|
57532
|
+
}
|
|
57489
57533
|
}
|
|
57490
|
-
|
|
57491
|
-
|
|
57492
|
-
|
|
57493
|
-
|
|
57494
|
-
|
|
57495
|
-
|
|
57496
|
-
|
|
57497
|
-
return
|
|
57534
|
+
return void 0;
|
|
57535
|
+
}
|
|
57536
|
+
let result = carveoutResult();
|
|
57537
|
+
if (result)
|
|
57538
|
+
return result;
|
|
57539
|
+
if (kind === 0 /* Call */ && reducedType.flags & 1048576 /* Union */) {
|
|
57540
|
+
if (reducedType.arrayFallbackSignatures) {
|
|
57541
|
+
return reducedType.arrayFallbackSignatures;
|
|
57498
57542
|
}
|
|
57499
|
-
|
|
57543
|
+
}
|
|
57544
|
+
result = getSignaturesOfStructuredType(reducedType, kind);
|
|
57545
|
+
if (kind === 0 /* Call */ && reducedType.flags & 1048576 /* Union */) {
|
|
57546
|
+
reducedType.arrayFallbackSignatures = result;
|
|
57500
57547
|
}
|
|
57501
57548
|
return result;
|
|
57502
57549
|
}
|
|
@@ -76750,9 +76797,6 @@ ${lanes.join("\n")}
|
|
|
76750
76797
|
return false;
|
|
76751
76798
|
}
|
|
76752
76799
|
}
|
|
76753
|
-
function isTypeStrictEqualityComparableTo(source, target) {
|
|
76754
|
-
return (target.flags & 32768 /* Undefined */) !== 0 || isTypeComparableTo(source, target);
|
|
76755
|
-
}
|
|
76756
76800
|
function isTypeEqualityComparableTo(source, target) {
|
|
76757
76801
|
return (target.flags & 98304 /* Nullable */) !== 0 || isTypeComparableTo(source, target);
|
|
76758
76802
|
}
|
|
@@ -77071,8 +77115,7 @@ ${lanes.join("\n")}
|
|
|
77071
77115
|
error2(errorNode, Diagnostics.This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value, eqType ? "false" : "true");
|
|
77072
77116
|
}
|
|
77073
77117
|
checkNaNEquality(errorNode, operator, left, right);
|
|
77074
|
-
|
|
77075
|
-
reportOperatorErrorUnless((left2, right2) => checkFunction(left2, right2) || checkFunction(right2, left2));
|
|
77118
|
+
reportOperatorErrorUnless((left2, right2) => isTypeEqualityComparableTo(left2, right2) || isTypeEqualityComparableTo(right2, left2));
|
|
77076
77119
|
}
|
|
77077
77120
|
return booleanType;
|
|
77078
77121
|
case 104 /* InstanceOfKeyword */:
|
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.4";
|
|
57
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
57
|
+
var version = `${versionMajorMinor}.0-insiders.20231104`;
|
|
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.4.0-pr-
|
|
5
|
+
"version": "5.4.0-pr-56281-22",
|
|
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": "69a6124f01b72b1debf235cf3b0e48c67eea23b8"
|
|
119
119
|
}
|