typescript 4.8.0-dev.20220705 → 4.8.0-dev.20220706

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.
@@ -303,7 +303,7 @@ var ts;
303
303
  // The following is baselined as a literal template type without intervention
304
304
  /** The version of the TypeScript compiler release */
305
305
  // eslint-disable-next-line @typescript-eslint/no-inferrable-types
306
- ts.version = ts.versionMajorMinor + ".0-dev.20220705";
306
+ ts.version = ts.versionMajorMinor + ".0-dev.20220706";
307
307
  /* @internal */
308
308
  var Comparison;
309
309
  (function (Comparison) {
@@ -4940,6 +4940,7 @@ var ts;
4940
4940
  NodeBuilderFlags[NodeBuilderFlags["UseAliasDefinedOutsideCurrentScope"] = 16384] = "UseAliasDefinedOutsideCurrentScope";
4941
4941
  NodeBuilderFlags[NodeBuilderFlags["UseSingleQuotesForStringLiteralType"] = 268435456] = "UseSingleQuotesForStringLiteralType";
4942
4942
  NodeBuilderFlags[NodeBuilderFlags["NoTypeReduction"] = 536870912] = "NoTypeReduction";
4943
+ NodeBuilderFlags[NodeBuilderFlags["OmitThisParameter"] = 33554432] = "OmitThisParameter";
4943
4944
  // Error handling
4944
4945
  NodeBuilderFlags[NodeBuilderFlags["AllowThisInObjectLiteral"] = 32768] = "AllowThisInObjectLiteral";
4945
4946
  NodeBuilderFlags[NodeBuilderFlags["AllowQualifiedNameInPlaceOfIdentifier"] = 65536] = "AllowQualifiedNameInPlaceOfIdentifier";
@@ -4980,6 +4981,7 @@ var ts;
4980
4981
  TypeFormatFlags[TypeFormatFlags["UseAliasDefinedOutsideCurrentScope"] = 16384] = "UseAliasDefinedOutsideCurrentScope";
4981
4982
  TypeFormatFlags[TypeFormatFlags["UseSingleQuotesForStringLiteralType"] = 268435456] = "UseSingleQuotesForStringLiteralType";
4982
4983
  TypeFormatFlags[TypeFormatFlags["NoTypeReduction"] = 536870912] = "NoTypeReduction";
4984
+ TypeFormatFlags[TypeFormatFlags["OmitThisParameter"] = 33554432] = "OmitThisParameter";
4983
4985
  // Error Handling
4984
4986
  TypeFormatFlags[TypeFormatFlags["AllowUniqueESSymbolType"] = 1048576] = "AllowUniqueESSymbolType";
4985
4987
  // TypeFormatFlags exclusive
@@ -4991,7 +4993,7 @@ var ts;
4991
4993
  TypeFormatFlags[TypeFormatFlags["InFirstTypeArgument"] = 4194304] = "InFirstTypeArgument";
4992
4994
  TypeFormatFlags[TypeFormatFlags["InTypeAlias"] = 8388608] = "InTypeAlias";
4993
4995
  /** @deprecated */ TypeFormatFlags[TypeFormatFlags["WriteOwnNameForAnyLike"] = 0] = "WriteOwnNameForAnyLike";
4994
- TypeFormatFlags[TypeFormatFlags["NodeBuilderFlagsMask"] = 814775659] = "NodeBuilderFlagsMask";
4996
+ TypeFormatFlags[TypeFormatFlags["NodeBuilderFlagsMask"] = 848330091] = "NodeBuilderFlagsMask";
4995
4997
  })(TypeFormatFlags = ts.TypeFormatFlags || (ts.TypeFormatFlags = {}));
4996
4998
  var SymbolFormatFlags;
4997
4999
  (function (SymbolFormatFlags) {
@@ -49302,6 +49304,7 @@ var ts;
49302
49304
  var stringMappingTypes = new ts.Map();
49303
49305
  var substitutionTypes = new ts.Map();
49304
49306
  var subtypeReductionCache = new ts.Map();
49307
+ var cachedTypes = new ts.Map();
49305
49308
  var evolvingArrayTypes = [];
49306
49309
  var undefinedProperties = new ts.Map();
49307
49310
  var markerTypes = new ts.Set();
@@ -49555,6 +49558,14 @@ var ts;
49555
49558
  ];
49556
49559
  initializeTypeChecker();
49557
49560
  return checker;
49561
+ function getCachedType(key) {
49562
+ return key ? cachedTypes.get(key) : undefined;
49563
+ }
49564
+ function setCachedType(key, type) {
49565
+ if (key)
49566
+ cachedTypes.set(key, type);
49567
+ return type;
49568
+ }
49558
49569
  function getJsxNamespace(location) {
49559
49570
  if (location) {
49560
49571
  var file = ts.getSourceFileOfNode(location);
@@ -52949,7 +52960,7 @@ var ts;
52949
52960
  }
52950
52961
  function toNodeBuilderFlags(flags) {
52951
52962
  if (flags === void 0) { flags = 0 /* None */; }
52952
- return flags & 814775659 /* NodeBuilderFlagsMask */;
52963
+ return flags & 848330091 /* NodeBuilderFlagsMask */;
52953
52964
  }
52954
52965
  function isClassInstanceSide(type) {
52955
52966
  return !!type.symbol && !!(type.symbol.flags & 32 /* Class */) && (type === getDeclaredTypeOfClassOrInterface(type.symbol) || (!!(type.flags & 524288 /* Object */) && !!(ts.getObjectFlags(type) & 16777216 /* IsClassInstanceClone */)));
@@ -53928,7 +53939,7 @@ var ts;
53928
53939
  var expandedParams = getExpandedParameters(signature, /*skipUnionExpanding*/ true)[0];
53929
53940
  // If the expanded parameter list had a variadic in a non-trailing position, don't expand it
53930
53941
  var parameters = (ts.some(expandedParams, function (p) { return p !== expandedParams[expandedParams.length - 1] && !!(ts.getCheckFlags(p) & 32768 /* RestParameter */); }) ? signature.parameters : expandedParams).map(function (parameter) { return symbolToParameterDeclaration(parameter, context, kind === 171 /* Constructor */, options === null || options === void 0 ? void 0 : options.privateSymbolVisitor, options === null || options === void 0 ? void 0 : options.bundledImports); });
53931
- var thisParameter = tryGetThisParameterDeclaration(signature, context);
53942
+ var thisParameter = context.flags & 33554432 /* OmitThisParameter */ ? undefined : tryGetThisParameterDeclaration(signature, context);
53932
53943
  if (thisParameter) {
53933
53944
  parameters.unshift(thisParameter);
53934
53945
  }
@@ -54987,12 +54998,11 @@ var ts;
54987
54998
  if (skipMembershipCheck || (!!ts.length(symbol.declarations) && ts.some(symbol.declarations, function (d) { return !!ts.findAncestor(d, function (n) { return n === enclosingDeclaration; }); }))) {
54988
54999
  var oldContext = context;
54989
55000
  context = cloneNodeBuilderContext(context);
54990
- var result = serializeSymbolWorker(symbol, isPrivate, propertyAsAlias);
55001
+ serializeSymbolWorker(symbol, isPrivate, propertyAsAlias);
54991
55002
  if (context.reportedDiagnostic) {
54992
55003
  oldcontext.reportedDiagnostic = context.reportedDiagnostic; // hoist diagnostic result into outer context
54993
55004
  }
54994
55005
  context = oldContext;
54995
- return result;
54996
55006
  }
54997
55007
  }
54998
55008
  // Synthesize declarations for a symbol - might be an Interface, a Class, a Namespace, a Type, a Variable (const, let, or var), an Alias
@@ -58049,7 +58059,7 @@ var ts;
58049
58059
  error(declaration.typeExpression.type, ts.Diagnostics.Type_alias_0_circularly_references_itself, symbolToString(symbol));
58050
58060
  }
58051
58061
  else {
58052
- error(ts.isNamedDeclaration(declaration) ? declaration.name : declaration || declaration, ts.Diagnostics.Type_alias_0_circularly_references_itself, symbolToString(symbol));
58062
+ error(ts.isNamedDeclaration(declaration) ? declaration.name || declaration : declaration, ts.Diagnostics.Type_alias_0_circularly_references_itself, symbolToString(symbol));
58053
58063
  }
58054
58064
  }
58055
58065
  links.declaredType = type;
@@ -68232,9 +68242,14 @@ var ts;
68232
68242
  type.flags & 256 /* NumberLiteral */ ? numberType :
68233
68243
  type.flags & 2048 /* BigIntLiteral */ ? bigintType :
68234
68244
  type.flags & 512 /* BooleanLiteral */ ? booleanType :
68235
- type.flags & 1048576 /* Union */ ? mapType(type, getBaseTypeOfLiteralType) :
68245
+ type.flags & 1048576 /* Union */ ? getBaseTypeOfLiteralTypeUnion(type) :
68236
68246
  type;
