@typescript-deploys/pr-build 6.0.0-pr-62170-7 → 6.0.0-pr-62151-19

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 = "6.0";
21
- var version = `${versionMajorMinor}.0-insiders.20250908`;
21
+ var version = `${versionMajorMinor}.0-insiders.20250909`;
22
22
 
23
23
  // src/compiler/core.ts
24
24
  var emptyArray = [];
@@ -15491,9 +15491,6 @@ function getTypeParameterFromJsDoc(node) {
15491
15491
  const { typeParameters } = node.parent.parent.parent;
15492
15492
  return typeParameters && find(typeParameters, (p) => p.name.escapedText === name);
15493
15493
  }
15494
- function hasTypeArguments(node) {
15495
- return !!node.typeArguments;
15496
- }
15497
15494
  function getAssignmentTarget(node) {
15498
15495
  let parent = node.parent;
15499
15496
  while (true) {
@@ -20274,10 +20271,22 @@ function createParenthesizerRules(factory2) {
20274
20271
  }
20275
20272
  return parenthesizerRule;
20276
20273
  }
20274
+ function mixingBinaryOperatorsRequiresParentheses(a, b) {
20275
+ if (a === 61 /* QuestionQuestionToken */) {
20276
+ return b === 56 /* AmpersandAmpersandToken */ || b === 57 /* BarBarToken */;
20277
+ }
20278
+ if (b === 61 /* QuestionQuestionToken */) {
20279
+ return a === 56 /* AmpersandAmpersandToken */ || a === 57 /* BarBarToken */;
20280
+ }
20281
+ return false;
20282
+ }
20277
20283
  function binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) {
20284
+ const emittedOperand = skipPartiallyEmittedExpressions(operand);
20285
+ if (isBinaryExpression(emittedOperand) && mixingBinaryOperatorsRequiresParentheses(binaryOperator, emittedOperand.operatorToken.kind)) {
20286
+ return true;
20287
+ }
20278
20288
  const binaryOperatorPrecedence = getOperatorPrecedence(227 /* BinaryExpression */, binaryOperator);
20279
20289
  const binaryOperatorAssociativity = getOperatorAssociativity(227 /* BinaryExpression */, binaryOperator);
20280
- const emittedOperand = skipPartiallyEmittedExpressions(operand);
20281
20290
  if (!isLeftSideOfBinary && operand.kind === 220 /* ArrowFunction */ && binaryOperatorPrecedence > 3 /* Assignment */) {
20282
20291
  return true;
20283
20292
  }
@@ -67730,6 +67739,13 @@ function createTypeChecker(host) {
67730
67739
  return mapType(type, getDefinitelyFalsyPartOfType);
67731
67740
  }
67732
67741
  function getDefinitelyFalsyPartOfType(type) {
67742
+ if (type.flags & 262144 /* TypeParameter */) {
67743
+ const constraint = getBaseConstraintOfType(type);
67744
+ if (!constraint || constraint === type) {
67745
+ return neverType;
67746
+ }
67747
+ return getDefinitelyFalsyPartOfType(constraint);
67748
+ }
67733
67749
  return type.flags & 4 /* String */ ? emptyStringType : type.flags & 8 /* Number */ ? zeroType : type.flags & 64 /* BigInt */ ? zeroBigIntType : type === regularFalseType || type === falseType || type.flags & (16384 /* Void */ | 32768 /* Undefined */ | 65536 /* Null */ | 3 /* AnyOrUnknown */) || type.flags & 128 /* StringLiteral */ && type.value === "" || type.flags & 256 /* NumberLiteral */ && type.value === 0 || type.flags & 2048 /* BigIntLiteral */ && isZeroBigInt(type) ? type : neverType;
67734
67750
  }
67735
67751
  function getNullableType(type, flags) {
@@ -81588,47 +81604,6 @@ function createTypeChecker(host) {
81588
81604
  }
81589
81605
  return void 0;
81590
81606
  }
81591
- function getUninstantiatedSignatures(node) {
81592
- switch (node.kind) {
81593
- case 214 /* CallExpression */:
81594
- case 171 /* Decorator */:
81595
- return getSignaturesOfType(
81596
- getTypeOfExpression(node.expression),
81597
- 0 /* Call */
81598
- );
81599
- case 215 /* NewExpression */:
81600
- return getSignaturesOfType(
81601
- getTypeOfExpression(node.expression),
81602
- 1 /* Construct */
81603
- );
81604
- case 286 /* JsxSelfClosingElement */:
81605
- case 287 /* JsxOpeningElement */:
81606
- if (isJsxIntrinsicTagName(node.tagName)) return [];
81607
- return getSignaturesOfType(
81608
- getTypeOfExpression(node.tagName),
81609
- 0 /* Call */
81610
- );
81611
- case 216 /* TaggedTemplateExpression */:
81612
- return getSignaturesOfType(
81613
- getTypeOfExpression(node.tag),
81614
- 0 /* Call */
81615
- );
81616
- case 227 /* BinaryExpression */:
81617
- case 290 /* JsxOpeningFragment */:
81618
- return [];
81619
- }
81620
- }
81621
- function getTypeParameterConstraintForPositionAcrossSignatures(signatures, position) {
81622
- const relevantTypeParameterConstraints = flatMap(signatures, (signature) => {
81623
- var _a;
81624
- const relevantTypeParameter = (_a = signature.typeParameters) == null ? void 0 : _a[position];
81625
- if (relevantTypeParameter === void 0) return [];
81626
- const relevantConstraint = getConstraintOfTypeParameter(relevantTypeParameter);
81627
- if (relevantConstraint === void 0) return [];
81628
- return [relevantConstraint];
81629
- });
81630
- return getUnionType(relevantTypeParameterConstraints);
81631
- }
81632
81607
  function checkTypeReferenceNode(node) {
81633
81608
  checkGrammarTypeArguments(node, node.typeArguments);
81634
81609
  if (node.kind === 184 /* TypeReference */ && !isInJSFile(node) && !isInJSDoc(node) && node.typeArguments && node.typeName.end !== node.typeArguments.pos) {
@@ -81664,48 +81639,12 @@ function createTypeChecker(host) {
81664
81639
  }
81665
81640
  }
81666
81641
  function getTypeArgumentConstraint(node) {
81667
- let typeArgumentPosition;
81668
- if (hasTypeArguments(node.parent) && Array.isArray(node.parent.typeArguments)) {
81669
- typeArgumentPosition = node.parent.typeArguments.indexOf(node);
81670
- }
81671
- if (typeArgumentPosition !== void 0) {
81672
- if (isCallLikeExpression(node.parent)) {
81673
- return getTypeParameterConstraintForPositionAcrossSignatures(
81674
- getUninstantiatedSignatures(node.parent),
81675
- typeArgumentPosition
81676
- );
81677
- }
81678
- if (isDecorator(node.parent.parent)) {
81679
- return getTypeParameterConstraintForPositionAcrossSignatures(
81680
- getUninstantiatedSignatures(node.parent.parent),
81681
- typeArgumentPosition
81682
- );
81683
- }
81684
- if (isExpressionWithTypeArguments(node.parent) && isExpressionStatement(node.parent.parent)) {
81685
- const uninstantiatedType = checkExpression(node.parent.expression);
81686
- const callConstraint = getTypeParameterConstraintForPositionAcrossSignatures(
81687
- getSignaturesOfType(uninstantiatedType, 0 /* Call */),
81688
- typeArgumentPosition
81689
- );
81690
- const constructConstraint = getTypeParameterConstraintForPositionAcrossSignatures(
81691
- getSignaturesOfType(uninstantiatedType, 1 /* Construct */),
81692
- typeArgumentPosition
81693
- );
81694
- if (constructConstraint.flags & 131072 /* Never */) return callConstraint;
81695
- if (callConstraint.flags & 131072 /* Never */) return constructConstraint;
81696
- return getIntersectionType([callConstraint, constructConstraint]);
81697
- }
81698
- if (isTypeReferenceType(node.parent)) {
81699
- const typeParameters = getTypeParametersForTypeReferenceOrImport(node.parent);
81700
- if (!typeParameters) return void 0;
81701
- const relevantTypeParameter = typeParameters[typeArgumentPosition];
81702
- const constraint = getConstraintOfTypeParameter(relevantTypeParameter);
81703
- return constraint && instantiateType(
81704
- constraint,
81705
- createTypeMapper(typeParameters, getEffectiveTypeArguments(node.parent, typeParameters))
81706
- );
81707
- }
81708
- }
81642
+ const typeReferenceNode = tryCast(node.parent, isTypeReferenceType);
81643
+ if (!typeReferenceNode) return void 0;
81644
+ const typeParameters = getTypeParametersForTypeReferenceOrImport(typeReferenceNode);
81645
+ if (!typeParameters) return void 0;
81646
+ const constraint = getConstraintOfTypeParameter(typeParameters[typeReferenceNode.typeArguments.indexOf(node)]);
81647
+ return constraint && instantiateType(constraint, createTypeMapper(typeParameters, getEffectiveTypeArguments(typeReferenceNode, typeParameters)));
81709
81648
  }
81710
81649
  function checkTypeQuery(node) {
81711
81650
  getTypeFromTypeQueryNode(node);
@@ -374,6 +374,8 @@ interface Float16ArrayConstructor {
374
374
  new (length?: number): Float16Array<ArrayBuffer>;
375
375
  new (array: ArrayLike<number> | Iterable<number>): Float16Array<ArrayBuffer>;
376
376
  new <TArrayBuffer extends ArrayBufferLike = ArrayBuffer>(buffer: TArrayBuffer, byteOffset?: number, length?: number): Float16Array<TArrayBuffer>;
377
+ new (buffer: ArrayBuffer, byteOffset?: number, length?: number): Float16Array<ArrayBuffer>;
378
+ new (array: ArrayLike<number> | ArrayBuffer): Float16Array<ArrayBuffer>;
377
379
 
378
380
  /**
379
381
  * The size in bytes of each element in the array.
package/lib/typescript.js CHANGED
@@ -2286,7 +2286,7 @@ module.exports = __toCommonJS(typescript_exports);
2286
2286
 
2287
2287
  // src/compiler/corePublic.ts
2288
2288
  var versionMajorMinor = "6.0";
2289
- var version = `${versionMajorMinor}.0-insiders.20250908`;
2289
+ var version = `${versionMajorMinor}.0-insiders.20250909`;
2290
2290
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
2291
2291
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
2292
2292
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -24366,10 +24366,22 @@ function createParenthesizerRules(factory2) {
24366
24366
  }
24367
24367
  return parenthesizerRule;
24368
24368
  }
24369
+ function mixingBinaryOperatorsRequiresParentheses(a, b) {
24370
+ if (a === 61 /* QuestionQuestionToken */) {
24371
+ return b === 56 /* AmpersandAmpersandToken */ || b === 57 /* BarBarToken */;
24372
+ }
24373
+ if (b === 61 /* QuestionQuestionToken */) {
24374
+ return a === 56 /* AmpersandAmpersandToken */ || a === 57 /* BarBarToken */;
24375
+ }
24376
+ return false;
24377
+ }
24369
24378
  function binaryOperandNeedsParentheses(binaryOperator, operand, isLeftSideOfBinary, leftOperand) {
24379
+ const emittedOperand = skipPartiallyEmittedExpressions(operand);
24380
+ if (isBinaryExpression(emittedOperand) && mixingBinaryOperatorsRequiresParentheses(binaryOperator, emittedOperand.operatorToken.kind)) {
24381
+ return true;
24382
+ }
24370
24383
  const binaryOperatorPrecedence = getOperatorPrecedence(227 /* BinaryExpression */, binaryOperator);
24371
24384
  const binaryOperatorAssociativity = getOperatorAssociativity(227 /* BinaryExpression */, binaryOperator);
24372
- const emittedOperand = skipPartiallyEmittedExpressions(operand);
24373
24385
  if (!isLeftSideOfBinary && operand.kind === 220 /* ArrowFunction */ && binaryOperatorPrecedence > 3 /* Assignment */) {
24374
24386
  return true;
24375
24387
  }
@@ -72336,6 +72348,13 @@ function createTypeChecker(host) {
72336
72348
  return mapType(type, getDefinitelyFalsyPartOfType);
72337
72349
  }
72338
72350
  function getDefinitelyFalsyPartOfType(type) {
72351
+ if (type.flags & 262144 /* TypeParameter */) {
72352
+ const constraint = getBaseConstraintOfType(type);
72353
+ if (!constraint || constraint === type) {
72354
+ return neverType;
72355
+ }
72356
+ return getDefinitelyFalsyPartOfType(constraint);
72357
+ }
72339
72358
  return type.flags & 4 /* String */ ? emptyStringType : type.flags & 8 /* Number */ ? zeroType : type.flags & 64 /* BigInt */ ? zeroBigIntType : type === regularFalseType || type === falseType || type.flags & (16384 /* Void */ | 32768 /* Undefined */ | 65536 /* Null */ | 3 /* AnyOrUnknown */) || type.flags & 128 /* StringLiteral */ && type.value === "" || type.flags & 256 /* NumberLiteral */ && type.value === 0 || type.flags & 2048 /* BigIntLiteral */ && isZeroBigInt(type) ? type : neverType;
72340
72359
  }
72341
72360
  function getNullableType(type, flags) {
@@ -86194,47 +86213,6 @@ function createTypeChecker(host) {
86194
86213
  }
86195
86214
  return void 0;
86196
86215
  }
86197
- function getUninstantiatedSignatures(node) {
86198
- switch (node.kind) {
86199
- case 214 /* CallExpression */:
86200
- case 171 /* Decorator */:
86201
- return getSignaturesOfType(
86202
- getTypeOfExpression(node.expression),
86203
- 0 /* Call */
86204
- );
86205
- case 215 /* NewExpression */:
86206
- return getSignaturesOfType(
86207
- getTypeOfExpression(node.expression),
86208
- 1 /* Construct */
86209
- );
86210
- case 286 /* JsxSelfClosingElement */:
86211
- case 287 /* JsxOpeningElement */:
86212
- if (isJsxIntrinsicTagName(node.tagName)) return [];
86213
- return getSignaturesOfType(
86214
- getTypeOfExpression(node.tagName),
86215
- 0 /* Call */
86216
- );
86217
- case 216 /* TaggedTemplateExpression */:
86218
- return getSignaturesOfType(
86219
- getTypeOfExpression(node.tag),
86220
- 0 /* Call */
86221
- );
86222
- case 227 /* BinaryExpression */:
86223
- case 290 /* JsxOpeningFragment */:
86224
- return [];
86225
- }
86226
- }
86227
- function getTypeParameterConstraintForPositionAcrossSignatures(signatures, position) {
86228
- const relevantTypeParameterConstraints = flatMap(signatures, (signature) => {
86229
- var _a;
86230
- const relevantTypeParameter = (_a = signature.typeParameters) == null ? void 0 : _a[position];
86231
- if (relevantTypeParameter === void 0) return [];
86232
- const relevantConstraint = getConstraintOfTypeParameter(relevantTypeParameter);
86233
- if (relevantConstraint === void 0) return [];
86234
- return [relevantConstraint];
86235
- });
86236
- return getUnionType(relevantTypeParameterConstraints);
86237
- }
86238
86216
  function checkTypeReferenceNode(node) {
86239
86217
  checkGrammarTypeArguments(node, node.typeArguments);
86240
86218
  if (node.kind === 184 /* TypeReference */ && !isInJSFile(node) && !isInJSDoc(node) && node.typeArguments && node.typeName.end !== node.typeArguments.pos) {
@@ -86270,48 +86248,12 @@ function createTypeChecker(host) {
86270
86248
  }
86271
86249
  }
86272
86250
  function getTypeArgumentConstraint(node) {
86273
- let typeArgumentPosition;
86274
- if (hasTypeArguments(node.parent) && Array.isArray(node.parent.typeArguments)) {
86275
- typeArgumentPosition = node.parent.typeArguments.indexOf(node);
86276
- }
86277
- if (typeArgumentPosition !== void 0) {
86278
- if (isCallLikeExpression(node.parent)) {
86279
- return getTypeParameterConstraintForPositionAcrossSignatures(
86280
- getUninstantiatedSignatures(node.parent),
86281
- typeArgumentPosition
86282
- );
86283
- }
86284
- if (isDecorator(node.parent.parent)) {
86285
- return getTypeParameterConstraintForPositionAcrossSignatures(
86286
- getUninstantiatedSignatures(node.parent.parent),
86287
- typeArgumentPosition
86288
- );
86289
- }
86290
- if (isExpressionWithTypeArguments(node.parent) && isExpressionStatement(node.parent.parent)) {
86291
- const uninstantiatedType = checkExpression(node.parent.expression);
86292
- const callConstraint = getTypeParameterConstraintForPositionAcrossSignatures(
86293
- getSignaturesOfType(uninstantiatedType, 0 /* Call */),
86294
- typeArgumentPosition
86295
- );
86296
- const constructConstraint = getTypeParameterConstraintForPositionAcrossSignatures(
86297
- getSignaturesOfType(uninstantiatedType, 1 /* Construct */),
86298
- typeArgumentPosition
86299
- );
86300
- if (constructConstraint.flags & 131072 /* Never */) return callConstraint;
86301
- if (callConstraint.flags & 131072 /* Never */) return constructConstraint;
86302
- return getIntersectionType([callConstraint, constructConstraint]);
86303
- }
86304
- if (isTypeReferenceType(node.parent)) {
86305
- const typeParameters = getTypeParametersForTypeReferenceOrImport(node.parent);
86306
- if (!typeParameters) return void 0;
86307
- const relevantTypeParameter = typeParameters[typeArgumentPosition];
86308
- const constraint = getConstraintOfTypeParameter(relevantTypeParameter);
86309
- return constraint && instantiateType(
86310
- constraint,
86311
- createTypeMapper(typeParameters, getEffectiveTypeArguments2(node.parent, typeParameters))
86312
- );
86313
- }
86314
- }
86251
+ const typeReferenceNode = tryCast(node.parent, isTypeReferenceType);
86252
+ if (!typeReferenceNode) return void 0;
86253
+ const typeParameters = getTypeParametersForTypeReferenceOrImport(typeReferenceNode);
86254
+ if (!typeParameters) return void 0;
86255
+ const constraint = getConstraintOfTypeParameter(typeParameters[typeReferenceNode.typeArguments.indexOf(node)]);
86256
+ return constraint && instantiateType(constraint, createTypeMapper(typeParameters, getEffectiveTypeArguments2(typeReferenceNode, typeParameters)));
86315
86257
  }
86316
86258
  function checkTypeQuery(node) {
86317
86259
  getTypeFromTypeQueryNode(node);
@@ -166801,7 +166743,6 @@ __export(ts_Completions_exports, {
166801
166743
  getCompletionEntryDetails: () => getCompletionEntryDetails,
166802
166744
  getCompletionEntrySymbol: () => getCompletionEntrySymbol,
166803
166745
  getCompletionsAtPosition: () => getCompletionsAtPosition,
166804
- getConstraintOfTypeArgumentProperty: () => getConstraintOfTypeArgumentProperty,
166805
166746
  getDefaultCommitCharacters: () => getDefaultCommitCharacters,
166806
166747
  getPropertiesForObjectExpression: () => getPropertiesForObjectExpression,
166807
166748
  moduleSpecifierResolutionCacheAttemptLimit: () => moduleSpecifierResolutionCacheAttemptLimit,
@@ -169126,13 +169067,13 @@ function getCompletionData(program, log, sourceFile, compilerOptions, position,
169126
169067
  }
169127
169068
  }
169128
169069
  log("getCompletionData: Semantic work: " + (timestamp() - semanticStart));
169129
- const contextualTypeOrConstraint = previousToken && (getContextualType(previousToken, position, sourceFile, typeChecker) ?? getConstraintOfTypeArgumentProperty(previousToken, typeChecker));
169070
+ const contextualType = previousToken && getContextualType(previousToken, position, sourceFile, typeChecker);
169130
169071
  const isLiteralExpected = !tryCast(previousToken, isStringLiteralLike) && !isJsxIdentifierExpected;
169131
169072
  const literals = !isLiteralExpected ? [] : mapDefined(
169132
- contextualTypeOrConstraint && (contextualTypeOrConstraint.isUnion() ? contextualTypeOrConstraint.types : [contextualTypeOrConstraint]),
169073
+ contextualType && (contextualType.isUnion() ? contextualType.types : [contextualType]),
169133
169074
  (t) => t.isLiteral() && !(t.flags & 1024 /* EnumLiteral */) ? t.value : void 0
169134
169075
  );
169135
- const recommendedCompletion = previousToken && contextualTypeOrConstraint && getRecommendedCompletion(previousToken, contextualTypeOrConstraint, typeChecker);
169076
+ const recommendedCompletion = previousToken && contextualType && getRecommendedCompletion(previousToken, contextualType, typeChecker);
169136
169077
  return {
169137
169078
  kind: 0 /* Data */,
169138
169079
  symbols,
@@ -170638,26 +170579,18 @@ function tryGetTypeLiteralNode(node) {
170638
170579
  }
170639
170580
  function getConstraintOfTypeArgumentProperty(node, checker) {
170640
170581
  if (!node) return void 0;
170641
- if (isTypeNode(node)) {
170642
- const constraint = checker.getTypeArgumentConstraint(node);
170643
- if (constraint) return constraint;
170582
+ if (isTypeNode(node) && isTypeReferenceType(node.parent)) {
170583
+ return checker.getTypeArgumentConstraint(node);
170644
170584
  }
170645
170585
  const t = getConstraintOfTypeArgumentProperty(node.parent, checker);
170646
170586
  if (!t) return void 0;
170647
170587
  switch (node.kind) {
170648
170588
  case 172 /* PropertySignature */:
170649
170589
  return checker.getTypeOfPropertyOfContextualType(t, node.symbol.escapedName);
170650
- case 59 /* ColonToken */:
170651
- if (node.parent.kind === 172 /* PropertySignature */) {
170652
- return t;
170653
- }
170654
- break;
170655
170590
  case 194 /* IntersectionType */:
170656
170591
  case 188 /* TypeLiteral */:
170657
170592
  case 193 /* UnionType */:
170658
170593
  return t;
170659
- case 23 /* OpenBracketToken */:
170660
- return checker.getElementTypeOfArrayType(t);
170661
170594
  }
170662
170595
  }
170663
170596
  function isFromObjectTypeDeclaration(node) {
@@ -171179,12 +171112,7 @@ function getStringLiteralCompletionEntries(sourceFile, node, position, program,
171179
171112
  }
171180
171113
  function fromUnionableLiteralType(grandParent) {
171181
171114
  switch (grandParent.kind) {
171182
- case 214 /* CallExpression */:
171183
171115
  case 234 /* ExpressionWithTypeArguments */:
171184
- case 287 /* JsxOpeningElement */:
171185
- case 286 /* JsxSelfClosingElement */:
171186
- case 215 /* NewExpression */:
171187
- case 216 /* TaggedTemplateExpression */:
171188
171116
  case 184 /* TypeReference */: {
171189
171117
  const typeArgument = findAncestor(parent2, (n) => n.parent === grandParent);
171190
171118
  if (typeArgument) {
@@ -171198,8 +171126,6 @@ function getStringLiteralCompletionEntries(sourceFile, node, position, program,
171198
171126
  return void 0;
171199
171127
  }
171200
171128
  return stringLiteralCompletionsFromProperties(typeChecker.getTypeFromTypeNode(objectType));
171201
- case 172 /* PropertySignature */:
171202
- return { kind: 2 /* Types */, types: getStringLiteralTypes(getConstraintOfTypeArgumentProperty(grandParent, typeChecker)), isNewIdentifier: false };
171203
171129
  case 193 /* UnionType */: {
171204
171130
  const result = fromUnionableLiteralType(walkUpParentheses(grandParent.parent));
171205
171131
  if (!result) {
@@ -189846,8 +189772,8 @@ function forEachAnyProjectReferenceKind(project, cb, cbProjectRef, cbPotentialPr
189846
189772
  return project.getCurrentProgram() ? project.forEachResolvedProjectReference(cb) : project.initialLoadPending ? forEachPotentialProjectReference(project, cbPotentialProjectRef) : forEach(project.getProjectReferences(), cbProjectRef);
189847
189773
  }
189848
189774
  function callbackRefProject(project, cb, refPath) {
189849
- const refProject = refPath && project.projectService.configuredProjects.get(refPath);
189850
- return refProject && cb(refProject);
189775
+ const refProject = refPath ? project.projectService.configuredProjects.get(refPath) : void 0;
189776
+ return refProject ? cb(refProject) : void 0;
189851
189777
  }
189852
189778
  function forEachReferencedProject(project, cb) {
189853
189779
  return forEachAnyProjectReferenceKind(
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": "6.0.0-pr-62170-7",
5
+ "version": "6.0.0-pr-62151-19",
6
6
  "license": "Apache-2.0",
7
7
  "description": "TypeScript is a language for application scale JavaScript development",
8
8
  "keywords": [
@@ -115,5 +115,6 @@
115
115
  "volta": {
116
116
  "node": "20.1.0",
117
117
  "npm": "8.19.4"
118
- }
118
+ },
119
+ "dependencies": {}
119
120
  }