@typescript-deploys/pr-build 5.2.0-pr-54891-7 → 5.2.0-pr-55004-3

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 CHANGED
@@ -18,7 +18,7 @@ and limitations under the License.
18
18
 
19
19
  // src/compiler/corePublic.ts
20
20
  var versionMajorMinor = "5.2";
21
- var version = `${versionMajorMinor}.0-insiders.20230710`;
21
+ var version = `${versionMajorMinor}.0-insiders.20230713`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -6118,7 +6118,6 @@ var Diagnostics = {
6118
6118
  The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration: diag(1493, 1 /* Error */, "The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493", "The left-hand side of a 'for...in' statement cannot be a 'using' declaration."),
6119
6119
  The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration: diag(1494, 1 /* Error */, "The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494", "The left-hand side of a 'for...in' statement cannot be an 'await using' declaration."),
6120
6120
  _0_modifier_cannot_appear_on_an_await_using_declaration: diag(1495, 1 /* Error */, "_0_modifier_cannot_appear_on_an_await_using_declaration_1495", "'{0}' modifier cannot appear on an 'await using' declaration."),
6121
- Unexpected_token_Did_you_mean_0: diag(1496, 1 /* Error */, "Unexpected_token_Did_you_mean_0_1496", "Unexpected token. Did you mean '{0}'?"),
6122
6121
  The_types_of_0_are_incompatible_between_these_types: diag(2200, 1 /* Error */, "The_types_of_0_are_incompatible_between_these_types_2200", "The types of '{0}' are incompatible between these types."),
6123
6122
  The_types_returned_by_0_are_incompatible_between_these_types: diag(2201, 1 /* Error */, "The_types_returned_by_0_are_incompatible_between_these_types_2201", "The types returned by '{0}' are incompatible between these types."),
6124
6123
  Call_signature_return_types_0_and_1_are_incompatible: diag(
@@ -9156,10 +9155,6 @@ function createScanner(languageVersion, skipTrivia2, languageVariant = 0 /* Stan
9156
9155
  case 33 /* exclamation */:
9157
9156
  if (text.charCodeAt(pos + 1) === 61 /* equals */) {
9158
9157
  if (text.charCodeAt(pos + 2) === 61 /* equals */) {
9159
- if (text.charCodeAt(pos + 3) === 61 /* equals */) {
9160
- error(Diagnostics.Unexpected_token_Did_you_mean_0, pos, 4, "!==");
9161
- return pos += 4, token = 38 /* ExclamationEqualsEqualsToken */;
9162
- }
9163
9158
  return pos += 3, token = 38 /* ExclamationEqualsEqualsToken */;
9164
9159
  }
9165
9160
  return pos += 2, token = 36 /* ExclamationEqualsToken */;
@@ -27823,6 +27818,9 @@ var Parser;
27823
27818
  break;
27824
27819
  }
27825
27820
  parseExpected(28 /* CommaToken */, getExpectedCommaDiagnostic(kind));
27821
+ if (!(contextFlags & 134217728 /* JsonFile */) && token() === 19 /* OpenBraceToken */) {
27822
+ break;
27823
+ }
27826
27824
  if (considerSemicolonAsDelimiter && token() === 27 /* SemicolonToken */ && !scanner.hasPrecedingLineBreak()) {
27827
27825
  nextToken();
27828
27826
  }
@@ -76358,6 +76356,7 @@ function createTypeChecker(host) {
76358
76356
  for (const parameter of containingSignature.parameters) {
76359
76357
  markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(parameter));
76360
76358
  }
76359
+ markDecoratorMedataDataTypeNodeAsReferenced(getEffectiveReturnTypeNode(containingSignature));
76361
76360
  break;
76362
76361
  }
76363
76362
  }
@@ -96786,10 +96785,10 @@ function transformJsx(context) {
96786
96785
  for (const prop of attr.expression.properties) {
96787
96786
  if (isSpreadAssignment(prop)) {
96788
96787
  finishObjectLiteralIfNeeded();
96789
- expressions.push(prop.expression);
96788
+ expressions.push(Debug.checkDefined(visitNode(prop.expression, visitor, isExpression)));
96790
96789
  continue;
96791
96790
  }
96792
- properties.push(prop);
96791
+ properties.push(Debug.checkDefined(visitNode(prop, visitor)));
96793
96792
  }
96794
96793
  continue;
96795
96794
  }
package/lib/tsserver.js CHANGED
@@ -2327,7 +2327,7 @@ module.exports = __toCommonJS(server_exports);
2327
2327
 
2328
2328
  // src/compiler/corePublic.ts
2329
2329
  var versionMajorMinor = "5.2";
2330
- var version = `${versionMajorMinor}.0-insiders.20230710`;
2330
+ var version = `${versionMajorMinor}.0-insiders.20230713`;
2331
2331
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2332
2332
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2333
2333
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -9639,7 +9639,6 @@ var Diagnostics = {
9639
9639
  The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration: diag(1493, 1 /* Error */, "The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493", "The left-hand side of a 'for...in' statement cannot be a 'using' declaration."),
9640
9640
  The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration: diag(1494, 1 /* Error */, "The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494", "The left-hand side of a 'for...in' statement cannot be an 'await using' declaration."),
9641
9641
  _0_modifier_cannot_appear_on_an_await_using_declaration: diag(1495, 1 /* Error */, "_0_modifier_cannot_appear_on_an_await_using_declaration_1495", "'{0}' modifier cannot appear on an 'await using' declaration."),
9642
- Unexpected_token_Did_you_mean_0: diag(1496, 1 /* Error */, "Unexpected_token_Did_you_mean_0_1496", "Unexpected token. Did you mean '{0}'?"),
9643
9642
  The_types_of_0_are_incompatible_between_these_types: diag(2200, 1 /* Error */, "The_types_of_0_are_incompatible_between_these_types_2200", "The types of '{0}' are incompatible between these types."),
9644
9643
  The_types_returned_by_0_are_incompatible_between_these_types: diag(2201, 1 /* Error */, "The_types_returned_by_0_are_incompatible_between_these_types_2201", "The types returned by '{0}' are incompatible between these types."),
9645
9644
  Call_signature_return_types_0_and_1_are_incompatible: diag(
@@ -12698,10 +12697,6 @@ function createScanner(languageVersion, skipTrivia2, languageVariant = 0 /* Stan
12698
12697
  case 33 /* exclamation */:
12699
12698
  if (text.charCodeAt(pos + 1) === 61 /* equals */) {
12700
12699
  if (text.charCodeAt(pos + 2) === 61 /* equals */) {
12701
- if (text.charCodeAt(pos + 3) === 61 /* equals */) {
12702
- error2(Diagnostics.Unexpected_token_Did_you_mean_0, pos, 4, "!==");
12703
- return pos += 4, token = 38 /* ExclamationEqualsEqualsToken */;
12704
- }
12705
12700
  return pos += 3, token = 38 /* ExclamationEqualsEqualsToken */;
12706
12701
  }
12707
12702
  return pos += 2, token = 36 /* ExclamationEqualsToken */;
@@ -32221,6 +32216,9 @@ var Parser;
32221
32216
  break;
32222
32217
  }
32223
32218
  parseExpected(28 /* CommaToken */, getExpectedCommaDiagnostic(kind));
32219
+ if (!(contextFlags & 134217728 /* JsonFile */) && token() === 19 /* OpenBraceToken */) {
32220
+ break;
32221
+ }
32224
32222
  if (considerSemicolonAsDelimiter && token() === 27 /* SemicolonToken */ && !scanner2.hasPrecedingLineBreak()) {
32225
32223
  nextToken();
32226
32224
  }
@@ -81065,6 +81063,7 @@ function createTypeChecker(host) {
81065
81063
  for (const parameter of containingSignature.parameters) {
81066
81064
  markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(parameter));
81067
81065
  }
81066
+ markDecoratorMedataDataTypeNodeAsReferenced(getEffectiveReturnTypeNode(containingSignature));
81068
81067
  break;
81069
81068
  }
81070
81069
  }
@@ -101664,10 +101663,10 @@ function transformJsx(context) {
101664
101663
  for (const prop of attr.expression.properties) {
101665
101664
  if (isSpreadAssignment(prop)) {
101666
101665
  finishObjectLiteralIfNeeded();
101667
- expressions.push(prop.expression);
101666
+ expressions.push(Debug.checkDefined(visitNode(prop.expression, visitor, isExpression)));
101668
101667
  continue;
101669
101668
  }
101670
- properties.push(prop);
101669
+ properties.push(Debug.checkDefined(visitNode(prop, visitor)));
101671
101670
  }
101672
101671
  continue;
101673
101672
  }
@@ -138357,7 +138356,7 @@ function getNewStatementsAndRemoveFromOldFile2(oldFile, targetFile, usage, chang
138357
138356
  }
138358
138357
  }
138359
138358
  if (importAdder) {
138360
- importAdder.writeFixes(changes);
138359
+ importAdder.writeFixes(changes, quotePreference);
138361
138360
  }
138362
138361
  if (imports.length && body.length) {
138363
138362
  return [
@@ -150050,8 +150049,13 @@ function createImportAdderWorker(sourceFile, program, useAutoImportProvider, pre
150050
150049
  return `${topLevelTypeOnly ? 1 : 0}|${moduleSpecifier}`;
150051
150050
  }
150052
150051
  }
150053
- function writeFixes(changeTracker) {
150054
- const quotePreference = getQuotePreference(sourceFile, preferences);
150052
+ function writeFixes(changeTracker, oldFileQuotePreference) {
150053
+ let quotePreference;
150054
+ if (sourceFile.imports.length === 0 && oldFileQuotePreference !== void 0) {
150055
+ quotePreference = oldFileQuotePreference;
150056
+ } else {
150057
+ quotePreference = getQuotePreference(sourceFile, preferences);
150058
+ }
150055
150059
  for (const fix of addToNamespace) {
150056
150060
  addNamespaceQualifier(changeTracker, sourceFile, fix);
150057
150061
  }
@@ -35,7 +35,7 @@ var ts = (() => {
35
35
  "src/compiler/corePublic.ts"() {
36
36
  "use strict";
37
37
  versionMajorMinor = "5.2";
38
- version = `${versionMajorMinor}.0-insiders.20230710`;
38
+ version = `${versionMajorMinor}.0-insiders.20230713`;
39
39
  Comparison = /* @__PURE__ */ ((Comparison3) => {
40
40
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
41
41
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -7422,7 +7422,6 @@ ${lanes.join("\n")}
7422
7422
  The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration: diag(1493, 1 /* Error */, "The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493", "The left-hand side of a 'for...in' statement cannot be a 'using' declaration."),
7423
7423
  The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration: diag(1494, 1 /* Error */, "The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494", "The left-hand side of a 'for...in' statement cannot be an 'await using' declaration."),
7424
7424
  _0_modifier_cannot_appear_on_an_await_using_declaration: diag(1495, 1 /* Error */, "_0_modifier_cannot_appear_on_an_await_using_declaration_1495", "'{0}' modifier cannot appear on an 'await using' declaration."),
7425
- Unexpected_token_Did_you_mean_0: diag(1496, 1 /* Error */, "Unexpected_token_Did_you_mean_0_1496", "Unexpected token. Did you mean '{0}'?"),
7426
7425
  The_types_of_0_are_incompatible_between_these_types: diag(2200, 1 /* Error */, "The_types_of_0_are_incompatible_between_these_types_2200", "The types of '{0}' are incompatible between these types."),
7427
7426
  The_types_returned_by_0_are_incompatible_between_these_types: diag(2201, 1 /* Error */, "The_types_returned_by_0_are_incompatible_between_these_types_2201", "The types returned by '{0}' are incompatible between these types."),
7428
7427
  Call_signature_return_types_0_and_1_are_incompatible: diag(
@@ -10322,10 +10321,6 @@ ${lanes.join("\n")}
10322
10321
  case 33 /* exclamation */:
10323
10322
  if (text.charCodeAt(pos + 1) === 61 /* equals */) {
10324
10323
  if (text.charCodeAt(pos + 2) === 61 /* equals */) {
10325
- if (text.charCodeAt(pos + 3) === 61 /* equals */) {
10326
- error2(Diagnostics.Unexpected_token_Did_you_mean_0, pos, 4, "!==");
10327
- return pos += 4, token = 38 /* ExclamationEqualsEqualsToken */;
10328
- }
10329
10324
  return pos += 3, token = 38 /* ExclamationEqualsEqualsToken */;
10330
10325
  }
10331
10326
  return pos += 2, token = 36 /* ExclamationEqualsToken */;
@@ -30294,6 +30289,9 @@ ${lanes.join("\n")}
30294
30289
  break;
30295
30290
  }
30296
30291
  parseExpected(28 /* CommaToken */, getExpectedCommaDiagnostic(kind));
30292
+ if (!(contextFlags & 134217728 /* JsonFile */) && token() === 19 /* OpenBraceToken */) {
30293
+ break;
30294
+ }
30297
30295
  if (considerSemicolonAsDelimiter && token() === 27 /* SemicolonToken */ && !scanner2.hasPrecedingLineBreak()) {
30298
30296
  nextToken();
30299
30297
  }
@@ -78832,6 +78830,7 @@ ${lanes.join("\n")}
78832
78830
  for (const parameter of containingSignature.parameters) {
78833
78831
  markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(parameter));
78834
78832
  }
78833
+ markDecoratorMedataDataTypeNodeAsReferenced(getEffectiveReturnTypeNode(containingSignature));
78835
78834
  break;
78836
78835
  }
78837
78836
  }
@@ -99680,10 +99679,10 @@ ${lanes.join("\n")}
99680
99679
  for (const prop of attr.expression.properties) {
99681
99680
  if (isSpreadAssignment(prop)) {
99682
99681
  finishObjectLiteralIfNeeded();
99683
- expressions.push(prop.expression);
99682
+ expressions.push(Debug.checkDefined(visitNode(prop.expression, visitor, isExpression)));
99684
99683
  continue;
99685
99684
  }
99686
- properties.push(prop);
99685
+ properties.push(Debug.checkDefined(visitNode(prop, visitor)));
99687
99686
  }
99688
99687
  continue;
99689
99688
  }
@@ -136732,7 +136731,7 @@ ${lanes.join("\n")}
136732
136731
  }
136733
136732
  }
136734
136733
  if (importAdder) {
136735
- importAdder.writeFixes(changes);
136734
+ importAdder.writeFixes(changes, quotePreference);
136736
136735
  }
136737
136736
  if (imports.length && body.length) {
136738
136737
  return [
@@ -148780,8 +148779,13 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
148780
148779
  return `${topLevelTypeOnly ? 1 : 0}|${moduleSpecifier}`;
148781
148780
  }
148782
148781
  }
148783
- function writeFixes(changeTracker) {
148784
- const quotePreference = getQuotePreference(sourceFile, preferences);
148782
+ function writeFixes(changeTracker, oldFileQuotePreference) {
148783
+ let quotePreference;
148784
+ if (sourceFile.imports.length === 0 && oldFileQuotePreference !== void 0) {
148785
+ quotePreference = oldFileQuotePreference;
148786
+ } else {
148787
+ quotePreference = getQuotePreference(sourceFile, preferences);
148788
+ }
148785
148789
  for (const fix of addToNamespace) {
148786
148790
  addNamespaceQualifier(changeTracker, sourceFile, fix);
148787
148791
  }
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.2";
38
- version = `${versionMajorMinor}.0-insiders.20230710`;
38
+ version = `${versionMajorMinor}.0-insiders.20230713`;
39
39
  Comparison = /* @__PURE__ */ ((Comparison3) => {
40
40
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
41
41
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -7422,7 +7422,6 @@ ${lanes.join("\n")}
7422
7422
  The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration: diag(1493, 1 /* Error */, "The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493", "The left-hand side of a 'for...in' statement cannot be a 'using' declaration."),
7423
7423
  The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration: diag(1494, 1 /* Error */, "The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494", "The left-hand side of a 'for...in' statement cannot be an 'await using' declaration."),
7424
7424
  _0_modifier_cannot_appear_on_an_await_using_declaration: diag(1495, 1 /* Error */, "_0_modifier_cannot_appear_on_an_await_using_declaration_1495", "'{0}' modifier cannot appear on an 'await using' declaration."),
7425
- Unexpected_token_Did_you_mean_0: diag(1496, 1 /* Error */, "Unexpected_token_Did_you_mean_0_1496", "Unexpected token. Did you mean '{0}'?"),
7426
7425
  The_types_of_0_are_incompatible_between_these_types: diag(2200, 1 /* Error */, "The_types_of_0_are_incompatible_between_these_types_2200", "The types of '{0}' are incompatible between these types."),
7427
7426
  The_types_returned_by_0_are_incompatible_between_these_types: diag(2201, 1 /* Error */, "The_types_returned_by_0_are_incompatible_between_these_types_2201", "The types returned by '{0}' are incompatible between these types."),
7428
7427
  Call_signature_return_types_0_and_1_are_incompatible: diag(
@@ -10322,10 +10321,6 @@ ${lanes.join("\n")}
10322
10321
  case 33 /* exclamation */:
10323
10322
  if (text.charCodeAt(pos + 1) === 61 /* equals */) {
10324
10323
  if (text.charCodeAt(pos + 2) === 61 /* equals */) {
10325
- if (text.charCodeAt(pos + 3) === 61 /* equals */) {
10326
- error2(Diagnostics.Unexpected_token_Did_you_mean_0, pos, 4, "!==");
10327
- return pos += 4, token = 38 /* ExclamationEqualsEqualsToken */;
10328
- }
10329
10324
  return pos += 3, token = 38 /* ExclamationEqualsEqualsToken */;
10330
10325
  }
10331
10326
  return pos += 2, token = 36 /* ExclamationEqualsToken */;
@@ -30294,6 +30289,9 @@ ${lanes.join("\n")}
30294
30289
  break;
30295
30290
  }
30296
30291
  parseExpected(28 /* CommaToken */, getExpectedCommaDiagnostic(kind));
30292
+ if (!(contextFlags & 134217728 /* JsonFile */) && token() === 19 /* OpenBraceToken */) {
30293
+ break;
30294
+ }
30297
30295
  if (considerSemicolonAsDelimiter && token() === 27 /* SemicolonToken */ && !scanner2.hasPrecedingLineBreak()) {
30298
30296
  nextToken();
30299
30297
  }
@@ -78832,6 +78830,7 @@ ${lanes.join("\n")}
78832
78830
  for (const parameter of containingSignature.parameters) {
78833
78831
  markDecoratorMedataDataTypeNodeAsReferenced(getParameterTypeNodeForDecoratorCheck(parameter));
78834
78832
  }
78833
+ markDecoratorMedataDataTypeNodeAsReferenced(getEffectiveReturnTypeNode(containingSignature));
78835
78834
  break;
78836
78835
  }
78837
78836
  }
@@ -99680,10 +99679,10 @@ ${lanes.join("\n")}
99680
99679
  for (const prop of attr.expression.properties) {
99681
99680
  if (isSpreadAssignment(prop)) {
99682
99681
  finishObjectLiteralIfNeeded();
99683
- expressions.push(prop.expression);
99682
+ expressions.push(Debug.checkDefined(visitNode(prop.expression, visitor, isExpression)));
99684
99683
  continue;
99685
99684
  }
99686
- properties.push(prop);
99685
+ properties.push(Debug.checkDefined(visitNode(prop, visitor)));
99687
99686
  }
99688
99687
  continue;
99689
99688
  }
@@ -136747,7 +136746,7 @@ ${lanes.join("\n")}
136747
136746
  }
136748
136747
  }
136749
136748
  if (importAdder) {
136750
- importAdder.writeFixes(changes);
136749
+ importAdder.writeFixes(changes, quotePreference);
136751
136750
  }
136752
136751
  if (imports.length && body.length) {
136753
136752
  return [
@@ -148795,8 +148794,13 @@ ${newComment.split("\n").map((c) => ` * ${c}`).join("\n")}
148795
148794
  return `${topLevelTypeOnly ? 1 : 0}|${moduleSpecifier}`;
148796
148795
  }
148797
148796
  }
148798
- function writeFixes(changeTracker) {
148799
- const quotePreference = getQuotePreference(sourceFile, preferences);
148797
+ function writeFixes(changeTracker, oldFileQuotePreference) {
148798
+ let quotePreference;
148799
+ if (sourceFile.imports.length === 0 && oldFileQuotePreference !== void 0) {
148800
+ quotePreference = oldFileQuotePreference;
148801
+ } else {
148802
+ quotePreference = getQuotePreference(sourceFile, preferences);
148803
+ }
148800
148804
  for (const fix of addToNamespace) {
148801
148805
  addNamespaceQualifier(changeTracker, sourceFile, fix);
148802
148806
  }
@@ -54,7 +54,7 @@ var path = __toESM(require("path"));
54
54
 
55
55
  // src/compiler/corePublic.ts
56
56
  var versionMajorMinor = "5.2";
57
- var version = `${versionMajorMinor}.0-insiders.20230710`;
57
+ var version = `${versionMajorMinor}.0-insiders.20230713`;
58
58
 
59
59
  // src/compiler/core.ts
60
60
  var emptyArray = [];
@@ -5492,7 +5492,6 @@ var Diagnostics = {
5492
5492
  The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration: diag(1493, 1 /* Error */, "The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493", "The left-hand side of a 'for...in' statement cannot be a 'using' declaration."),
5493
5493
  The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration: diag(1494, 1 /* Error */, "The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494", "The left-hand side of a 'for...in' statement cannot be an 'await using' declaration."),
5494
5494
  _0_modifier_cannot_appear_on_an_await_using_declaration: diag(1495, 1 /* Error */, "_0_modifier_cannot_appear_on_an_await_using_declaration_1495", "'{0}' modifier cannot appear on an 'await using' declaration."),
5495
- Unexpected_token_Did_you_mean_0: diag(1496, 1 /* Error */, "Unexpected_token_Did_you_mean_0_1496", "Unexpected token. Did you mean '{0}'?"),
5496
5495
  The_types_of_0_are_incompatible_between_these_types: diag(2200, 1 /* Error */, "The_types_of_0_are_incompatible_between_these_types_2200", "The types of '{0}' are incompatible between these types."),
5497
5496
  The_types_returned_by_0_are_incompatible_between_these_types: diag(2201, 1 /* Error */, "The_types_returned_by_0_are_incompatible_between_these_types_2201", "The types returned by '{0}' are incompatible between these types."),
5498
5497
  Call_signature_return_types_0_and_1_are_incompatible: diag(
@@ -8473,10 +8472,6 @@ function createScanner(languageVersion, skipTrivia2, languageVariant = 0 /* Stan
8473
8472
  case 33 /* exclamation */:
8474
8473
  if (text.charCodeAt(pos + 1) === 61 /* equals */) {
8475
8474
  if (text.charCodeAt(pos + 2) === 61 /* equals */) {
8476
- if (text.charCodeAt(pos + 3) === 61 /* equals */) {
8477
- error(Diagnostics.Unexpected_token_Did_you_mean_0, pos, 4, "!==");
8478
- return pos += 4, token = 38 /* ExclamationEqualsEqualsToken */;
8479
- }
8480
8475
  return pos += 3, token = 38 /* ExclamationEqualsEqualsToken */;
8481
8476
  }
8482
8477
  return pos += 2, token = 36 /* ExclamationEqualsToken */;
@@ -19730,6 +19725,9 @@ var Parser;
19730
19725
  break;
19731
19726
  }
19732
19727
  parseExpected(28 /* CommaToken */, getExpectedCommaDiagnostic(kind));
19728
+ if (!(contextFlags & 134217728 /* JsonFile */) && token() === 19 /* OpenBraceToken */) {
19729
+ break;
19730
+ }
19733
19731
  if (considerSemicolonAsDelimiter && token() === 27 /* SemicolonToken */ && !scanner.hasPrecedingLineBreak()) {
19734
19732
  nextToken();
19735
19733
  }
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.2.0-pr-54891-7",
5
+ "version": "5.2.0-pr-55004-3",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -40,7 +40,7 @@
40
40
  ],
41
41
  "devDependencies": {
42
42
  "@esfx/canceltoken": "^1.0.0",
43
- "@octokit/rest": "latest",
43
+ "@octokit/rest": "^19.0.13",
44
44
  "@types/chai": "^4.3.4",
45
45
  "@types/fs-extra": "^9.0.13",
46
46
  "@types/glob": "^8.1.0",
@@ -115,5 +115,5 @@
115
115
  "node": "20.1.0",
116
116
  "npm": "8.19.4"
117
117
  },
118
- "gitHead": "10d90775d78339c5ac584cfad4943b07e0f2c868"
118
+ "gitHead": "c76e5f102e31c130e9f15ba27457912c84d17823"
119
119
  }