68237
68247
  }
68248
+ function getBaseTypeOfLiteralTypeUnion(type) {
68249
+ var _a;
68250
+ var key = "B" + getTypeId(type);
68251
+ return (_a = getCachedType(key)) !== null && _a !== void 0 ? _a : setCachedType(key, mapType(type, getBaseTypeOfLiteralType));
68252
+ }
68238
68253
  function getWidenedLiteralType(type) {
68239
68254
  return type.flags & 1024 /* EnumLiteral */ && isFreshLiteralType(type) ? getBaseTypeOfEnumLiteralType(type) :
68240
68255
  type.flags & 128 /* StringLiteral */ && isFreshLiteralType(type) ? stringType :
@@ -70377,23 +70392,25 @@ var ts;
70377
70392
  // For example, when a variable of type number | string | boolean is assigned a value of type number | boolean,
70378
70393
  // we remove type string.
70379
70394
  function getAssignmentReducedType(declaredType, assignedType) {
70380
- if (declaredType !== assignedType) {
70381
- if (assignedType.flags & 131072 /* Never */) {
70382
- return assignedType;
70383
- }
70384
- var reducedType = filterType(declaredType, function (t) { return typeMaybeAssignableTo(assignedType, t); });
70385
- if (assignedType.flags & 512 /* BooleanLiteral */ && isFreshLiteralType(assignedType)) {
70386
- reducedType = mapType(reducedType, getFreshTypeOfLiteralType); // Ensure that if the assignment is a fresh type, that we narrow to fresh types
70387
- }
70388
- // Our crude heuristic produces an invalid result in some cases: see GH#26130.
70389
- // For now, when that happens, we give up and don't narrow at all. (This also
70390
- // means we'll never narrow for erroneous assignments where the assigned type
70391
- // is not assignable to the declared type.)
70392
- if (isTypeAssignableTo(assignedType, reducedType)) {
70393
- return reducedType;
70394
- }
70395
+ var _a;
70396
+ if (declaredType === assignedType) {
70397
+ return declaredType;
70395
70398
  }
70396
- return declaredType;
70399
+ if (assignedType.flags & 131072 /* Never */) {
70400
+ return assignedType;
70401
+ }
70402
+ var key = "A" + getTypeId(declaredType) + "," + getTypeId(assignedType);
70403
+ return (_a = getCachedType(key)) !== null && _a !== void 0 ? _a : setCachedType(key, getAssignmentReducedTypeWorker(declaredType, assignedType));
70404
+ }
70405
+ function getAssignmentReducedTypeWorker(declaredType, assignedType) {
70406
+ var filteredType = filterType(declaredType, function (t) { return typeMaybeAssignableTo(assignedType, t); });
70407
+ // Ensure that we narrow to fresh types if the assignment is a fresh boolean literal type.
70408
+ var reducedType = assignedType.flags & 512 /* BooleanLiteral */ && isFreshLiteralType(assignedType) ? mapType(filteredType, getFreshTypeOfLiteralType) : filteredType;
70409
+ // Our crude heuristic produces an invalid result in some cases: see GH#26130.
70410
+ // For now, when that happens, we give up and don't narrow at all. (This also
70411
+ // means we'll never narrow for erroneous assignments where the assigned type
70412
+ // is not assignable to the declared type.)
70413
+ return isTypeAssignableTo(assignedType, reducedType) ? reducedType : declaredType;
70397
70414
  }
70398
70415
  function isFunctionObjectType(type) {
70399
70416
  // We do a quick check for a "bind" property before performing the more expensive subtype
@@ -71799,7 +71816,7 @@ var ts;
71799
71816
  var targetType = ts.hasStaticModifier(ts.Debug.checkDefined(symbol.valueDeclaration, "should always have a declaration"))
71800
71817
  ? getTypeOfSymbol(classSymbol)
71801
71818
  : getDeclaredTypeOfSymbol(classSymbol);
71802
- return getNarrowedType(type, targetType, assumeTrue, isTypeDerivedFrom);
71819
+ return getNarrowedType(type, targetType, assumeTrue, /*checkDerived*/ true);
71803
71820
  }
71804
71821
  function narrowTypeByOptionalChainContainment(type, operator, value, assumeTrue) {
71805
71822
  // We are in a branch of obj?.foo === value (or any one of the other equality operators). We narrow obj as follows:
@@ -72050,9 +72067,15 @@ var ts;
72050
72067
  if (!nonConstructorTypeInUnion)
72051
72068
  return type;
72052
72069
  }
72053
- return getNarrowedType(type, targetType, assumeTrue, isTypeDerivedFrom);
72070
+ return getNarrowedType(type, targetType, assumeTrue, /*checkDerived*/ true);
72071
+ }
72072
+ function getNarrowedType(type, candidate, assumeTrue, checkDerived) {
72073
+ var _a;
72074
+ var key = type.flags & 1048576 /* Union */ ? "N" + getTypeId(type) + "," + getTypeId(candidate) + "," + ((assumeTrue ? 1 : 0) | (checkDerived ? 2 : 0)) : undefined;
72075
+ return (_a = getCachedType(key)) !== null && _a !== void 0 ? _a : setCachedType(key, getNarrowedTypeWorker(type, candidate, assumeTrue, checkDerived));
72054
72076
  }
72055
- function getNarrowedType(type, candidate, assumeTrue, isRelated) {
72077
+ function getNarrowedTypeWorker(type, candidate, assumeTrue, checkDerived) {
72078
+ var isRelated = checkDerived ? isTypeDerivedFrom : isTypeSubtypeOf;
72056
72079
  if (!assumeTrue) {
72057
72080
  return filterType(type, function (t) { return !isRelated(t, candidate); });
72058
72081
  }
@@ -72100,7 +72123,7 @@ var ts;
72100
72123
  var predicateArgument = getTypePredicateArgument(predicate, callExpression);
72101
72124
  if (predicateArgument) {
72102
72125
  if (isMatchingReference(reference, predicateArgument)) {
72103
- return getNarrowedType(type, predicate.type, assumeTrue, isTypeSubtypeOf);
72126
+ return getNarrowedType(type, predicate.type, assumeTrue, /*checkDerived*/ false);
72104
72127
  }
72105
72128
  if (strictNullChecks && assumeTrue && optionalChainContainsReference(predicateArgument, reference) &&
72106
72129
  !(getTypeFacts(predicate.type) & 65536 /* EQUndefined */)) {
@@ -72108,7 +72131,7 @@ var ts;
72108
72131
  }
72109
72132
  var access = getDiscriminantPropertyAccess(predicateArgument, type);
72110
72133
  if (access) {
72111
- return narrowTypeByDiscriminant(type, access, function (t) { return getNarrowedType(t, predicate.type, assumeTrue, isTypeSubtypeOf); });
72134
+ return narrowTypeByDiscriminant(type, access, function (t) { return getNarrowedType(t, predicate.type, assumeTrue, /*checkDerived*/ false); });
72112
72135
  }
72113
72136
  }
72114
72137
  }
@@ -72447,9 +72470,7 @@ var ts;
72447
72470
  getNodeLinks(container).flags |= 8192 /* CaptureArguments */;
72448
72471
  return getTypeOfSymbol(symbol);
72449
72472
  }
72450
- // We should only mark aliases as referenced if there isn't a local value declaration
72451
- // for the symbol. Also, don't mark any property access expression LHS - checkPropertyAccessExpression will handle that
72452
- if (!(node.parent && ts.isPropertyAccessExpression(node.parent) && node.parent.expression === node)) {
72473
+ if (shouldMarkIdentifierAliasReferenced(node)) {
72453
72474
  markAliasReferenced(symbol, node);
72454
72475
  }
72455
72476
  var localOrExportSymbol = getExportSymbolOfValueSymbolIfExported(symbol);
@@ -72583,6 +72604,25 @@ var ts;
72583
72604
  }
72584
72605
  return assignmentKind ? getBaseTypeOfLiteralType(flowType) : flowType;
72585
72606
  }
72607
+ function shouldMarkIdentifierAliasReferenced(node) {
72608
+ var _a;
72609
+ var parent = node.parent;
72610
+ if (parent) {
72611
+ // A property access expression LHS? checkPropertyAccessExpression will handle that.
72612
+ if (ts.isPropertyAccessExpression(parent) && parent.expression === node) {
72613
+ return false;
72614
+ }
72615
+ // Next two check for an identifier inside a type only export.
72616
+ if (ts.isExportSpecifier(parent) && parent.isTypeOnly) {
72617
+ return false;
72618
+ }
72619
+ var greatGrandparent = (_a = parent.parent) === null || _a === void 0 ? void 0 : _a.parent;
72620
+ if (greatGrandparent && ts.isExportDeclaration(greatGrandparent) && greatGrandparent.isTypeOnly) {
72621
+ return false;
72622
+ }
72623
+ }
72624
+ return true;
72625
+ }
72586
72626
  function isInsideFunctionOrInstancePropertyInitializer(node, threshold) {
72587
72627
  return !!ts.findAncestor(node, function (n) { return n === threshold ? "quit" : ts.isFunctionLike(n) || (n.parent && ts.isPropertyDeclaration(n.parent) && !ts.hasStaticModifier(n.parent) && n.parent.initializer === n); });
72588
72628
  }
