@typescript-deploys/pr-build 5.5.0-pr-57201-2 → 5.5.0-pr-58655-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 CHANGED
@@ -18,7 +18,7 @@ and limitations under the License.
18
18
 
19
19
  // src/compiler/corePublic.ts
20
20
  var versionMajorMinor = "5.5";
21
- var version = `${versionMajorMinor}.0-insiders.20240524`;
21
+ var version = `${versionMajorMinor}.0-insiders.20240525`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -53064,6 +53064,25 @@ function createTypeChecker(host) {
53064
53064
  function serializeSignatures(kind, input, baseType, outputKind) {
53065
53065
  const signatures = getSignaturesOfType(input, kind);
53066
53066
  if (kind === 1 /* Construct */) {
53067
+ let privateProtected = 0;
53068
+ for (const s of signatures) {
53069
+ if (s.declaration) {
53070
+ privateProtected |= getSelectedEffectiveModifierFlags(s.declaration, 2 /* Private */ | 4 /* Protected */);
53071
+ }
53072
+ }
53073
+ if (privateProtected) {
53074
+ return [setTextRange2(
53075
+ context,
53076
+ factory.createConstructorDeclaration(
53077
+ factory.createModifiersFromModifierFlags(privateProtected),
53078
+ /*parameters*/
53079
+ [],
53080
+ /*body*/
53081
+ void 0
53082
+ ),
53083
+ signatures[0].declaration
53084
+ )];
53085
+ }
53067
53086
  if (!baseType && every(signatures, (s) => length(s.parameters) === 0)) {
53068
53087
  return [];
53069
53088
  }
@@ -53095,25 +53114,6 @@ function createTypeChecker(host) {
53095
53114
  }
53096
53115
  }
53097
53116
  }
53098
- let privateProtected = 0;
53099
- for (const s of signatures) {
53100
- if (s.declaration) {
53101
- privateProtected |= getSelectedEffectiveModifierFlags(s.declaration, 2 /* Private */ | 4 /* Protected */);
53102
- }
53103
- }
53104
- if (privateProtected) {
53105
- return [setTextRange2(
53106
- context,
53107
- factory.createConstructorDeclaration(
53108
- factory.createModifiersFromModifierFlags(privateProtected),
53109
- /*parameters*/
53110
- [],
53111
- /*body*/
53112
- void 0
53113
- ),
53114
- signatures[0].declaration
53115
- )];
53116
- }
53117
53117
  }
53118
53118
  const results2 = [];
53119
53119
  for (const sig of signatures) {
package/lib/typescript.js CHANGED
@@ -2370,7 +2370,7 @@ module.exports = __toCommonJS(typescript_exports);
2370
2370
 
2371
2371
  // src/compiler/corePublic.ts
2372
2372
  var versionMajorMinor = "5.5";
2373
- var version = `${versionMajorMinor}.0-insiders.20240524`;
2373
+ var version = `${versionMajorMinor}.0-insiders.20240525`;
2374
2374
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2375
2375
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2376
2376
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -57859,6 +57859,25 @@ function createTypeChecker(host) {
57859
57859
  function serializeSignatures(kind, input, baseType, outputKind) {
57860
57860
  const signatures = getSignaturesOfType(input, kind);
57861
57861
  if (kind === 1 /* Construct */) {
57862
+ let privateProtected = 0;
57863
+ for (const s of signatures) {
57864
+ if (s.declaration) {
57865
+ privateProtected |= getSelectedEffectiveModifierFlags(s.declaration, 2 /* Private */ | 4 /* Protected */);
57866
+ }
57867
+ }
57868
+ if (privateProtected) {
57869
+ return [setTextRange2(
57870
+ context,
57871
+ factory.createConstructorDeclaration(
57872
+ factory.createModifiersFromModifierFlags(privateProtected),
57873
+ /*parameters*/
57874
+ [],
57875
+ /*body*/
57876
+ void 0
57877
+ ),
57878
+ signatures[0].declaration
57879
+ )];
57880
+ }
57862
57881
  if (!baseType && every(signatures, (s) => length(s.parameters) === 0)) {
57863
57882
  return [];
57864
57883
  }
@@ -57890,25 +57909,6 @@ function createTypeChecker(host) {
57890
57909
  }
57891
57910
  }
57892
57911
  }
57893
- let privateProtected = 0;
57894
- for (const s of signatures) {
57895
- if (s.declaration) {
57896
- privateProtected |= getSelectedEffectiveModifierFlags(s.declaration, 2 /* Private */ | 4 /* Protected */);
57897
- }
57898
- }
57899
- if (privateProtected) {
57900
- return [setTextRange2(
57901
- context,
57902
- factory.createConstructorDeclaration(
57903
- factory.createModifiersFromModifierFlags(privateProtected),
57904
- /*parameters*/
57905
- [],
57906
- /*body*/
57907
- void 0
57908
- ),
57909
- signatures[0].declaration
57910
- )];
57911
- }
57912
57912
  }
57913
57913
  const results2 = [];
57914
57914
  for (const sig of signatures) {
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.5.0-pr-57201-2",
5
+ "version": "5.5.0-pr-58655-2",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [