@typescript-deploys/pr-build 5.0.0-pr-52807-23 → 5.0.0-pr-50431-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.
@@ -35,7 +35,7 @@ var ts = (() => {
35
35
  "src/compiler/corePublic.ts"() {
36
36
  "use strict";
37
37
  versionMajorMinor = "5.0";
38
- version = `${versionMajorMinor}.0-insiders.20230216`;
38
+ version = `${versionMajorMinor}.0-insiders.20230217`;
39
39
  Comparison = /* @__PURE__ */ ((Comparison3) => {
40
40
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
41
41
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -13027,6 +13027,36 @@ ${lanes.join("\n")}
13027
13027
  function nodeIsPresent(node) {
13028
13028
  return !nodeIsMissing(node);
13029
13029
  }
13030
+ function isGrammarError(parent2, child) {
13031
+ if (isTypeParameterDeclaration(parent2))
13032
+ return child === parent2.expression;
13033
+ if (isClassStaticBlockDeclaration(parent2))
13034
+ return child === parent2.modifiers;
13035
+ if (isPropertySignature(parent2))
13036
+ return child === parent2.initializer;
13037
+ if (isPropertyDeclaration(parent2))
13038
+ return child === parent2.questionToken && isAutoAccessorPropertyDeclaration(parent2);
13039
+ if (isPropertyAssignment(parent2))
13040
+ return child === parent2.modifiers || child === parent2.questionToken || child === parent2.exclamationToken || isGrammarErrorElement(parent2.modifiers, child, isModifierLike);
13041
+ if (isShorthandPropertyAssignment(parent2))
13042
+ return child === parent2.equalsToken || child === parent2.modifiers || child === parent2.questionToken || child === parent2.exclamationToken || isGrammarErrorElement(parent2.modifiers, child, isModifierLike);
13043
+ if (isMethodDeclaration(parent2))
13044
+ return child === parent2.exclamationToken;
13045
+ if (isConstructorDeclaration(parent2))
13046
+ return child === parent2.typeParameters || child === parent2.type || isGrammarErrorElement(parent2.typeParameters, child, isTypeParameterDeclaration);
13047
+ if (isGetAccessorDeclaration(parent2))
13048
+ return child === parent2.typeParameters || isGrammarErrorElement(parent2.typeParameters, child, isTypeParameterDeclaration);
13049
+ if (isSetAccessorDeclaration(parent2))
13050
+ return child === parent2.typeParameters || child === parent2.type || isGrammarErrorElement(parent2.typeParameters, child, isTypeParameterDeclaration);
13051
+ if (isNamespaceExportDeclaration(parent2))
13052
+ return child === parent2.modifiers || isGrammarErrorElement(parent2.modifiers, child, isModifierLike);
13053
+ return false;
13054
+ }
13055
+ function isGrammarErrorElement(nodeArray, child, isElement) {
13056
+ if (!nodeArray || isArray(child) || !isElement(child))
13057
+ return false;
13058
+ return contains(nodeArray, child);
13059
+ }
13030
13060
  function insertStatementsAfterPrologue(to, from, isPrologueDirective2) {
13031
13061
  if (from === void 0 || from.length === 0)
13032
13062
  return to;
@@ -17361,20 +17391,39 @@ ${lanes.join("\n")}
17361
17391
  function isWriteAccess(node) {
17362
17392
  return accessKind(node) !== 0 /* Read */;
17363
17393
  }
17394
+ function isWriteOnlyUsage(node) {
17395
+ return accessKindForUsageChecks(node) === 1 /* Write */;
17396
+ }
17397
+ function isWriteUsage(node) {
17398
+ return accessKindForUsageChecks(node) !== 0 /* Read */;
17399
+ }
17400
+ function accessKindForUsageChecks(node) {
17401
+ const kind = accessKind(node);
17402
+ const { parent: parent2 } = node;
17403
+ switch (parent2 == null ? void 0 : parent2.kind) {
17404
+ case 222 /* PostfixUnaryExpression */:
17405
+ case 221 /* PrefixUnaryExpression */:
17406
+ case 223 /* BinaryExpression */:
17407
+ return kind === 2 /* ReadWrite */ ? writeOrReadWrite() : kind;
17408
+ default:
17409
+ return kind;
17410
+ }
17411
+ function writeOrReadWrite() {
17412
+ return parent2.parent && walkUpParenthesizedExpressions(parent2.parent).kind === 241 /* ExpressionStatement */ ? 1 /* Write */ : 2 /* ReadWrite */;
17413
+ }
17414
+ }
17364
17415
  function accessKind(node) {
17365
17416
  const { parent: parent2 } = node;
17366
- if (!parent2)
17367
- return 0 /* Read */;
17368
- switch (parent2.kind) {
17417
+ switch (parent2 == null ? void 0 : parent2.kind) {
17369
17418
  case 214 /* ParenthesizedExpression */:
17370
17419
  return accessKind(parent2);
17371
17420
  case 222 /* PostfixUnaryExpression */:
17372
17421
  case 221 /* PrefixUnaryExpression */:
17373
17422
  const { operator } = parent2;
17374
- return operator === 45 /* PlusPlusToken */ || operator === 46 /* MinusMinusToken */ ? writeOrReadWrite() : 0 /* Read */;
17423
+ return operator === 45 /* PlusPlusToken */ || operator === 46 /* MinusMinusToken */ ? 2 /* ReadWrite */ : 0 /* Read */;
17375
17424
  case 223 /* BinaryExpression */:
17376
17425
  const { left, operatorToken } = parent2;
17377
- return left === node && isAssignmentOperator(operatorToken.kind) ? operatorToken.kind === 63 /* EqualsToken */ ? 1 /* Write */ : writeOrReadWrite() : 0 /* Read */;
17426
+ return left === node && isAssignmentOperator(operatorToken.kind) ? operatorToken.kind === 63 /* EqualsToken */ ? 1 /* Write */ : 2 /* ReadWrite */ : 0 /* Read */;
17378
17427
  case 208 /* PropertyAccessExpression */:
17379
17428
  return parent2.name !== node ? 0 /* Read */ : accessKind(parent2);
17380
17429
  case 299 /* PropertyAssignment */: {
@@ -17388,9 +17437,6 @@ ${lanes.join("\n")}
17388
17437
  default:
17389
17438
  return 0 /* Read */;
17390
17439
  }
17391
- function writeOrReadWrite() {
17392
- return parent2.parent && walkUpParenthesizedExpressions(parent2.parent).kind === 241 /* ExpressionStatement */ ? 1 /* Write */ : 2 /* ReadWrite */;
17393
- }
17394
17440
  }
17395
17441
  function reverseAccessKind(a) {
17396
17442
  switch (a) {
@@ -27168,7 +27214,7 @@ ${lanes.join("\n")}
27168
27214
  }
27169
27215
  function canHaveIllegalModifiers(node) {
27170
27216
  const kind = node.kind;
27171
- return kind === 172 /* ClassStaticBlockDeclaration */ || kind === 299 /* PropertyAssignment */ || kind === 300 /* ShorthandPropertyAssignment */ || kind === 181 /* FunctionType */ || kind === 279 /* MissingDeclaration */ || kind === 267 /* NamespaceExportDeclaration */;
27217
+ return kind === 172 /* ClassStaticBlockDeclaration */ || kind === 299 /* PropertyAssignment */ || kind === 300 /* ShorthandPropertyAssignment */ || kind === 279 /* MissingDeclaration */ || kind === 267 /* NamespaceExportDeclaration */;
27172
27218
  }
27173
27219
  function isQuestionOrExclamationToken(node) {
27174
27220
  return isQuestionToken(node) || isExclamationToken(node);
@@ -30706,6 +30752,7 @@ ${lanes.join("\n")}
30706
30752
  const hasJSDoc = hasPrecedingJSDocComment();
30707
30753
  const modifiers = parseModifiersForConstructorType();
30708
30754
  const isConstructorType = parseOptional(103 /* NewKeyword */);
30755
+ Debug.assert(!modifiers || isConstructorType, "Per isStartOfFunctionOrConstructorType, a function type cannot have modifiers.");
30709
30756
  const typeParameters = parseTypeParameters();
30710
30757
  const parameters = parseParameters(4 /* Type */);
30711
30758
  const type = parseReturnType(
@@ -30714,8 +30761,6 @@ ${lanes.join("\n")}
30714
30761
  false
30715
30762
  );
30716
30763
  const node = isConstructorType ? factory2.createConstructorTypeNode(modifiers, typeParameters, parameters, type) : factory2.createFunctionTypeNode(typeParameters, parameters, type);
30717
- if (!isConstructorType)
30718
- node.modifiers = modifiers;
30719
30764
  return withJSDoc(finishNode(node, pos), hasJSDoc);
30720
30765
  }
30721
30766
  function parseKeywordAndNoDot() {
@@ -44970,6 +45015,7 @@ ${lanes.join("\n")}
44970
45015
  let inlineLevel = 0;
44971
45016
  let currentNode;
44972
45017
  let varianceTypeParameter;
45018
+ let isInferencePartiallyBlocked = false;
44973
45019
  const emptySymbols = createSymbolTable();
44974
45020
  const arrayVariances = [1 /* Covariant */];
44975
45021
  const compilerOptions = host.getCompilerOptions();
@@ -45401,7 +45447,9 @@ ${lanes.join("\n")}
45401
45447
  toMarkSkip = toMarkSkip.parent;
45402
45448
  } while (toMarkSkip && toMarkSkip !== containingCall);
45403
45449
  }
45450
+ isInferencePartiallyBlocked = true;
45404
45451
  const result = runWithoutResolvedSignatureCaching(node, fn);
45452
+ isInferencePartiallyBlocked = false;
45405
45453
  if (containingCall) {
45406
45454
  let toMarkSkip = node;
45407
45455
  do {
@@ -55447,6 +55495,7 @@ ${lanes.join("\n")}
55447
55495
  const typeParameter = getTypeParameterFromMappedType(type);
55448
55496
  const constraintType = getConstraintTypeFromMappedType(type);
55449
55497
  const nameType = getNameTypeFromMappedType(type.target || type);
55498
+ const isFilteringMappedType = nameType && isTypeAssignableTo(nameType, typeParameter);
55450
55499
  const templateType = getTemplateTypeFromMappedType(type.target || type);
55451
55500
  const modifiersType = getApparentType(getModifiersTypeFromMappedType(type));
55452
55501
  const templateModifiers = getMappedTypeModifiers(type);
@@ -55484,7 +55533,7 @@ ${lanes.join("\n")}
55484
55533
  prop.links.keyType = keyType;
55485
55534
  if (modifiersProp) {
55486
55535
  prop.links.syntheticOrigin = modifiersProp;
55487
- prop.declarations = nameType ? void 0 : modifiersProp.declarations;
55536
+ prop.declarations = !nameType || isFilteringMappedType ? modifiersProp.declarations : void 0;
55488
55537
  }
55489
55538
  members.set(propName, prop);
55490
55539
  }
@@ -64219,17 +64268,6 @@ ${lanes.join("\n")}
64219
64268
  function getBaseTypeOfLiteralTypeForComparison(type) {
64220
64269
  return type.flags & (128 /* StringLiteral */ | 134217728 /* TemplateLiteral */ | 268435456 /* StringMapping */) ? stringType : type.flags & (256 /* NumberLiteral */ | 32 /* Enum */) ? numberType : type.flags & 2048 /* BigIntLiteral */ ? bigintType : type.flags & 512 /* BooleanLiteral */ ? booleanType : type.flags & 1048576 /* Union */ ? mapType(type, getBaseTypeOfLiteralTypeForComparison) : type;
64221
64270
  }
64222
- function getValueOfResult(type) {
64223
- const valueOf = getPropertyOfType(type, "valueOf");
64224
- if (valueOf) {
64225
- const signatures = getSignaturesOfType(getTypeOfSymbol(valueOf), 0 /* Call */);
64226
- if (signatures && signatures.length > 0) {
64227
- const returnType = getReturnTypeOfSignature(signatures[0]);
64228
- return returnType;
64229
- }
64230
- }
64231
- return type;
64232
- }
64233
64271
  function getWidenedLiteralType(type) {
64234
64272
  return type.flags & 1056 /* EnumLike */ && isFreshLiteralType(type) ? getBaseTypeOfEnumLikeType(type) : type.flags & 128 /* StringLiteral */ && isFreshLiteralType(type) ? stringType : type.flags & 256 /* NumberLiteral */ && isFreshLiteralType(type) ? numberType : type.flags & 2048 /* BigIntLiteral */ && isFreshLiteralType(type) ? bigintType : type.flags & 512 /* BooleanLiteral */ && isFreshLiteralType(type) ? booleanType : type.flags & 1048576 /* Union */ ? mapType(type, getWidenedLiteralType) : type;
64235
64273
  }
@@ -65748,7 +65786,7 @@ ${lanes.join("\n")}
65748
65786
  111551 /* Value */ | 1048576 /* ExportValue */,
65749
65787
  getCannotFindNameDiagnosticForName(node),
65750
65788
  node,
65751
- !isWriteOnlyAccess(node),
65789
+ !isWriteOnlyUsage(node),
65752
65790
  /*excludeGlobals*/
65753
65791
  false
65754
65792
  ) || unknownSymbol;
@@ -70566,8 +70604,8 @@ ${lanes.join("\n")}
70566
70604
  }
70567
70605
  return nonNullType;
70568
70606
  }
70569
- function checkPropertyAccessExpression(node, checkMode) {
70570
- return node.flags & 32 /* OptionalChain */ ? checkPropertyAccessChain(node, checkMode) : checkPropertyAccessExpressionOrQualifiedName(node, node.expression, checkNonNullExpression(node.expression), node.name, checkMode);
70607
+ function checkPropertyAccessExpression(node, checkMode, writeOnly) {
70608
+ return node.flags & 32 /* OptionalChain */ ? checkPropertyAccessChain(node, checkMode) : checkPropertyAccessExpressionOrQualifiedName(node, node.expression, checkNonNullExpression(node.expression), node.name, checkMode, writeOnly);
70571
70609
  }
70572
70610
  function checkPropertyAccessChain(node, checkMode) {
70573
70611
  const leftType = checkExpression(node.expression);
@@ -70698,7 +70736,7 @@ ${lanes.join("\n")}
70698
70736
  false
70699
70737
  ) === getDeclaringConstructor(prop);
70700
70738
  }
70701
- function checkPropertyAccessExpressionOrQualifiedName(node, left, leftType, right, checkMode) {
70739
+ function checkPropertyAccessExpressionOrQualifiedName(node, left, leftType, right, checkMode, writeOnly) {
70702
70740
  const parentSymbol = getNodeLinks(left).resolvedSymbol;
70703
70741
  const assignmentKind = getAssignmentTargetKind(node);
70704
70742
  const apparentType = getApparentType(assignmentKind !== 0 /* None */ || isMethodAccessForCall(node) ? getWidenedType(leftType) : leftType);
@@ -70797,13 +70835,12 @@ ${lanes.join("\n")}
70797
70835
  checkPropertyNotUsedBeforeDeclaration(prop, node, right);
70798
70836
  markPropertyAsReferenced(prop, node, isSelfTypeAccess(left, parentSymbol));
70799
70837
  getNodeLinks(node).resolvedSymbol = prop;
70800
- const writing = isWriteAccess(node);
70801
- checkPropertyAccessibility(node, left.kind === 106 /* SuperKeyword */, writing, apparentType, prop);
70838
+ checkPropertyAccessibility(node, left.kind === 106 /* SuperKeyword */, isWriteAccess(node), apparentType, prop);
70802
70839
  if (isAssignmentToReadonlyEntity(node, prop, assignmentKind)) {
70803
70840
  error(right, Diagnostics.Cannot_assign_to_0_because_it_is_a_read_only_property, idText(right));
70804
70841
  return errorType;
70805
70842
  }
70806
- propType = isThisPropertyAccessInConstructor(node, prop) ? autoType : writing ? getWriteTypeOfSymbol(prop) : getTypeOfSymbol(prop);
70843
+ propType = isThisPropertyAccessInConstructor(node, prop) ? autoType : writeOnly || isWriteOnlyAccess(node) ? getWriteTypeOfSymbol(prop) : getTypeOfSymbol(prop);
70807
70844
  }
70808
70845
  return getFlowTypeOfAccessExpression(node, prop, propType, right, checkMode);
70809
70846
  }
@@ -71119,7 +71156,7 @@ ${lanes.join("\n")}
71119
71156
  if (!hasPrivateModifier && !hasPrivateIdentifier) {
71120
71157
  return;
71121
71158
  }
71122
- if (nodeForCheckWriteOnly && isWriteOnlyAccess(nodeForCheckWriteOnly) && !(prop.flags & 65536 /* SetAccessor */)) {
71159
+ if (nodeForCheckWriteOnly && isWriteOnlyUsage(nodeForCheckWriteOnly) && !(prop.flags & 65536 /* SetAccessor */)) {
71123
71160
  return;
71124
71161
  }
71125
71162
  if (isSelfTypeAccess2) {
@@ -72054,7 +72091,7 @@ ${lanes.join("\n")}
72054
72091
  const isTaggedTemplate = node.kind === 212 /* TaggedTemplateExpression */;
72055
72092
  const isDecorator2 = node.kind === 167 /* Decorator */;
72056
72093
  const isJsxOpeningOrSelfClosingElement = isJsxOpeningLikeElement(node);
72057
- const reportErrors2 = !candidatesOutArray;
72094
+ const reportErrors2 = !isInferencePartiallyBlocked && !candidatesOutArray;
72058
72095
  let typeArguments;
72059
72096
  if (!isDecorator2 && !isSuperCall(node)) {
72060
72097
  typeArguments = node.typeArguments;
@@ -75301,17 +75338,9 @@ ${lanes.join("\n")}
75301
75338
  if (isTypeAny(left2) || isTypeAny(right2)) {
75302
75339
  return true;
75303
75340
  }
75304
- if (!(left2.flags & 134348796 /* Primitive */))
75305
- left2 = getValueOfResult(left2);
75306
- if (!(right2.flags & 134348796 /* Primitive */))
75307
- right2 = getValueOfResult(right2);
75308
75341
  const leftAssignableToNumber = isTypeAssignableTo(left2, numberOrBigIntType);
75309
- if (leftAssignableToNumber) {
75310
- const rightAssignableToNumber = isTypeAssignableTo(right2, numberOrBigIntType);
75311
- if (rightAssignableToNumber)
75312
- return true;
75313
- }
75314
- return isTypeAssignableTo(left2, stringType) && isTypeAssignableTo(right2, stringType);
75342
+ const rightAssignableToNumber = isTypeAssignableTo(right2, numberOrBigIntType);
75343
+ return leftAssignableToNumber && rightAssignableToNumber || !leftAssignableToNumber && !rightAssignableToNumber && areTypesComparable(left2, right2);
75315
75344
  });
75316
75345
  }
75317
75346
  return booleanType;
@@ -75441,6 +75470,16 @@ ${lanes.join("\n")}
75441
75470
  addLazyDiagnostic(checkAssignmentOperatorWorker);
75442
75471
  }
75443
75472
  function checkAssignmentOperatorWorker() {
75473
+ let assigneeType = leftType;
75474
+ if (isCompoundAssignment(operatorToken.kind) && left.kind === 208 /* PropertyAccessExpression */) {
75475
+ assigneeType = checkPropertyAccessExpression(
75476
+ left,
75477
+ /*checkMode*/
75478
+ void 0,
75479
+ /*writeOnly*/
75480
+ true
75481
+ );
75482
+ }
75444
75483
  if (checkReferenceExpression(
75445
75484
  left,
75446
75485
  Diagnostics.The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access,
@@ -75453,7 +75492,7 @@ ${lanes.join("\n")}
75453
75492
  headMessage = Diagnostics.Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target;
75454
75493
  }
75455
75494
  }
75456
- checkTypeAssignableToAndOptionallyElaborate(valueType, leftType, left, right, headMessage);
75495
+ checkTypeAssignableToAndOptionallyElaborate(valueType, assigneeType, left, right, headMessage);
75457
75496
  }
75458
75497
  }
75459
75498
  }
@@ -77140,6 +77179,17 @@ ${lanes.join("\n")}
77140
77179
  lastSeenNonAmbientDeclaration = node;
77141
77180
  }
77142
77181
  }
77182
+ if (isInJSFile(current) && isFunctionLike(current) && current.jsDoc) {
77183
+ for (const node2 of current.jsDoc) {
77184
+ if (node2.tags) {
77185
+ for (const tag of node2.tags) {
77186
+ if (isJSDocOverloadTag(tag)) {
77187
+ hasOverloads = true;
77188
+ }
77189
+ }
77190
+ }
77191
+ }
77192
+ }
77143
77193
  }
77144
77194
  }
77145
77195
  if (multipleConstructorImplementation) {
@@ -77177,8 +77227,9 @@ ${lanes.join("\n")}
77177
77227
  const bodySignature = getSignatureFromDeclaration(bodyDeclaration);
77178
77228
  for (const signature of signatures) {
77179
77229
  if (!isImplementationCompatibleWithOverload(bodySignature, signature)) {
77230
+ const errorNode = signature.declaration && isJSDocSignature(signature.declaration) ? signature.declaration.parent.tagName : signature.declaration;
77180
77231
  addRelatedInfo(
77181
- error(signature.declaration, Diagnostics.This_overload_signature_is_not_compatible_with_its_implementation_signature),
77232
+ error(errorNode, Diagnostics.This_overload_signature_is_not_compatible_with_its_implementation_signature),
77182
77233
  createDiagnosticForNode(bodyDeclaration, Diagnostics.The_implementation_signature_is_declared_here)
77183
77234
  );
77184
77235
  break;
@@ -83794,7 +83845,6 @@ ${lanes.join("\n")}
83794
83845
  case 299 /* PropertyAssignment */:
83795
83846
  case 300 /* ShorthandPropertyAssignment */:
83796
83847
  case 267 /* NamespaceExportDeclaration */:
83797
- case 181 /* FunctionType */:
83798
83848
  case 279 /* MissingDeclaration */:
83799
83849
  return find(node.modifiers, isModifier);
83800
83850
  default:
@@ -146152,7 +146202,14 @@ ${lanes.join("\n")}
146152
146202
  changeTracker.replaceNode(file, declaration, property);
146153
146203
  }
146154
146204
  function updatePropertyAssignmentDeclaration(changeTracker, file, declaration, fieldName) {
146155
- const assignment = factory.updatePropertyAssignment(declaration, fieldName, declaration.initializer);
146205
+ let assignment = factory.updatePropertyAssignment(declaration, fieldName, declaration.initializer);
146206
+ if (assignment.modifiers || assignment.questionToken || assignment.exclamationToken) {
146207
+ if (assignment === declaration)
146208
+ assignment = factory.cloneNode(assignment);
146209
+ assignment.modifiers = void 0;
146210
+ assignment.questionToken = void 0;
146211
+ assignment.exclamationToken = void 0;
146212
+ }
146156
146213
  changeTracker.replacePropertyAssignment(file, declaration, assignment);
146157
146214
  }
146158
146215
  function updateFieldDeclaration(changeTracker, file, declaration, type, fieldName, modifiers) {
@@ -165915,7 +165972,7 @@ ${options.prefix}` : "\n" : options.prefix
165915
165972
  }
165916
165973
  function processChildNode(child, inheritedIndentation, parent2, parentDynamicIndentation, parentStartLine, undecoratedParentStartLine, isListItem, isFirstListItem) {
165917
165974
  Debug.assert(!nodeIsSynthesized(child));
165918
- if (nodeIsMissing(child)) {
165975
+ if (nodeIsMissing(child) || isGrammarError(parent2, child)) {
165919
165976
  return inheritedIndentation;
165920
165977
  }
165921
165978
  const childStartPos = child.getStart(sourceFile);
@@ -179424,6 +179481,7 @@ ${e.message}`;
179424
179481
  isGetOrSetAccessorDeclaration: () => isGetOrSetAccessorDeclaration,
179425
179482
  isGlobalDeclaration: () => isGlobalDeclaration,
179426
179483
  isGlobalScopeAugmentation: () => isGlobalScopeAugmentation,
179484
+ isGrammarError: () => isGrammarError,
179427
179485
  isHeritageClause: () => isHeritageClause,
179428
179486
  isHoistedFunction: () => isHoistedFunction,
179429
179487
  isHoistedVariableStatement: () => isHoistedVariableStatement,
@@ -179869,6 +179927,8 @@ ${e.message}`;
179869
179927
  isWithStatement: () => isWithStatement,
179870
179928
  isWriteAccess: () => isWriteAccess,
179871
179929
  isWriteOnlyAccess: () => isWriteOnlyAccess,
179930
+ isWriteOnlyUsage: () => isWriteOnlyUsage,
179931
+ isWriteUsage: () => isWriteUsage,
179872
179932
  isYieldExpression: () => isYieldExpression,
179873
179933
  jsxModeNeedsExplicitImport: () => jsxModeNeedsExplicitImport,
179874
179934
  keywordPart: () => keywordPart,
@@ -181783,6 +181843,7 @@ ${e.message}`;
181783
181843
  isGetOrSetAccessorDeclaration: () => isGetOrSetAccessorDeclaration,
181784
181844
  isGlobalDeclaration: () => isGlobalDeclaration,
181785
181845
  isGlobalScopeAugmentation: () => isGlobalScopeAugmentation,
181846
+ isGrammarError: () => isGrammarError,
181786
181847
  isHeritageClause: () => isHeritageClause,
181787
181848
  isHoistedFunction: () => isHoistedFunction,
181788
181849
  isHoistedVariableStatement: () => isHoistedVariableStatement,
@@ -182228,6 +182289,8 @@ ${e.message}`;
182228
182289
  isWithStatement: () => isWithStatement,
182229
182290
  isWriteAccess: () => isWriteAccess,
182230
182291
  isWriteOnlyAccess: () => isWriteOnlyAccess,
182292
+ isWriteOnlyUsage: () => isWriteOnlyUsage,
182293
+ isWriteUsage: () => isWriteUsage,
182231
182294
  isYieldExpression: () => isYieldExpression,
182232
182295
  jsxModeNeedsExplicitImport: () => jsxModeNeedsExplicitImport,
182233
182296
  keywordPart: () => keywordPart,