@@ -77120,7 +77160,7 @@ var ts;
77120
77160
  argCheckMode = checkMode & 32 /* IsForStringLiteralArgumentCompletions */;
77121
77161
  if (inferenceContext) {
77122
77162
  var typeArgumentTypes = inferTypeArguments(node, candidate, args, argCheckMode, inferenceContext);
77123
- checkCandidate = getSignatureInstantiation(candidate, typeArgumentTypes, ts.isInJSFile(candidate.declaration), inferenceContext && inferenceContext.inferredTypeParameters);
77163
+ checkCandidate = getSignatureInstantiation(candidate, typeArgumentTypes, ts.isInJSFile(candidate.declaration), inferenceContext.inferredTypeParameters);
77124
77164
  // If the original signature has a generic rest type, instantiation may produce a
77125
77165
  // signature with different arity and we need to perform another arity check.
77126
77166
  if (getNonArrayRestType(candidate) && !hasCorrectArity(node, args, checkCandidate, signatureHelpTrailingComma)) {
@@ -86392,7 +86432,9 @@ var ts;
86392
86432
  error(exportedName, ts.Diagnostics.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module, ts.idText(exportedName));
86393
86433
  }
86394
86434
  else {
86395
- markExportAsReferenced(node);
86435
+ if (!node.isTypeOnly && !node.parent.parent.isTypeOnly) {
86436
+ markExportAsReferenced(node);
86437
+ }
86396
86438
  var target = symbol && (symbol.flags & 2097152 /* Alias */ ? resolveAlias(symbol) : symbol);
86397
86439
  if (!target || target === unknownSymbol || target.flags & 111551 /* Value */) {
86398
86440
  checkExpressionCached(node.propertyName || node.name);
@@ -89753,9 +89795,6 @@ var ts;
89753
89795
  else {
89754
89796
  return grammarErrorOnNode(initializer, ts.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts);
89755
89797
  }
89756
- if (!isConstOrReadonly || isInvalidInitializer) {
89757
- return grammarErrorOnNode(initializer, ts.Diagnostics.Initializers_are_not_allowed_in_ambient_contexts);
89758
- }
89759
89798
  }
89760
89799
  }
89761
89800
  function checkGrammarVariableDeclaration(node) {
@@ -111540,7 +111579,7 @@ var ts;
111540
111579
  return;
111541
111580
  }
111542
111581
  // Make sure not to write js file and source map file if any of them cannot be written
111543
- if ((jsFilePath && host.isEmitBlocked(jsFilePath)) || compilerOptions.noEmit) {
111582
+ if (host.isEmitBlocked(jsFilePath) || compilerOptions.noEmit) {
111544
111583
  emitSkipped = true;
111545
111584
  return;
111546
111585
  }
@@ -124802,7 +124841,6 @@ var ts;
124802
124841
  var parsedConfigs; // Parsed commandline and watching cached for referenced projects
124803
124842
  var sharedExtendedConfigFileWatchers; // Map of file watchers for extended files, shared between different referenced projects
124804
124843
  var extendedConfigCache = host.extendedConfigCache; // Cache for extended config evaluation
124805
- var changesAffectResolution = false; // Flag for indicating non-config changes affect module resolution
124806
124844
  var reportFileChangeDetectedOnCreateProgram = false; // True if synchronizeProgram should report "File change detected..." when a new program is created
124807
124845
  var sourceFilesCache = new ts.Map(); // Cache that stores the source file and version info
124808
124846
  var missingFilePathsRequestedForRelease; // These paths are held temporarily so that we can remove the entry from source file cache if the file is not tracked by missing files
@@ -124955,12 +124993,12 @@ var ts;
124955
124993
  var program = getCurrentBuilderProgram();
124956
124994
  if (hasChangedCompilerOptions) {
124957
124995
  newLine = updateNewLine();
124958
- if (program && (changesAffectResolution || ts.changesAffectModuleResolution(program.getCompilerOptions(), compilerOptions))) {
124996
+ if (program && ts.changesAffectModuleResolution(program.getCompilerOptions(), compilerOptions)) {
124959
124997
  resolutionCache.clear();
124960
124998
  }
124961
124999
  }
124962
125000
  // All resolutions are invalid if user provided resolutions
124963
- var hasInvalidatedResolution = resolutionCache.createHasInvalidatedResolution(userProvidedResolution || changesAffectResolution);
125001
+ var hasInvalidatedResolution = resolutionCache.createHasInvalidatedResolution(userProvidedResolution);
124964
125002
  if (ts.isProgramUptoDate(getCurrentProgram(), rootFileNames, compilerOptions, getSourceVersion, fileExists, hasInvalidatedResolution, hasChangedAutomaticTypeDirectiveNames, getParsedCommandLine, projectReferences)) {
124965
125003
  if (hasChangedConfigFileParsingErrors) {
124966
125004
  if (reportFileChangeDetectedOnCreateProgram) {
@@ -124976,7 +125014,6 @@ var ts;
124976
125014
  }
124977
125015
  createNewProgram(hasInvalidatedResolution);
124978
125016
  }
124979
- changesAffectResolution = false; // reset for next sync
124980
125017
  reportFileChangeDetectedOnCreateProgram = false;
124981
125018
  if (host.afterProgramCreate && program !== builderProgram) {
124982
125019
  host.afterProgramCreate(builderProgram);
@@ -126357,7 +126394,7 @@ var ts;
126357
126394
  }
126358
126395
  function afterProgramDone(state, program, config) {
126359
126396
  if (program) {
126360
- if (program && state.write)
126397
+ if (state.write)
126361
126398
  ts.listFiles(program, state.write);
126362
126399
  if (state.host.afterProgramEmitAndDiagnostics) {
126363
126400
  state.host.afterProgramEmitAndDiagnostics(program);
@@ -134545,7 +134582,7 @@ var ts;
134545
134582
  var name = ts.getSynthesizedDeepClone(ts.getNameOfDeclaration(declaration), /*includeTrivia*/ false);
134546
134583
  var type = checker.getWidenedType(checker.getTypeOfSymbolAtLocation(symbol, enclosingDeclaration));
134547
134584
  var quotePreference = ts.getQuotePreference(sourceFile, preferences);
134548
- var builderFlags = quotePreference === 0 /* Single */ ? 268435456 /* UseSingleQuotesForStringLiteralType */ : undefined;
134585
+ var builderFlags = 33554432 /* OmitThisParameter */ | (quotePreference === 0 /* Single */ ? 268435456 /* UseSingleQuotesForStringLiteralType */ : 0 /* None */);
134549
134586
  switch (declaration.kind) {
134550
134587
  case 166 /* PropertySignature */:
134551
134588
  case 167 /* PropertyDeclaration */:
@@ -2420,6 +2420,7 @@ declare namespace ts {
2420
2420
  UseAliasDefinedOutsideCurrentScope = 16384,
2421
2421
  UseSingleQuotesForStringLiteralType = 268435456,
2422
2422
  NoTypeReduction = 536870912,
2423
+ OmitThisParameter = 33554432,
2423
2424
  AllowThisInObjectLiteral = 32768,
2424
2425
  AllowQualifiedNameInPlaceOfIdentifier = 65536,
2425
2426
  /** @deprecated AllowQualifedNameInPlaceOfIdentifier. Use AllowQualifiedNameInPlaceOfIdentifier instead. */
@@ -2450,6 +2451,7 @@ declare namespace ts {
2450
2451
  UseAliasDefinedOutsideCurrentScope = 16384,
2451
2452
  UseSingleQuotesForStringLiteralType = 268435456,
2452
2453
  NoTypeReduction = 536870912,
2454
+ OmitThisParameter = 33554432,
2453
2455
  AllowUniqueESSymbolType = 1048576,
2454
2456
  AddUndefined = 131072,
2455
2457
  WriteArrowStyleSignature = 262144,
@@ -2458,7 +2460,7 @@ declare namespace ts {
2458
2460
  InFirstTypeArgument = 4194304,
2459
2461
  InTypeAlias = 8388608,
2460
2462
  /** @deprecated */ WriteOwnNameForAnyLike = 0,
2461
- NodeBuilderFlagsMask = 814775659
2463
+ NodeBuilderFlagsMask = 848330091
2462
2464
  }
2463
2465
  export enum SymbolFormatFlags {
2464
2466
  None = 0,