typescript 5.0.0-dev.20230120 → 5.0.0-dev.20230122

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.
@@ -1144,10 +1144,6 @@ declare namespace ts {
1144
1144
  * Compiler options for the project
1145
1145
  */
1146
1146
  options: ExternalProjectCompilerOptions;
1147
- /**
1148
- * @deprecated typingOptions. Use typeAcquisition instead
1149
- */
1150
- typingOptions?: TypeAcquisition;
1151
1147
  /**
1152
1148
  * Explicitly specified type acquisition for the project
1153
1149
  */
@@ -3054,10 +3050,6 @@ declare namespace ts {
3054
3050
  Info = "Info",
3055
3051
  Perf = "Perf"
3056
3052
  }
3057
- namespace Msg {
3058
- /** @deprecated Only here for backwards-compatibility. Prefer just `Msg`. */
3059
- type Types = Msg;
3060
- }
3061
3053
  namespace Errors {
3062
3054
  function ThrowNoProject(): never;
3063
3055
  function ThrowProjectLanguageServiceDisabled(): never;
@@ -3533,8 +3525,6 @@ declare namespace ts {
3533
3525
  pluginProbeLocations?: readonly string[];
3534
3526
  allowLocalPluginLoads?: boolean;
3535
3527
  typesMapLocation?: string;
3536
- /** @deprecated use serverMode instead */
3537
- syntaxOnly?: boolean;
3538
3528
  serverMode?: LanguageServiceMode;
3539
3529
  session: Session<unknown> | undefined;
3540
3530
  }
@@ -3606,8 +3596,6 @@ declare namespace ts {
3606
3596
  readonly allowLocalPluginLoads: boolean;
3607
3597
  private currentPluginConfigOverrides;
3608
3598
  readonly typesMapLocation: string | undefined;
3609
- /** @deprecated use serverMode instead */
3610
- readonly syntaxOnly: boolean;
3611
3599
  readonly serverMode: LanguageServiceMode;
3612
3600
  /** Tracks projects that we have already sent telemetry for. */
3613
3601
  private readonly seenProjects;
@@ -3818,8 +3806,6 @@ declare namespace ts {
3818
3806
  eventHandler?: ProjectServiceEventHandler;
3819
3807
  /** Has no effect if eventHandler is also specified. */
3820
3808
  suppressDiagnosticEvents?: boolean;
3821
- /** @deprecated use serverMode instead */
3822
- syntaxOnly?: boolean;
3823
3809
  serverMode?: LanguageServiceMode;
3824
3810
  throttleWaitMilliseconds?: number;
3825
3811
  noGetErrOnBackgroundUpdate?: boolean;
@@ -3856,9 +3842,6 @@ declare namespace ts {
3856
3842
  send(msg: protocol.Message): void;
3857
3843
  protected writeMessage(msg: protocol.Message): void;
3858
3844
  event<T extends object>(body: T, eventName: string): void;
3859
- /** @deprecated */
3860
- output(info: any, cmdName: string, reqSeq?: number, errorMsg?: string): void;
3861
- private doOutput;
3862
3845
  private semanticCheck;
3863
3846
  private syntacticCheck;
3864
3847
  private suggestionCheck;
@@ -4340,15 +4323,15 @@ declare namespace ts {
4340
4323
  ShorthandPropertyAssignment = 300,
4341
4324
  SpreadAssignment = 301,
4342
4325
  EnumMember = 302,
4343
- UnparsedPrologue = 303,
4344
- UnparsedPrepend = 304,
4345
- UnparsedText = 305,
4346
- UnparsedInternalText = 306,
4347
- UnparsedSyntheticReference = 307,
4326
+ /** @deprecated */ UnparsedPrologue = 303,
4327
+ /** @deprecated */ UnparsedPrepend = 304,
4328
+ /** @deprecated */ UnparsedText = 305,
4329
+ /** @deprecated */ UnparsedInternalText = 306,
4330
+ /** @deprecated */ UnparsedSyntheticReference = 307,
4348
4331
  SourceFile = 308,
4349
4332
  Bundle = 309,
4350
- UnparsedSource = 310,
4351
- InputFiles = 311,
4333
+ /** @deprecated */ UnparsedSource = 310,
4334
+ /** @deprecated */ InputFiles = 311,
4352
4335
  JSDocTypeExpression = 312,
4353
4336
  JSDocNameReference = 313,
4354
4337
  JSDocMemberName = 314,
@@ -4533,30 +4516,6 @@ declare namespace ts {
4533
4516
  getLastToken(sourceFile?: SourceFile): Node | undefined;
4534
4517
  forEachChild<T>(cbNode: (node: Node) => T | undefined, cbNodeArray?: (nodes: NodeArray<Node>) => T | undefined): T | undefined;
4535
4518
  }
4536
- interface Node {
4537
- /**
4538
- * @deprecated `decorators` has been removed from `Node` and merged with `modifiers` on the `Node` subtypes that support them.
4539
- * Use `ts.canHaveDecorators()` to test whether a `Node` can have decorators.
4540
- * Use `ts.getDecorators()` to get the decorators of a `Node`.
4541
- *
4542
- * For example:
4543
- * ```ts
4544
- * const decorators = ts.canHaveDecorators(node) ? ts.getDecorators(node) : undefined;
4545
- * ```
4546
- */
4547
- readonly decorators?: undefined;
4548
- /**
4549
- * @deprecated `modifiers` has been removed from `Node` and moved to the `Node` subtypes that support them.
4550
- * Use `ts.canHaveModifiers()` to test whether a `Node` can have modifiers.
4551
- * Use `ts.getModifiers()` to get the modifiers of a `Node`.
4552
- *
4553
- * For example:
4554
- * ```ts
4555
- * const modifiers = ts.canHaveModifiers(node) ? ts.getModifiers(node) : undefined;
4556
- * ```
4557
- */
4558
- readonly modifiers?: NodeArray<ModifierLike> | undefined;
4559
- }
4560
4519
  interface JSDocContainer extends Node {
4561
4520
  _jsdocContainerBrand: any;
4562
4521
  }
@@ -4602,10 +4561,6 @@ declare namespace ts {
4602
4561
  type AssertKeyword = KeywordToken<SyntaxKind.AssertKeyword>;
4603
4562
  type AwaitKeyword = KeywordToken<SyntaxKind.AwaitKeyword>;
4604
4563
  type CaseKeyword = KeywordToken<SyntaxKind.CaseKeyword>;
4605
- /** @deprecated Use `AwaitKeyword` instead. */
4606
- type AwaitKeywordToken = AwaitKeyword;
4607
- /** @deprecated Use `AssertsKeyword` instead. */
4608
- type AssertsToken = AssertsKeyword;
4609
4564
  interface ModifierToken<TKind extends ModifierSyntaxKind> extends KeywordToken<TKind> {
4610
4565
  }
4611
4566
  type AbstractKeyword = ModifierToken<SyntaxKind.AbstractKeyword>;
@@ -4623,8 +4578,6 @@ declare namespace ts {
4623
4578
  type OutKeyword = ModifierToken<SyntaxKind.OutKeyword>;
4624
4579
  type OverrideKeyword = ModifierToken<SyntaxKind.OverrideKeyword>;
4625
4580
  type StaticKeyword = ModifierToken<SyntaxKind.StaticKeyword>;
4626
- /** @deprecated Use `ReadonlyKeyword` instead. */
4627
- type ReadonlyToken = ReadonlyKeyword;
4628
4581
  type Modifier = AbstractKeyword | AccessorKeyword | AsyncKeyword | ConstKeyword | DeclareKeyword | DefaultKeyword | ExportKeyword | InKeyword | PrivateKeyword | ProtectedKeyword | PublicKeyword | OutKeyword | OverrideKeyword | ReadonlyKeyword | StaticKeyword;
4629
4582
  type ModifierLike = Modifier | Decorator;
4630
4583
  type AccessibilityModifier = PublicKeyword | PrivateKeyword | ProtectedKeyword;
@@ -4757,10 +4710,6 @@ declare namespace ts {
4757
4710
  readonly questionToken?: QuestionToken;
4758
4711
  readonly type?: TypeNode;
4759
4712
  }
4760
- interface PropertySignature {
4761
- /** @deprecated A property signature cannot have an initializer */
4762
- readonly initializer?: Expression | undefined;
4763
- }
4764
4713
  interface PropertyDeclaration extends ClassElement, JSDocContainer {
4765
4714
  readonly kind: SyntaxKind.PropertyDeclaration;
4766
4715
  readonly parent: ClassLikeDeclaration;
@@ -4786,12 +4735,6 @@ declare namespace ts {
4786
4735
  readonly name: PropertyName;
4787
4736
  readonly initializer: Expression;
4788
4737
  }
4789
- interface PropertyAssignment {
4790
- /** @deprecated A property assignment cannot have a question token */
4791
- readonly questionToken?: QuestionToken | undefined;
4792
- /** @deprecated A property assignment cannot have an exclamation token */
4793
- readonly exclamationToken?: ExclamationToken | undefined;
4794
- }
4795
4738
  interface ShorthandPropertyAssignment extends ObjectLiteralElement, JSDocContainer {
4796
4739
  readonly kind: SyntaxKind.ShorthandPropertyAssignment;
4797
4740
  readonly parent: ObjectLiteralExpression;
@@ -4799,14 +4742,6 @@ declare namespace ts {
4799
4742
  readonly equalsToken?: EqualsToken;
4800
4743
  readonly objectAssignmentInitializer?: Expression;
4801
4744
  }
4802
- interface ShorthandPropertyAssignment {
4803
- /** @deprecated A shorthand property assignment cannot have modifiers */
4804
- readonly modifiers?: NodeArray<ModifierLike> | undefined;
4805
- /** @deprecated A shorthand property assignment cannot have a question token */
4806
- readonly questionToken?: QuestionToken | undefined;
4807
- /** @deprecated A shorthand property assignment cannot have an exclamation token */
4808
- readonly exclamationToken?: ExclamationToken | undefined;
4809
- }
4810
4745
  interface SpreadAssignment extends ObjectLiteralElement, JSDocContainer {
4811
4746
  readonly kind: SyntaxKind.SpreadAssignment;
4812
4747
  readonly parent: ObjectLiteralExpression;
@@ -4929,10 +4864,6 @@ declare namespace ts {
4929
4864
  interface FunctionTypeNode extends FunctionOrConstructorTypeNodeBase, LocalsContainer {
4930
4865
  readonly kind: SyntaxKind.FunctionType;
4931
4866
  }
4932
- interface FunctionTypeNode {
4933
- /** @deprecated A function type cannot have modifiers */
4934
- readonly modifiers?: NodeArray<Modifier> | undefined;
4935
- }
4936
4867
  interface ConstructorTypeNode extends FunctionOrConstructorTypeNodeBase, LocalsContainer {
4937
4868
  readonly kind: SyntaxKind.ConstructorType;
4938
4869
  readonly modifiers?: NodeArray<Modifier>;
@@ -5778,8 +5709,8 @@ declare namespace ts {
5778
5709
  readonly name: Identifier;
5779
5710
  }
5780
5711
  type ImportOrExportSpecifier = ImportSpecifier | ExportSpecifier;
5781
- type TypeOnlyCompatibleAliasDeclaration = ImportClause | ImportEqualsDeclaration | NamespaceImport | ImportOrExportSpecifier;
5782
- type TypeOnlyAliasDeclaration = ImportClause & {
5712
+ type TypeOnlyCompatibleAliasDeclaration = ImportClause | ImportEqualsDeclaration | NamespaceImport | ImportOrExportSpecifier | ExportDeclaration | NamespaceExport;
5713
+ type TypeOnlyImportDeclaration = ImportClause & {
5783
5714
  readonly isTypeOnly: true;
5784
5715
  readonly name: Identifier;
5785
5716
  } | ImportEqualsDeclaration & {
@@ -5796,7 +5727,8 @@ declare namespace ts {
5796
5727
  readonly isTypeOnly: true;
5797
5728
  };
5798
5729
  };
5799
- }) | ExportSpecifier & ({
5730
+ });
5731
+ type TypeOnlyExportDeclaration = ExportSpecifier & ({
5800
5732
  readonly isTypeOnly: true;
5801
5733
  } | {
5802
5734
  readonly parent: NamedExports & {
@@ -5804,7 +5736,14 @@ declare namespace ts {
5804
5736
  readonly isTypeOnly: true;
5805
5737
  };
5806
5738
  };
5807
- });
5739
+ }) | ExportDeclaration & {
5740
+ readonly isTypeOnly: true;
5741
+ } | NamespaceExport & {
5742
+ readonly parent: ExportDeclaration & {
5743
+ readonly isTypeOnly: true;
5744
+ };
5745
+ };
5746
+ type TypeOnlyAliasDeclaration = TypeOnlyImportDeclaration | TypeOnlyExportDeclaration;
5808
5747
  /**
5809
5748
  * This is either an `export =` or an `export default` declaration.
5810
5749
  * Unless `isExportEquals` is set, this node was parsed as an `export default`.
@@ -6161,9 +6100,10 @@ declare namespace ts {
6161
6100
  }
6162
6101
  interface Bundle extends Node {
6163
6102
  readonly kind: SyntaxKind.Bundle;
6164
- readonly prepends: readonly (InputFiles | UnparsedSource)[];
6103
+ /** @deprecated */ readonly prepends: readonly (InputFiles | UnparsedSource)[];
6165
6104
  readonly sourceFiles: readonly SourceFile[];
6166
6105
  }
6106
+ /** @deprecated */
6167
6107
  interface InputFiles extends Node {
6168
6108
  readonly kind: SyntaxKind.InputFiles;
6169
6109
  javascriptPath?: string;
@@ -6175,6 +6115,7 @@ declare namespace ts {
6175
6115
  declarationMapPath?: string;
6176
6116
  declarationMapText?: string;
6177
6117
  }
6118
+ /** @deprecated */
6178
6119
  interface UnparsedSource extends Node {
6179
6120
  readonly kind: SyntaxKind.UnparsedSource;
6180
6121
  fileName: string;
@@ -6190,28 +6131,35 @@ declare namespace ts {
6190
6131
  readonly syntheticReferences?: readonly UnparsedSyntheticReference[];
6191
6132
  readonly texts: readonly UnparsedSourceText[];
6192
6133
  }
6134
+ /** @deprecated */
6193
6135
  type UnparsedSourceText = UnparsedPrepend | UnparsedTextLike;
6136
+ /** @deprecated */
6194
6137
  type UnparsedNode = UnparsedPrologue | UnparsedSourceText | UnparsedSyntheticReference;
6138
+ /** @deprecated */
6195
6139
  interface UnparsedSection extends Node {
6196
6140
  readonly kind: SyntaxKind;
6197
6141
  readonly parent: UnparsedSource;
6198
6142
  readonly data?: string;
6199
6143
  }
6144
+ /** @deprecated */
6200
6145
  interface UnparsedPrologue extends UnparsedSection {
6201
6146
  readonly kind: SyntaxKind.UnparsedPrologue;
6202
6147
  readonly parent: UnparsedSource;
6203
6148
  readonly data: string;
6204
6149
  }
6150
+ /** @deprecated */
6205
6151
  interface UnparsedPrepend extends UnparsedSection {
6206
6152
  readonly kind: SyntaxKind.UnparsedPrepend;
6207
6153
  readonly parent: UnparsedSource;
6208
6154
  readonly data: string;
6209
6155
  readonly texts: readonly UnparsedTextLike[];
6210
6156
  }
6157
+ /** @deprecated */
6211
6158
  interface UnparsedTextLike extends UnparsedSection {
6212
6159
  readonly kind: SyntaxKind.UnparsedText | SyntaxKind.UnparsedInternalText;
6213
6160
  readonly parent: UnparsedSource;
6214
6161
  }
6162
+ /** @deprecated */
6215
6163
  interface UnparsedSyntheticReference extends UnparsedSection {
6216
6164
  readonly kind: SyntaxKind.UnparsedSyntheticReference;
6217
6165
  readonly parent: UnparsedSource;
@@ -6352,9 +6300,7 @@ declare namespace ts {
6352
6300
  DiagnosticsPresent_OutputsSkipped = 1,
6353
6301
  DiagnosticsPresent_OutputsGenerated = 2,
6354
6302
  InvalidProject_OutputsSkipped = 3,
6355
- ProjectReferenceCycle_OutputsSkipped = 4,
6356
- /** @deprecated Use ProjectReferenceCycle_OutputsSkipped instead. */
6357
- ProjectReferenceCycle_OutputsSkupped = 4
6303
+ ProjectReferenceCycle_OutputsSkipped = 4
6358
6304
  }
6359
6305
  interface EmitResult {
6360
6306
  emitSkipped: boolean;
@@ -6484,8 +6430,6 @@ declare namespace ts {
6484
6430
  OmitThisParameter = 33554432,
6485
6431
  AllowThisInObjectLiteral = 32768,
6486
6432
  AllowQualifiedNameInPlaceOfIdentifier = 65536,
6487
- /** @deprecated AllowQualifedNameInPlaceOfIdentifier. Use AllowQualifiedNameInPlaceOfIdentifier instead. */
6488
- AllowQualifedNameInPlaceOfIdentifier = 65536,
6489
6433
  AllowAnonymousIdentifier = 131072,
6490
6434
  AllowEmptyUnionOrIntersection = 262144,
6491
6435
  AllowEmptyTuple = 524288,
@@ -6520,7 +6464,6 @@ declare namespace ts {
6520
6464
  InElementType = 2097152,
6521
6465
  InFirstTypeArgument = 4194304,
6522
6466
  InTypeAlias = 8388608,
6523
- /** @deprecated */ WriteOwnNameForAnyLike = 0,
6524
6467
  NodeBuilderFlagsMask = 848330091
6525
6468
  }
6526
6469
  enum SymbolFormatFlags {
@@ -6976,8 +6919,6 @@ declare namespace ts {
6976
6919
  PriorityImpliesCombination = 416,
6977
6920
  Circularity = -1
6978
6921
  }
6979
- /** @deprecated Use FileExtensionInfo instead. */
6980
- type JsFileExtensionInfo = FileExtensionInfo;
6981
6922
  interface FileExtensionInfo {
6982
6923
  extension: string;
6983
6924
  isMixedContent: boolean;
@@ -7200,11 +7141,6 @@ declare namespace ts {
7200
7141
  [option: string]: CompilerOptionsValue | undefined;
7201
7142
  }
7202
7143
  interface TypeAcquisition {
7203
- /**
7204
- * @deprecated typingOptions.enableAutoDiscovery
7205
- * Use typeAcquisition.enable instead.
7206
- */
7207
- enableAutoDiscovery?: boolean;
7208
7144
  enable?: boolean;
7209
7145
  include?: string[];
7210
7146
  exclude?: string[];
@@ -7940,8 +7876,10 @@ declare namespace ts {
7940
7876
  updatePartiallyEmittedExpression(node: PartiallyEmittedExpression, expression: Expression): PartiallyEmittedExpression;
7941
7877
  createCommaListExpression(elements: readonly Expression[]): CommaListExpression;
7942
7878
  updateCommaListExpression(node: CommaListExpression, elements: readonly Expression[]): CommaListExpression;
7943
- createBundle(sourceFiles: readonly SourceFile[], prepends?: readonly (UnparsedSource | InputFiles)[]): Bundle;
7944
- updateBundle(node: Bundle, sourceFiles: readonly SourceFile[], prepends?: readonly (UnparsedSource | InputFiles)[]): Bundle;
7879
+ createBundle(sourceFiles: readonly SourceFile[]): Bundle;
7880
+ /** @deprecated*/ createBundle(sourceFiles: readonly SourceFile[], prepends?: readonly (UnparsedSource | InputFiles)[]): Bundle;
7881
+ updateBundle(node: Bundle, sourceFiles: readonly SourceFile[]): Bundle;
7882
+ /** @deprecated*/ updateBundle(node: Bundle, sourceFiles: readonly SourceFile[], prepends?: readonly (UnparsedSource | InputFiles)[]): Bundle;
7945
7883
  createComma(left: Expression, right: Expression): BinaryExpression;
7946
7884
  createAssignment(left: ObjectLiteralExpression | ArrayLiteralExpression, right: Expression): DestructuringAssignment;
7947
7885
  createAssignment(left: Expression, right: Expression): AssignmentExpression<EqualsToken>;
@@ -7984,179 +7922,6 @@ declare namespace ts {
7984
7922
  createExternalModuleExport(exportName: Identifier): ExportDeclaration;
7985
7923
  restoreOuterExpressions(outerExpression: Expression | undefined, innerExpression: Expression, kinds?: OuterExpressionKinds): Expression;
7986
7924
  }
7987
- interface NodeFactory {
7988
- /** @deprecated Use the overload that accepts 'modifiers' */
7989
- createConstructorTypeNode(typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): ConstructorTypeNode;
7990
- /** @deprecated Use the overload that accepts 'modifiers' */
7991
- updateConstructorTypeNode(node: ConstructorTypeNode, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode): ConstructorTypeNode;
7992
- }
7993
- interface NodeFactory {
7994
- createImportTypeNode(argument: TypeNode, assertions?: ImportTypeAssertionContainer, qualifier?: EntityName, typeArguments?: readonly TypeNode[], isTypeOf?: boolean): ImportTypeNode;
7995
- /** @deprecated Use the overload that accepts 'assertions' */
7996
- createImportTypeNode(argument: TypeNode, qualifier?: EntityName, typeArguments?: readonly TypeNode[], isTypeOf?: boolean): ImportTypeNode;
7997
- /** @deprecated Use the overload that accepts 'assertions' */
7998
- updateImportTypeNode(node: ImportTypeNode, argument: TypeNode, qualifier: EntityName | undefined, typeArguments: readonly TypeNode[] | undefined, isTypeOf?: boolean): ImportTypeNode;
7999
- }
8000
- interface NodeFactory {
8001
- /** @deprecated Use the overload that accepts 'modifiers' */
8002
- createTypeParameterDeclaration(name: string | Identifier, constraint?: TypeNode, defaultType?: TypeNode): TypeParameterDeclaration;
8003
- /** @deprecated Use the overload that accepts 'modifiers' */
8004
- updateTypeParameterDeclaration(node: TypeParameterDeclaration, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined): TypeParameterDeclaration;
8005
- }
8006
- interface NodeFactory {
8007
- /**
8008
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8009
- */
8010
- createParameterDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken?: QuestionToken, type?: TypeNode, initializer?: Expression): ParameterDeclaration;
8011
- /**
8012
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8013
- */
8014
- updateParameterDeclaration(node: ParameterDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken: QuestionToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): ParameterDeclaration;
8015
- /**
8016
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8017
- */
8018
- createPropertyDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): PropertyDeclaration;
8019
- /**
8020
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8021
- */
8022
- updatePropertyDeclaration(node: PropertyDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): PropertyDeclaration;
8023
- /**
8024
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8025
- */
8026
- createMethodDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, asteriskToken: AsteriskToken | undefined, name: string | PropertyName, questionToken: QuestionToken | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): MethodDeclaration;
8027
- /**
8028
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8029
- */
8030
- updateMethodDeclaration(node: MethodDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, asteriskToken: AsteriskToken | undefined, name: PropertyName, questionToken: QuestionToken | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): MethodDeclaration;
8031
- /**
8032
- * @deprecated This node does not support Decorators. Callers should use an overload that does not accept a `decorators` parameter.
8033
- */
8034
- createConstructorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
8035
- /**
8036
- * @deprecated This node does not support Decorators. Callers should use an overload that does not accept a `decorators` parameter.
8037
- */
8038
- updateConstructorDeclaration(node: ConstructorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
8039
- /**
8040
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8041
- */
8042
- createGetAccessorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
8043
- /**
8044
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8045
- */
8046
- updateGetAccessorDeclaration(node: GetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
8047
- /**
8048
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8049
- */
8050
- createSetAccessorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
8051
- /**
8052
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8053
- */
8054
- updateSetAccessorDeclaration(node: SetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
8055
- /**
8056
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8057
- */
8058
- createIndexSignature(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
8059
- /**
8060
- * @deprecated Decorators and modifiers are no longer supported for this function. Callers should use an overload that does not accept the `decorators` and `modifiers` parameters.
8061
- */
8062
- updateIndexSignature(node: IndexSignatureDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
8063
- /**
8064
- * @deprecated Decorators and modifiers are no longer supported for this function. Callers should use an overload that does not accept the `decorators` and `modifiers` parameters.
8065
- */
8066
- createClassStaticBlockDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, body: Block): ClassStaticBlockDeclaration;
8067
- /**
8068
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8069
- */
8070
- updateClassStaticBlockDeclaration(node: ClassStaticBlockDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, body: Block): ClassStaticBlockDeclaration;
8071
- /**
8072
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8073
- */
8074
- createClassExpression(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): ClassExpression;
8075
- /**
8076
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8077
- */
8078
- updateClassExpression(node: ClassExpression, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): ClassExpression;
8079
- /**
8080
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8081
- */
8082
- createFunctionDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, asteriskToken: AsteriskToken | undefined, name: string | Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): FunctionDeclaration;
8083
- /**
8084
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8085
- */
8086
- updateFunctionDeclaration(node: FunctionDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, asteriskToken: AsteriskToken | undefined, name: Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): FunctionDeclaration;
8087
- /**
8088
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8089
- */
8090
- createClassDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): ClassDeclaration;
8091
- /**
8092
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8093
- */
8094
- updateClassDeclaration(node: ClassDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): ClassDeclaration;
8095
- /**
8096
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8097
- */
8098
- createInterfaceDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
8099
- /**
8100
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8101
- */
8102
- updateInterfaceDeclaration(node: InterfaceDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
8103
- /**
8104
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8105
- */
8106
- createTypeAliasDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
8107
- /**
8108
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8109
- */
8110
- updateTypeAliasDeclaration(node: TypeAliasDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
8111
- /**
8112
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8113
- */
8114
- createEnumDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, members: readonly EnumMember[]): EnumDeclaration;
8115
- /**
8116
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8117
- */
8118
- updateEnumDeclaration(node: EnumDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, members: readonly EnumMember[]): EnumDeclaration;
8119
- /**
8120
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8121
- */
8122
- createModuleDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined, flags?: NodeFlags): ModuleDeclaration;
8123
- /**
8124
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8125
- */
8126
- updateModuleDeclaration(node: ModuleDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined): ModuleDeclaration;
8127
- /**
8128
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8129
- */
8130
- createImportEqualsDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: string | Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
8131
- /**
8132
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8133
- */
8134
- updateImportEqualsDeclaration(node: ImportEqualsDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
8135
- /**
8136
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8137
- */
8138
- createImportDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause?: AssertClause): ImportDeclaration;
8139
- /**
8140
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8141
- */
8142
- updateImportDeclaration(node: ImportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration;
8143
- /**
8144
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8145
- */
8146
- createExportAssignment(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression): ExportAssignment;
8147
- /**
8148
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8149
- */
8150
- updateExportAssignment(node: ExportAssignment, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, expression: Expression): ExportAssignment;
8151
- /**
8152
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8153
- */
8154
- createExportDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression, assertClause?: AssertClause): ExportDeclaration;
8155
- /**
8156
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8157
- */
8158
- updateExportDeclaration(node: ExportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier: Expression | undefined, assertClause: AssertClause | undefined): ExportDeclaration;
8159
- }
8160
7925
  interface CoreTransformationContext {
8161
7926
  readonly factory: NodeFactory;
8162
7927
  /** Gets the compiler options supplied to the transformer. */
@@ -8820,7 +8585,9 @@ declare namespace ts {
8820
8585
  function isNonNullChain(node: Node): node is NonNullChain;
8821
8586
  function isBreakOrContinueStatement(node: Node): node is BreakOrContinueStatement;
8822
8587
  function isNamedExportBindings(node: Node): node is NamedExportBindings;
8588
+ /** @deprecated */
8823
8589
  function isUnparsedTextLike(node: Node): node is UnparsedTextLike;
8590
+ /** @deprecated */
8824
8591
  function isUnparsedNode(node: Node): node is UnparsedNode;
8825
8592
  function isJSDocPropertyLikeTag(node: Node): node is JSDocPropertyLikeTag;
8826
8593
  /**
@@ -8839,6 +8606,8 @@ declare namespace ts {
8839
8606
  function isTemplateLiteralToken(node: Node): node is TemplateLiteralToken;
8840
8607
  function isTemplateMiddleOrTemplateTail(node: Node): node is TemplateMiddle | TemplateTail;
8841
8608
  function isImportOrExportSpecifier(node: Node): node is ImportSpecifier | ExportSpecifier;
8609
+ function isTypeOnlyImportDeclaration(node: Node): node is TypeOnlyImportDeclaration;
8610
+ function isTypeOnlyExportDeclaration(node: Node): node is TypeOnlyExportDeclaration;
8842
8611
  function isTypeOnlyImportOrExportDeclaration(node: Node): node is TypeOnlyAliasDeclaration;
8843
8612
  function isAssertionKey(node: Node): node is AssertionKey;
8844
8613
  function isStringTextContainingNode(node: Node): node is StringLiteral | TemplateLiteralToken;
@@ -8862,13 +8631,30 @@ declare namespace ts {
8862
8631
  */
8863
8632
  function isTypeNode(node: Node): node is TypeNode;
8864
8633
  function isFunctionOrConstructorTypeNode(node: Node): node is FunctionTypeNode | ConstructorTypeNode;
8634
+ function isArrayBindingElement(node: Node): node is ArrayBindingElement;
8865
8635
  function isPropertyAccessOrQualifiedName(node: Node): node is PropertyAccessExpression | QualifiedName;
8866
8636
  function isCallLikeExpression(node: Node): node is CallLikeExpression;
8867
8637
  function isCallOrNewExpression(node: Node): node is CallExpression | NewExpression;
8868
8638
  function isTemplateLiteral(node: Node): node is TemplateLiteral;
8639
+ function isLeftHandSideExpression(node: Node): node is LeftHandSideExpression;
8640
+ function isLiteralTypeLiteral(node: Node): node is NullLiteral | BooleanLiteral | LiteralExpression | PrefixUnaryExpression;
8641
+ /**
8642
+ * Determines whether a node is an expression based only on its kind.
8643
+ */
8644
+ function isExpression(node: Node): node is Expression;
8869
8645
  function isAssertionExpression(node: Node): node is AssertionExpression;
8870
8646
  function isIterationStatement(node: Node, lookInLabeledStatements: false): node is IterationStatement;
8871
8647
  function isIterationStatement(node: Node, lookInLabeledStatements: boolean): node is IterationStatement | LabeledStatement;
8648
+ function isConciseBody(node: Node): node is ConciseBody;
8649
+ function isForInitializer(node: Node): node is ForInitializer;
8650
+ function isModuleBody(node: Node): node is ModuleBody;
8651
+ function isNamedImportBindings(node: Node): node is NamedImportBindings;
8652
+ function isStatement(node: Node): node is Statement;
8653
+ function isModuleReference(node: Node): node is ModuleReference;
8654
+ function isJsxTagNameExpression(node: Node): node is JsxTagNameExpression;
8655
+ function isJsxChild(node: Node): node is JsxChild;
8656
+ function isJsxAttributeLike(node: Node): node is JsxAttributeLike;
8657
+ function isStringLiteralOrJsxExpression(node: Node): node is StringLiteral | JsxExpression;
8872
8658
  function isJsxOpeningLikeElement(node: Node): node is JsxOpeningLikeElement;
8873
8659
  function isCaseOrDefaultClause(node: Node): node is CaseOrDefaultClause;
8874
8660
  /** True if node is of a kind that may contain comment text. */
@@ -8888,11 +8674,17 @@ declare namespace ts {
8888
8674
  name: Identifier;
8889
8675
  };
8890
8676
  function emitModuleKindIsNonNodeESM(moduleKind: ModuleKind): boolean;
8677
+ /** @deprecated */
8891
8678
  function createUnparsedSourceFile(text: string): UnparsedSource;
8679
+ /** @deprecated */
8892
8680
  function createUnparsedSourceFile(inputFile: InputFiles, type: "js" | "dts", stripInternal?: boolean): UnparsedSource;
8681
+ /** @deprecated */
8893
8682
  function createUnparsedSourceFile(text: string, mapPath: string | undefined, map: string | undefined): UnparsedSource;
8683
+ /** @deprecated */
8894
8684
  function createInputFiles(javascriptText: string, declarationText: string): InputFiles;
8685
+ /** @deprecated */
8895
8686
  function createInputFiles(javascriptText: string, declarationText: string, javascriptMapPath: string | undefined, javascriptMapText: string | undefined, declarationMapPath: string | undefined, declarationMapText: string | undefined): InputFiles;
8687
+ /** @deprecated */
8896
8688
  function createInputFiles(readFileText: (path: string) => string | undefined, javascriptPath: string, javascriptMapPath: string | undefined, declarationPath: string, declarationMapPath: string | undefined, buildInfoPath: string | undefined): InputFiles;
8897
8689
  /**
8898
8690
  * Create an external source map source file reference
@@ -8981,8 +8773,15 @@ declare namespace ts {
8981
8773
  function isPlusToken(node: Node): node is PlusToken;
8982
8774
  function isMinusToken(node: Node): node is MinusToken;
8983
8775
  function isAsteriskToken(node: Node): node is AsteriskToken;
8776
+ function isExclamationToken(node: Node): node is ExclamationToken;
8777
+ function isQuestionToken(node: Node): node is QuestionToken;
8778
+ function isColonToken(node: Node): node is ColonToken;
8779
+ function isQuestionDotToken(node: Node): node is QuestionDotToken;
8780
+ function isEqualsGreaterThanToken(node: Node): node is EqualsGreaterThanToken;
8984
8781
  function isIdentifier(node: Node): node is Identifier;
8985
8782
  function isPrivateIdentifier(node: Node): node is PrivateIdentifier;
8783
+ function isAssertsKeyword(node: Node): node is AssertsKeyword;
8784
+ function isAwaitKeyword(node: Node): node is AwaitKeyword;
8986
8785
  function isQualifiedName(node: Node): node is QualifiedName;
8987
8786
  function isComputedPropertyName(node: Node): node is ComputedPropertyName;
8988
8787
  function isTypeParameterDeclaration(node: Node): node is TypeParameterDeclaration;
@@ -9126,9 +8925,11 @@ declare namespace ts {
9126
8925
  function isShorthandPropertyAssignment(node: Node): node is ShorthandPropertyAssignment;
9127
8926
  function isSpreadAssignment(node: Node): node is SpreadAssignment;
9128
8927
  function isEnumMember(node: Node): node is EnumMember;
8928
+ /** @deprecated */
9129
8929
  function isUnparsedPrepend(node: Node): node is UnparsedPrepend;
9130
8930
  function isSourceFile(node: Node): node is SourceFile;
9131
8931
  function isBundle(node: Node): node is Bundle;
8932
+ /** @deprecated */
9132
8933
  function isUnparsedSource(node: Node): node is UnparsedSource;
9133
8934
  function isJSDocTypeExpression(node: Node): node is JSDocTypeExpression;
9134
8935
  function isJSDocNameReference(node: Node): node is JSDocNameReference;
@@ -9171,6 +8972,12 @@ declare namespace ts {
9171
8972
  function isJSDocImplementsTag(node: Node): node is JSDocImplementsTag;
9172
8973
  function isJSDocSatisfiesTag(node: Node): node is JSDocSatisfiesTag;
9173
8974
  function isJSDocThrowsTag(node: Node): node is JSDocThrowsTag;
8975
+ function isQuestionOrExclamationToken(node: Node): node is QuestionToken | ExclamationToken;
8976
+ function isIdentifierOrThisTypeNode(node: Node): node is Identifier | ThisTypeNode;
8977
+ function isReadonlyKeywordOrPlusOrMinusToken(node: Node): node is ReadonlyKeyword | PlusToken | MinusToken;
8978
+ function isQuestionOrPlusOrMinusToken(node: Node): node is QuestionToken | PlusToken | MinusToken;
8979
+ function isModuleName(node: Node): node is ModuleName;
8980
+ function isBinaryOperatorToken(node: Node): node is BinaryOperatorToken;
9174
8981
  function setTextRange<T extends TextRange>(range: T, location: TextRange | undefined): T;
9175
8982
  function canHaveModifiers(node: Node): node is HasModifiers;
9176
8983
  function canHaveDecorators(node: Node): node is HasDecorators;
@@ -9568,15 +9375,11 @@ declare namespace ts {
9568
9375
  * Note: The file might not exist.
9569
9376
  */
9570
9377
  function resolveProjectReferencePath(ref: ProjectReference): ResolvedConfigFileName;
9571
- /** @deprecated */ function resolveProjectReferencePath(host: ResolveProjectReferencePathHost, ref: ProjectReference): ResolvedConfigFileName;
9572
9378
  interface FormatDiagnosticsHost {
9573
9379
  getCurrentDirectory(): string;
9574
9380
  getCanonicalFileName(fileName: string): string;
9575
9381
  getNewLine(): string;
9576
9382
  }
9577
- /** @deprecated */ interface ResolveProjectReferencePathHost {
9578
- fileExists(fileName: string): boolean;
9579
- }
9580
9383
  interface EmitOutput {
9581
9384
  outputFiles: OutputFile[];
9582
9385
  emitSkipped: boolean;
@@ -9919,7 +9722,7 @@ declare namespace ts {
9919
9722
  }
9920
9723
  enum InvalidatedProjectKind {
9921
9724
  Build = 0,
9922
- UpdateBundle = 1,
9725
+ /** @deprecated */ UpdateBundle = 1,
9923
9726
  UpdateOutputFileStamps = 2
9924
9727
  }
9925
9728
  interface InvalidatedProjectBase {
@@ -9951,6 +9754,7 @@ declare namespace ts {
9951
9754
  getSemanticDiagnosticsOfNextAffectedFile(cancellationToken?: CancellationToken, ignoreSourceFile?: (sourceFile: SourceFile) => boolean): AffectedFileResult<readonly Diagnostic[]>;
9952
9755
  emit(targetSourceFile?: SourceFile, writeFile?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnlyDtsFiles?: boolean, customTransformers?: CustomTransformers): EmitResult | undefined;
9953
9756
  }
9757
+ /** @deprecated */
9954
9758
  interface UpdateBundleProject<T extends BuilderProgram> extends InvalidatedProjectBase {
9955
9759
  readonly kind: InvalidatedProjectKind.UpdateBundle;
9956
9760
  emit(writeFile?: WriteFileCallback, customTransformers?: CustomTransformers): EmitResult | BuildInvalidedProject<T> | undefined;
@@ -11218,738 +11022,5 @@ declare namespace ts {
11218
11022
  * @param compilerOptions Optional compiler options.
11219
11023
  */
11220
11024
  function transform<T extends Node>(source: T | T[], transformers: TransformerFactory<T>[], compilerOptions?: CompilerOptions): TransformationResult<T>;
11221
- /** @deprecated Use `factory.createNodeArray` or the factory supplied by your transformation context instead. */
11222
- const createNodeArray: typeof factory.createNodeArray;
11223
- /** @deprecated Use `factory.createNumericLiteral` or the factory supplied by your transformation context instead. */
11224
- const createNumericLiteral: typeof factory.createNumericLiteral;
11225
- /** @deprecated Use `factory.createBigIntLiteral` or the factory supplied by your transformation context instead. */
11226
- const createBigIntLiteral: typeof factory.createBigIntLiteral;
11227
- /** @deprecated Use `factory.createStringLiteral` or the factory supplied by your transformation context instead. */
11228
- const createStringLiteral: typeof factory.createStringLiteral;
11229
- /** @deprecated Use `factory.createStringLiteralFromNode` or the factory supplied by your transformation context instead. */
11230
- const createStringLiteralFromNode: typeof factory.createStringLiteralFromNode;
11231
- /** @deprecated Use `factory.createRegularExpressionLiteral` or the factory supplied by your transformation context instead. */
11232
- const createRegularExpressionLiteral: typeof factory.createRegularExpressionLiteral;
11233
- /** @deprecated Use `factory.createLoopVariable` or the factory supplied by your transformation context instead. */
11234
- const createLoopVariable: typeof factory.createLoopVariable;
11235
- /** @deprecated Use `factory.createUniqueName` or the factory supplied by your transformation context instead. */
11236
- const createUniqueName: typeof factory.createUniqueName;
11237
- /** @deprecated Use `factory.createPrivateIdentifier` or the factory supplied by your transformation context instead. */
11238
- const createPrivateIdentifier: typeof factory.createPrivateIdentifier;
11239
- /** @deprecated Use `factory.createSuper` or the factory supplied by your transformation context instead. */
11240
- const createSuper: typeof factory.createSuper;
11241
- /** @deprecated Use `factory.createThis` or the factory supplied by your transformation context instead. */
11242
- const createThis: typeof factory.createThis;
11243
- /** @deprecated Use `factory.createNull` or the factory supplied by your transformation context instead. */
11244
- const createNull: typeof factory.createNull;
11245
- /** @deprecated Use `factory.createTrue` or the factory supplied by your transformation context instead. */
11246
- const createTrue: typeof factory.createTrue;
11247
- /** @deprecated Use `factory.createFalse` or the factory supplied by your transformation context instead. */
11248
- const createFalse: typeof factory.createFalse;
11249
- /** @deprecated Use `factory.createModifier` or the factory supplied by your transformation context instead. */
11250
- const createModifier: typeof factory.createModifier;
11251
- /** @deprecated Use `factory.createModifiersFromModifierFlags` or the factory supplied by your transformation context instead. */
11252
- const createModifiersFromModifierFlags: typeof factory.createModifiersFromModifierFlags;
11253
- /** @deprecated Use `factory.createQualifiedName` or the factory supplied by your transformation context instead. */
11254
- const createQualifiedName: typeof factory.createQualifiedName;
11255
- /** @deprecated Use `factory.updateQualifiedName` or the factory supplied by your transformation context instead. */
11256
- const updateQualifiedName: typeof factory.updateQualifiedName;
11257
- /** @deprecated Use `factory.createComputedPropertyName` or the factory supplied by your transformation context instead. */
11258
- const createComputedPropertyName: typeof factory.createComputedPropertyName;
11259
- /** @deprecated Use `factory.updateComputedPropertyName` or the factory supplied by your transformation context instead. */
11260
- const updateComputedPropertyName: typeof factory.updateComputedPropertyName;
11261
- /** @deprecated Use `factory.createTypeParameterDeclaration` or the factory supplied by your transformation context instead. */
11262
- const createTypeParameterDeclaration: typeof factory.createTypeParameterDeclaration;
11263
- /** @deprecated Use `factory.updateTypeParameterDeclaration` or the factory supplied by your transformation context instead. */
11264
- const updateTypeParameterDeclaration: typeof factory.updateTypeParameterDeclaration;
11265
- /** @deprecated Use `factory.createParameterDeclaration` or the factory supplied by your transformation context instead. */
11266
- const createParameter: typeof factory.createParameterDeclaration;
11267
- /** @deprecated Use `factory.updateParameterDeclaration` or the factory supplied by your transformation context instead. */
11268
- const updateParameter: typeof factory.updateParameterDeclaration;
11269
- /** @deprecated Use `factory.createDecorator` or the factory supplied by your transformation context instead. */
11270
- const createDecorator: typeof factory.createDecorator;
11271
- /** @deprecated Use `factory.updateDecorator` or the factory supplied by your transformation context instead. */
11272
- const updateDecorator: typeof factory.updateDecorator;
11273
- /** @deprecated Use `factory.createPropertyDeclaration` or the factory supplied by your transformation context instead. */
11274
- const createProperty: typeof factory.createPropertyDeclaration;
11275
- /** @deprecated Use `factory.updatePropertyDeclaration` or the factory supplied by your transformation context instead. */
11276
- const updateProperty: typeof factory.updatePropertyDeclaration;
11277
- /** @deprecated Use `factory.createMethodDeclaration` or the factory supplied by your transformation context instead. */
11278
- const createMethod: typeof factory.createMethodDeclaration;
11279
- /** @deprecated Use `factory.updateMethodDeclaration` or the factory supplied by your transformation context instead. */
11280
- const updateMethod: typeof factory.updateMethodDeclaration;
11281
- /** @deprecated Use `factory.createConstructorDeclaration` or the factory supplied by your transformation context instead. */
11282
- const createConstructor: typeof factory.createConstructorDeclaration;
11283
- /** @deprecated Use `factory.updateConstructorDeclaration` or the factory supplied by your transformation context instead. */
11284
- const updateConstructor: typeof factory.updateConstructorDeclaration;
11285
- /** @deprecated Use `factory.createGetAccessorDeclaration` or the factory supplied by your transformation context instead. */
11286
- const createGetAccessor: typeof factory.createGetAccessorDeclaration;
11287
- /** @deprecated Use `factory.updateGetAccessorDeclaration` or the factory supplied by your transformation context instead. */
11288
- const updateGetAccessor: typeof factory.updateGetAccessorDeclaration;
11289
- /** @deprecated Use `factory.createSetAccessorDeclaration` or the factory supplied by your transformation context instead. */
11290
- const createSetAccessor: typeof factory.createSetAccessorDeclaration;
11291
- /** @deprecated Use `factory.updateSetAccessorDeclaration` or the factory supplied by your transformation context instead. */
11292
- const updateSetAccessor: typeof factory.updateSetAccessorDeclaration;
11293
- /** @deprecated Use `factory.createCallSignature` or the factory supplied by your transformation context instead. */
11294
- const createCallSignature: typeof factory.createCallSignature;
11295
- /** @deprecated Use `factory.updateCallSignature` or the factory supplied by your transformation context instead. */
11296
- const updateCallSignature: typeof factory.updateCallSignature;
11297
- /** @deprecated Use `factory.createConstructSignature` or the factory supplied by your transformation context instead. */
11298
- const createConstructSignature: typeof factory.createConstructSignature;
11299
- /** @deprecated Use `factory.updateConstructSignature` or the factory supplied by your transformation context instead. */
11300
- const updateConstructSignature: typeof factory.updateConstructSignature;
11301
- /** @deprecated Use `factory.updateIndexSignature` or the factory supplied by your transformation context instead. */
11302
- const updateIndexSignature: typeof factory.updateIndexSignature;
11303
- /** @deprecated Use `factory.createKeywordTypeNode` or the factory supplied by your transformation context instead. */
11304
- const createKeywordTypeNode: typeof factory.createKeywordTypeNode;
11305
- /** @deprecated Use `factory.createTypePredicateNode` or the factory supplied by your transformation context instead. */
11306
- const createTypePredicateNodeWithModifier: typeof factory.createTypePredicateNode;
11307
- /** @deprecated Use `factory.updateTypePredicateNode` or the factory supplied by your transformation context instead. */
11308
- const updateTypePredicateNodeWithModifier: typeof factory.updateTypePredicateNode;
11309
- /** @deprecated Use `factory.createTypeReferenceNode` or the factory supplied by your transformation context instead. */
11310
- const createTypeReferenceNode: typeof factory.createTypeReferenceNode;
11311
- /** @deprecated Use `factory.updateTypeReferenceNode` or the factory supplied by your transformation context instead. */
11312
- const updateTypeReferenceNode: typeof factory.updateTypeReferenceNode;
11313
- /** @deprecated Use `factory.createFunctionTypeNode` or the factory supplied by your transformation context instead. */
11314
- const createFunctionTypeNode: typeof factory.createFunctionTypeNode;
11315
- /** @deprecated Use `factory.updateFunctionTypeNode` or the factory supplied by your transformation context instead. */
11316
- const updateFunctionTypeNode: typeof factory.updateFunctionTypeNode;
11317
- /** @deprecated Use `factory.createConstructorTypeNode` or the factory supplied by your transformation context instead. */
11318
- const createConstructorTypeNode: (typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode) => ConstructorTypeNode;
11319
- /** @deprecated Use `factory.updateConstructorTypeNode` or the factory supplied by your transformation context instead. */
11320
- const updateConstructorTypeNode: (node: ConstructorTypeNode, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode) => ConstructorTypeNode;
11321
- /** @deprecated Use `factory.createTypeQueryNode` or the factory supplied by your transformation context instead. */
11322
- const createTypeQueryNode: typeof factory.createTypeQueryNode;
11323
- /** @deprecated Use `factory.updateTypeQueryNode` or the factory supplied by your transformation context instead. */
11324
- const updateTypeQueryNode: typeof factory.updateTypeQueryNode;
11325
- /** @deprecated Use `factory.createTypeLiteralNode` or the factory supplied by your transformation context instead. */
11326
- const createTypeLiteralNode: typeof factory.createTypeLiteralNode;
11327
- /** @deprecated Use `factory.updateTypeLiteralNode` or the factory supplied by your transformation context instead. */
11328
- const updateTypeLiteralNode: typeof factory.updateTypeLiteralNode;
11329
- /** @deprecated Use `factory.createArrayTypeNode` or the factory supplied by your transformation context instead. */
11330
- const createArrayTypeNode: typeof factory.createArrayTypeNode;
11331
- /** @deprecated Use `factory.updateArrayTypeNode` or the factory supplied by your transformation context instead. */
11332
- const updateArrayTypeNode: typeof factory.updateArrayTypeNode;
11333
- /** @deprecated Use `factory.createTupleTypeNode` or the factory supplied by your transformation context instead. */
11334
- const createTupleTypeNode: typeof factory.createTupleTypeNode;
11335
- /** @deprecated Use `factory.updateTupleTypeNode` or the factory supplied by your transformation context instead. */
11336
- const updateTupleTypeNode: typeof factory.updateTupleTypeNode;
11337
- /** @deprecated Use `factory.createOptionalTypeNode` or the factory supplied by your transformation context instead. */
11338
- const createOptionalTypeNode: typeof factory.createOptionalTypeNode;
11339
- /** @deprecated Use `factory.updateOptionalTypeNode` or the factory supplied by your transformation context instead. */
11340
- const updateOptionalTypeNode: typeof factory.updateOptionalTypeNode;
11341
- /** @deprecated Use `factory.createRestTypeNode` or the factory supplied by your transformation context instead. */
11342
- const createRestTypeNode: typeof factory.createRestTypeNode;
11343
- /** @deprecated Use `factory.updateRestTypeNode` or the factory supplied by your transformation context instead. */
11344
- const updateRestTypeNode: typeof factory.updateRestTypeNode;
11345
- /** @deprecated Use `factory.createUnionTypeNode` or the factory supplied by your transformation context instead. */
11346
- const createUnionTypeNode: typeof factory.createUnionTypeNode;
11347
- /** @deprecated Use `factory.updateUnionTypeNode` or the factory supplied by your transformation context instead. */
11348
- const updateUnionTypeNode: typeof factory.updateUnionTypeNode;
11349
- /** @deprecated Use `factory.createIntersectionTypeNode` or the factory supplied by your transformation context instead. */
11350
- const createIntersectionTypeNode: typeof factory.createIntersectionTypeNode;
11351
- /** @deprecated Use `factory.updateIntersectionTypeNode` or the factory supplied by your transformation context instead. */
11352
- const updateIntersectionTypeNode: typeof factory.updateIntersectionTypeNode;
11353
- /** @deprecated Use `factory.createConditionalTypeNode` or the factory supplied by your transformation context instead. */
11354
- const createConditionalTypeNode: typeof factory.createConditionalTypeNode;
11355
- /** @deprecated Use `factory.updateConditionalTypeNode` or the factory supplied by your transformation context instead. */
11356
- const updateConditionalTypeNode: typeof factory.updateConditionalTypeNode;
11357
- /** @deprecated Use `factory.createInferTypeNode` or the factory supplied by your transformation context instead. */
11358
- const createInferTypeNode: typeof factory.createInferTypeNode;
11359
- /** @deprecated Use `factory.updateInferTypeNode` or the factory supplied by your transformation context instead. */
11360
- const updateInferTypeNode: typeof factory.updateInferTypeNode;
11361
- /** @deprecated Use `factory.createImportTypeNode` or the factory supplied by your transformation context instead. */
11362
- const createImportTypeNode: typeof factory.createImportTypeNode;
11363
- /** @deprecated Use `factory.updateImportTypeNode` or the factory supplied by your transformation context instead. */
11364
- const updateImportTypeNode: typeof factory.updateImportTypeNode;
11365
- /** @deprecated Use `factory.createParenthesizedType` or the factory supplied by your transformation context instead. */
11366
- const createParenthesizedType: typeof factory.createParenthesizedType;
11367
- /** @deprecated Use `factory.updateParenthesizedType` or the factory supplied by your transformation context instead. */
11368
- const updateParenthesizedType: typeof factory.updateParenthesizedType;
11369
- /** @deprecated Use `factory.createThisTypeNode` or the factory supplied by your transformation context instead. */
11370
- const createThisTypeNode: typeof factory.createThisTypeNode;
11371
- /** @deprecated Use `factory.updateTypeOperatorNode` or the factory supplied by your transformation context instead. */
11372
- const updateTypeOperatorNode: typeof factory.updateTypeOperatorNode;
11373
- /** @deprecated Use `factory.createIndexedAccessTypeNode` or the factory supplied by your transformation context instead. */
11374
- const createIndexedAccessTypeNode: typeof factory.createIndexedAccessTypeNode;
11375
- /** @deprecated Use `factory.updateIndexedAccessTypeNode` or the factory supplied by your transformation context instead. */
11376
- const updateIndexedAccessTypeNode: typeof factory.updateIndexedAccessTypeNode;
11377
- /** @deprecated Use `factory.createMappedTypeNode` or the factory supplied by your transformation context instead. */
11378
- const createMappedTypeNode: typeof factory.createMappedTypeNode;
11379
- /** @deprecated Use `factory.updateMappedTypeNode` or the factory supplied by your transformation context instead. */
11380
- const updateMappedTypeNode: typeof factory.updateMappedTypeNode;
11381
- /** @deprecated Use `factory.createLiteralTypeNode` or the factory supplied by your transformation context instead. */
11382
- const createLiteralTypeNode: typeof factory.createLiteralTypeNode;
11383
- /** @deprecated Use `factory.updateLiteralTypeNode` or the factory supplied by your transformation context instead. */
11384
- const updateLiteralTypeNode: typeof factory.updateLiteralTypeNode;
11385
- /** @deprecated Use `factory.createObjectBindingPattern` or the factory supplied by your transformation context instead. */
11386
- const createObjectBindingPattern: typeof factory.createObjectBindingPattern;
11387
- /** @deprecated Use `factory.updateObjectBindingPattern` or the factory supplied by your transformation context instead. */
11388
- const updateObjectBindingPattern: typeof factory.updateObjectBindingPattern;
11389
- /** @deprecated Use `factory.createArrayBindingPattern` or the factory supplied by your transformation context instead. */
11390
- const createArrayBindingPattern: typeof factory.createArrayBindingPattern;
11391
- /** @deprecated Use `factory.updateArrayBindingPattern` or the factory supplied by your transformation context instead. */
11392
- const updateArrayBindingPattern: typeof factory.updateArrayBindingPattern;
11393
- /** @deprecated Use `factory.createBindingElement` or the factory supplied by your transformation context instead. */
11394
- const createBindingElement: typeof factory.createBindingElement;
11395
- /** @deprecated Use `factory.updateBindingElement` or the factory supplied by your transformation context instead. */
11396
- const updateBindingElement: typeof factory.updateBindingElement;
11397
- /** @deprecated Use `factory.createArrayLiteralExpression` or the factory supplied by your transformation context instead. */
11398
- const createArrayLiteral: typeof factory.createArrayLiteralExpression;
11399
- /** @deprecated Use `factory.updateArrayLiteralExpression` or the factory supplied by your transformation context instead. */
11400
- const updateArrayLiteral: typeof factory.updateArrayLiteralExpression;
11401
- /** @deprecated Use `factory.createObjectLiteralExpression` or the factory supplied by your transformation context instead. */
11402
- const createObjectLiteral: typeof factory.createObjectLiteralExpression;
11403
- /** @deprecated Use `factory.updateObjectLiteralExpression` or the factory supplied by your transformation context instead. */
11404
- const updateObjectLiteral: typeof factory.updateObjectLiteralExpression;
11405
- /** @deprecated Use `factory.createPropertyAccessExpression` or the factory supplied by your transformation context instead. */
11406
- const createPropertyAccess: typeof factory.createPropertyAccessExpression;
11407
- /** @deprecated Use `factory.updatePropertyAccessExpression` or the factory supplied by your transformation context instead. */
11408
- const updatePropertyAccess: typeof factory.updatePropertyAccessExpression;
11409
- /** @deprecated Use `factory.createPropertyAccessChain` or the factory supplied by your transformation context instead. */
11410
- const createPropertyAccessChain: typeof factory.createPropertyAccessChain;
11411
- /** @deprecated Use `factory.updatePropertyAccessChain` or the factory supplied by your transformation context instead. */
11412
- const updatePropertyAccessChain: typeof factory.updatePropertyAccessChain;
11413
- /** @deprecated Use `factory.createElementAccessExpression` or the factory supplied by your transformation context instead. */
11414
- const createElementAccess: typeof factory.createElementAccessExpression;
11415
- /** @deprecated Use `factory.updateElementAccessExpression` or the factory supplied by your transformation context instead. */
11416
- const updateElementAccess: typeof factory.updateElementAccessExpression;
11417
- /** @deprecated Use `factory.createElementAccessChain` or the factory supplied by your transformation context instead. */
11418
- const createElementAccessChain: typeof factory.createElementAccessChain;
11419
- /** @deprecated Use `factory.updateElementAccessChain` or the factory supplied by your transformation context instead. */
11420
- const updateElementAccessChain: typeof factory.updateElementAccessChain;
11421
- /** @deprecated Use `factory.createCallExpression` or the factory supplied by your transformation context instead. */
11422
- const createCall: typeof factory.createCallExpression;
11423
- /** @deprecated Use `factory.updateCallExpression` or the factory supplied by your transformation context instead. */
11424
- const updateCall: typeof factory.updateCallExpression;
11425
- /** @deprecated Use `factory.createCallChain` or the factory supplied by your transformation context instead. */
11426
- const createCallChain: typeof factory.createCallChain;
11427
- /** @deprecated Use `factory.updateCallChain` or the factory supplied by your transformation context instead. */
11428
- const updateCallChain: typeof factory.updateCallChain;
11429
- /** @deprecated Use `factory.createNewExpression` or the factory supplied by your transformation context instead. */
11430
- const createNew: typeof factory.createNewExpression;
11431
- /** @deprecated Use `factory.updateNewExpression` or the factory supplied by your transformation context instead. */
11432
- const updateNew: typeof factory.updateNewExpression;
11433
- /** @deprecated Use `factory.createTypeAssertion` or the factory supplied by your transformation context instead. */
11434
- const createTypeAssertion: typeof factory.createTypeAssertion;
11435
- /** @deprecated Use `factory.updateTypeAssertion` or the factory supplied by your transformation context instead. */
11436
- const updateTypeAssertion: typeof factory.updateTypeAssertion;
11437
- /** @deprecated Use `factory.createParenthesizedExpression` or the factory supplied by your transformation context instead. */
11438
- const createParen: typeof factory.createParenthesizedExpression;
11439
- /** @deprecated Use `factory.updateParenthesizedExpression` or the factory supplied by your transformation context instead. */
11440
- const updateParen: typeof factory.updateParenthesizedExpression;
11441
- /** @deprecated Use `factory.createFunctionExpression` or the factory supplied by your transformation context instead. */
11442
- const createFunctionExpression: typeof factory.createFunctionExpression;
11443
- /** @deprecated Use `factory.updateFunctionExpression` or the factory supplied by your transformation context instead. */
11444
- const updateFunctionExpression: typeof factory.updateFunctionExpression;
11445
- /** @deprecated Use `factory.createDeleteExpression` or the factory supplied by your transformation context instead. */
11446
- const createDelete: typeof factory.createDeleteExpression;
11447
- /** @deprecated Use `factory.updateDeleteExpression` or the factory supplied by your transformation context instead. */
11448
- const updateDelete: typeof factory.updateDeleteExpression;
11449
- /** @deprecated Use `factory.createTypeOfExpression` or the factory supplied by your transformation context instead. */
11450
- const createTypeOf: typeof factory.createTypeOfExpression;
11451
- /** @deprecated Use `factory.updateTypeOfExpression` or the factory supplied by your transformation context instead. */
11452
- const updateTypeOf: typeof factory.updateTypeOfExpression;
11453
- /** @deprecated Use `factory.createVoidExpression` or the factory supplied by your transformation context instead. */
11454
- const createVoid: typeof factory.createVoidExpression;
11455
- /** @deprecated Use `factory.updateVoidExpression` or the factory supplied by your transformation context instead. */
11456
- const updateVoid: typeof factory.updateVoidExpression;
11457
- /** @deprecated Use `factory.createAwaitExpression` or the factory supplied by your transformation context instead. */
11458
- const createAwait: typeof factory.createAwaitExpression;
11459
- /** @deprecated Use `factory.updateAwaitExpression` or the factory supplied by your transformation context instead. */
11460
- const updateAwait: typeof factory.updateAwaitExpression;
11461
- /** @deprecated Use `factory.createPrefixExpression` or the factory supplied by your transformation context instead. */
11462
- const createPrefix: typeof factory.createPrefixUnaryExpression;
11463
- /** @deprecated Use `factory.updatePrefixExpression` or the factory supplied by your transformation context instead. */
11464
- const updatePrefix: typeof factory.updatePrefixUnaryExpression;
11465
- /** @deprecated Use `factory.createPostfixUnaryExpression` or the factory supplied by your transformation context instead. */
11466
- const createPostfix: typeof factory.createPostfixUnaryExpression;
11467
- /** @deprecated Use `factory.updatePostfixUnaryExpression` or the factory supplied by your transformation context instead. */
11468
- const updatePostfix: typeof factory.updatePostfixUnaryExpression;
11469
- /** @deprecated Use `factory.createBinaryExpression` or the factory supplied by your transformation context instead. */
11470
- const createBinary: typeof factory.createBinaryExpression;
11471
- /** @deprecated Use `factory.updateConditionalExpression` or the factory supplied by your transformation context instead. */
11472
- const updateConditional: typeof factory.updateConditionalExpression;
11473
- /** @deprecated Use `factory.createTemplateExpression` or the factory supplied by your transformation context instead. */
11474
- const createTemplateExpression: typeof factory.createTemplateExpression;
11475
- /** @deprecated Use `factory.updateTemplateExpression` or the factory supplied by your transformation context instead. */
11476
- const updateTemplateExpression: typeof factory.updateTemplateExpression;
11477
- /** @deprecated Use `factory.createTemplateHead` or the factory supplied by your transformation context instead. */
11478
- const createTemplateHead: typeof factory.createTemplateHead;
11479
- /** @deprecated Use `factory.createTemplateMiddle` or the factory supplied by your transformation context instead. */
11480
- const createTemplateMiddle: typeof factory.createTemplateMiddle;
11481
- /** @deprecated Use `factory.createTemplateTail` or the factory supplied by your transformation context instead. */
11482
- const createTemplateTail: typeof factory.createTemplateTail;
11483
- /** @deprecated Use `factory.createNoSubstitutionTemplateLiteral` or the factory supplied by your transformation context instead. */
11484
- const createNoSubstitutionTemplateLiteral: typeof factory.createNoSubstitutionTemplateLiteral;
11485
- /** @deprecated Use `factory.updateYieldExpression` or the factory supplied by your transformation context instead. */
11486
- const updateYield: typeof factory.updateYieldExpression;
11487
- /** @deprecated Use `factory.createSpreadExpression` or the factory supplied by your transformation context instead. */
11488
- const createSpread: typeof factory.createSpreadElement;
11489
- /** @deprecated Use `factory.updateSpreadExpression` or the factory supplied by your transformation context instead. */
11490
- const updateSpread: typeof factory.updateSpreadElement;
11491
- /** @deprecated Use `factory.createOmittedExpression` or the factory supplied by your transformation context instead. */
11492
- const createOmittedExpression: typeof factory.createOmittedExpression;
11493
- /** @deprecated Use `factory.createAsExpression` or the factory supplied by your transformation context instead. */
11494
- const createAsExpression: typeof factory.createAsExpression;
11495
- /** @deprecated Use `factory.updateAsExpression` or the factory supplied by your transformation context instead. */
11496
- const updateAsExpression: typeof factory.updateAsExpression;
11497
- /** @deprecated Use `factory.createNonNullExpression` or the factory supplied by your transformation context instead. */
11498
- const createNonNullExpression: typeof factory.createNonNullExpression;
11499
- /** @deprecated Use `factory.updateNonNullExpression` or the factory supplied by your transformation context instead. */
11500
- const updateNonNullExpression: typeof factory.updateNonNullExpression;
11501
- /** @deprecated Use `factory.createNonNullChain` or the factory supplied by your transformation context instead. */
11502
- const createNonNullChain: typeof factory.createNonNullChain;
11503
- /** @deprecated Use `factory.updateNonNullChain` or the factory supplied by your transformation context instead. */
11504
- const updateNonNullChain: typeof factory.updateNonNullChain;
11505
- /** @deprecated Use `factory.createMetaProperty` or the factory supplied by your transformation context instead. */
11506
- const createMetaProperty: typeof factory.createMetaProperty;
11507
- /** @deprecated Use `factory.updateMetaProperty` or the factory supplied by your transformation context instead. */
11508
- const updateMetaProperty: typeof factory.updateMetaProperty;
11509
- /** @deprecated Use `factory.createTemplateSpan` or the factory supplied by your transformation context instead. */
11510
- const createTemplateSpan: typeof factory.createTemplateSpan;
11511
- /** @deprecated Use `factory.updateTemplateSpan` or the factory supplied by your transformation context instead. */
11512
- const updateTemplateSpan: typeof factory.updateTemplateSpan;
11513
- /** @deprecated Use `factory.createSemicolonClassElement` or the factory supplied by your transformation context instead. */
11514
- const createSemicolonClassElement: typeof factory.createSemicolonClassElement;
11515
- /** @deprecated Use `factory.createBlock` or the factory supplied by your transformation context instead. */
11516
- const createBlock: typeof factory.createBlock;
11517
- /** @deprecated Use `factory.updateBlock` or the factory supplied by your transformation context instead. */
11518
- const updateBlock: typeof factory.updateBlock;
11519
- /** @deprecated Use `factory.createVariableStatement` or the factory supplied by your transformation context instead. */
11520
- const createVariableStatement: typeof factory.createVariableStatement;
11521
- /** @deprecated Use `factory.updateVariableStatement` or the factory supplied by your transformation context instead. */
11522
- const updateVariableStatement: typeof factory.updateVariableStatement;
11523
- /** @deprecated Use `factory.createEmptyStatement` or the factory supplied by your transformation context instead. */
11524
- const createEmptyStatement: typeof factory.createEmptyStatement;
11525
- /** @deprecated Use `factory.createExpressionStatement` or the factory supplied by your transformation context instead. */
11526
- const createExpressionStatement: typeof factory.createExpressionStatement;
11527
- /** @deprecated Use `factory.updateExpressionStatement` or the factory supplied by your transformation context instead. */
11528
- const updateExpressionStatement: typeof factory.updateExpressionStatement;
11529
- /** @deprecated Use `factory.createExpressionStatement` or the factory supplied by your transformation context instead. */
11530
- const createStatement: typeof factory.createExpressionStatement;
11531
- /** @deprecated Use `factory.updateExpressionStatement` or the factory supplied by your transformation context instead. */
11532
- const updateStatement: typeof factory.updateExpressionStatement;
11533
- /** @deprecated Use `factory.createIfStatement` or the factory supplied by your transformation context instead. */
11534
- const createIf: typeof factory.createIfStatement;
11535
- /** @deprecated Use `factory.updateIfStatement` or the factory supplied by your transformation context instead. */
11536
- const updateIf: typeof factory.updateIfStatement;
11537
- /** @deprecated Use `factory.createDoStatement` or the factory supplied by your transformation context instead. */
11538
- const createDo: typeof factory.createDoStatement;
11539
- /** @deprecated Use `factory.updateDoStatement` or the factory supplied by your transformation context instead. */
11540
- const updateDo: typeof factory.updateDoStatement;
11541
- /** @deprecated Use `factory.createWhileStatement` or the factory supplied by your transformation context instead. */
11542
- const createWhile: typeof factory.createWhileStatement;
11543
- /** @deprecated Use `factory.updateWhileStatement` or the factory supplied by your transformation context instead. */
11544
- const updateWhile: typeof factory.updateWhileStatement;
11545
- /** @deprecated Use `factory.createForStatement` or the factory supplied by your transformation context instead. */
11546
- const createFor: typeof factory.createForStatement;
11547
- /** @deprecated Use `factory.updateForStatement` or the factory supplied by your transformation context instead. */
11548
- const updateFor: typeof factory.updateForStatement;
11549
- /** @deprecated Use `factory.createForInStatement` or the factory supplied by your transformation context instead. */
11550
- const createForIn: typeof factory.createForInStatement;
11551
- /** @deprecated Use `factory.updateForInStatement` or the factory supplied by your transformation context instead. */
11552
- const updateForIn: typeof factory.updateForInStatement;
11553
- /** @deprecated Use `factory.createForOfStatement` or the factory supplied by your transformation context instead. */
11554
- const createForOf: typeof factory.createForOfStatement;
11555
- /** @deprecated Use `factory.updateForOfStatement` or the factory supplied by your transformation context instead. */
11556
- const updateForOf: typeof factory.updateForOfStatement;
11557
- /** @deprecated Use `factory.createContinueStatement` or the factory supplied by your transformation context instead. */
11558
- const createContinue: typeof factory.createContinueStatement;
11559
- /** @deprecated Use `factory.updateContinueStatement` or the factory supplied by your transformation context instead. */
11560
- const updateContinue: typeof factory.updateContinueStatement;
11561
- /** @deprecated Use `factory.createBreakStatement` or the factory supplied by your transformation context instead. */
11562
- const createBreak: typeof factory.createBreakStatement;
11563
- /** @deprecated Use `factory.updateBreakStatement` or the factory supplied by your transformation context instead. */
11564
- const updateBreak: typeof factory.updateBreakStatement;
11565
- /** @deprecated Use `factory.createReturnStatement` or the factory supplied by your transformation context instead. */
11566
- const createReturn: typeof factory.createReturnStatement;
11567
- /** @deprecated Use `factory.updateReturnStatement` or the factory supplied by your transformation context instead. */
11568
- const updateReturn: typeof factory.updateReturnStatement;
11569
- /** @deprecated Use `factory.createWithStatement` or the factory supplied by your transformation context instead. */
11570
- const createWith: typeof factory.createWithStatement;
11571
- /** @deprecated Use `factory.updateWithStatement` or the factory supplied by your transformation context instead. */
11572
- const updateWith: typeof factory.updateWithStatement;
11573
- /** @deprecated Use `factory.createSwitchStatement` or the factory supplied by your transformation context instead. */
11574
- const createSwitch: typeof factory.createSwitchStatement;
11575
- /** @deprecated Use `factory.updateSwitchStatement` or the factory supplied by your transformation context instead. */
11576
- const updateSwitch: typeof factory.updateSwitchStatement;
11577
- /** @deprecated Use `factory.createLabelStatement` or the factory supplied by your transformation context instead. */
11578
- const createLabel: typeof factory.createLabeledStatement;
11579
- /** @deprecated Use `factory.updateLabelStatement` or the factory supplied by your transformation context instead. */
11580
- const updateLabel: typeof factory.updateLabeledStatement;
11581
- /** @deprecated Use `factory.createThrowStatement` or the factory supplied by your transformation context instead. */
11582
- const createThrow: typeof factory.createThrowStatement;
11583
- /** @deprecated Use `factory.updateThrowStatement` or the factory supplied by your transformation context instead. */
11584
- const updateThrow: typeof factory.updateThrowStatement;
11585
- /** @deprecated Use `factory.createTryStatement` or the factory supplied by your transformation context instead. */
11586
- const createTry: typeof factory.createTryStatement;
11587
- /** @deprecated Use `factory.updateTryStatement` or the factory supplied by your transformation context instead. */
11588
- const updateTry: typeof factory.updateTryStatement;
11589
- /** @deprecated Use `factory.createDebuggerStatement` or the factory supplied by your transformation context instead. */
11590
- const createDebuggerStatement: typeof factory.createDebuggerStatement;
11591
- /** @deprecated Use `factory.createVariableDeclarationList` or the factory supplied by your transformation context instead. */
11592
- const createVariableDeclarationList: typeof factory.createVariableDeclarationList;
11593
- /** @deprecated Use `factory.updateVariableDeclarationList` or the factory supplied by your transformation context instead. */
11594
- const updateVariableDeclarationList: typeof factory.updateVariableDeclarationList;
11595
- /** @deprecated Use `factory.createFunctionDeclaration` or the factory supplied by your transformation context instead. */
11596
- const createFunctionDeclaration: typeof factory.createFunctionDeclaration;
11597
- /** @deprecated Use `factory.updateFunctionDeclaration` or the factory supplied by your transformation context instead. */
11598
- const updateFunctionDeclaration: typeof factory.updateFunctionDeclaration;
11599
- /** @deprecated Use `factory.createClassDeclaration` or the factory supplied by your transformation context instead. */
11600
- const createClassDeclaration: typeof factory.createClassDeclaration;
11601
- /** @deprecated Use `factory.updateClassDeclaration` or the factory supplied by your transformation context instead. */
11602
- const updateClassDeclaration: typeof factory.updateClassDeclaration;
11603
- /** @deprecated Use `factory.createInterfaceDeclaration` or the factory supplied by your transformation context instead. */
11604
- const createInterfaceDeclaration: typeof factory.createInterfaceDeclaration;
11605
- /** @deprecated Use `factory.updateInterfaceDeclaration` or the factory supplied by your transformation context instead. */
11606
- const updateInterfaceDeclaration: typeof factory.updateInterfaceDeclaration;
11607
- /** @deprecated Use `factory.createTypeAliasDeclaration` or the factory supplied by your transformation context instead. */
11608
- const createTypeAliasDeclaration: typeof factory.createTypeAliasDeclaration;
11609
- /** @deprecated Use `factory.updateTypeAliasDeclaration` or the factory supplied by your transformation context instead. */
11610
- const updateTypeAliasDeclaration: typeof factory.updateTypeAliasDeclaration;
11611
- /** @deprecated Use `factory.createEnumDeclaration` or the factory supplied by your transformation context instead. */
11612
- const createEnumDeclaration: typeof factory.createEnumDeclaration;
11613
- /** @deprecated Use `factory.updateEnumDeclaration` or the factory supplied by your transformation context instead. */
11614
- const updateEnumDeclaration: typeof factory.updateEnumDeclaration;
11615
- /** @deprecated Use `factory.createModuleDeclaration` or the factory supplied by your transformation context instead. */
11616
- const createModuleDeclaration: typeof factory.createModuleDeclaration;
11617
- /** @deprecated Use `factory.updateModuleDeclaration` or the factory supplied by your transformation context instead. */
11618
- const updateModuleDeclaration: typeof factory.updateModuleDeclaration;
11619
- /** @deprecated Use `factory.createModuleBlock` or the factory supplied by your transformation context instead. */
11620
- const createModuleBlock: typeof factory.createModuleBlock;
11621
- /** @deprecated Use `factory.updateModuleBlock` or the factory supplied by your transformation context instead. */
11622
- const updateModuleBlock: typeof factory.updateModuleBlock;
11623
- /** @deprecated Use `factory.createCaseBlock` or the factory supplied by your transformation context instead. */
11624
- const createCaseBlock: typeof factory.createCaseBlock;
11625
- /** @deprecated Use `factory.updateCaseBlock` or the factory supplied by your transformation context instead. */
11626
- const updateCaseBlock: typeof factory.updateCaseBlock;
11627
- /** @deprecated Use `factory.createNamespaceExportDeclaration` or the factory supplied by your transformation context instead. */
11628
- const createNamespaceExportDeclaration: typeof factory.createNamespaceExportDeclaration;
11629
- /** @deprecated Use `factory.updateNamespaceExportDeclaration` or the factory supplied by your transformation context instead. */
11630
- const updateNamespaceExportDeclaration: typeof factory.updateNamespaceExportDeclaration;
11631
- /** @deprecated Use `factory.createImportEqualsDeclaration` or the factory supplied by your transformation context instead. */
11632
- const createImportEqualsDeclaration: typeof factory.createImportEqualsDeclaration;
11633
- /** @deprecated Use `factory.updateImportEqualsDeclaration` or the factory supplied by your transformation context instead. */
11634
- const updateImportEqualsDeclaration: typeof factory.updateImportEqualsDeclaration;
11635
- /** @deprecated Use `factory.createImportDeclaration` or the factory supplied by your transformation context instead. */
11636
- const createImportDeclaration: typeof factory.createImportDeclaration;
11637
- /** @deprecated Use `factory.updateImportDeclaration` or the factory supplied by your transformation context instead. */
11638
- const updateImportDeclaration: typeof factory.updateImportDeclaration;
11639
- /** @deprecated Use `factory.createNamespaceImport` or the factory supplied by your transformation context instead. */
11640
- const createNamespaceImport: typeof factory.createNamespaceImport;
11641
- /** @deprecated Use `factory.updateNamespaceImport` or the factory supplied by your transformation context instead. */
11642
- const updateNamespaceImport: typeof factory.updateNamespaceImport;
11643
- /** @deprecated Use `factory.createNamedImports` or the factory supplied by your transformation context instead. */
11644
- const createNamedImports: typeof factory.createNamedImports;
11645
- /** @deprecated Use `factory.updateNamedImports` or the factory supplied by your transformation context instead. */
11646
- const updateNamedImports: typeof factory.updateNamedImports;
11647
- /** @deprecated Use `factory.createImportSpecifier` or the factory supplied by your transformation context instead. */
11648
- const createImportSpecifier: typeof factory.createImportSpecifier;
11649
- /** @deprecated Use `factory.updateImportSpecifier` or the factory supplied by your transformation context instead. */
11650
- const updateImportSpecifier: typeof factory.updateImportSpecifier;
11651
- /** @deprecated Use `factory.createExportAssignment` or the factory supplied by your transformation context instead. */
11652
- const createExportAssignment: typeof factory.createExportAssignment;
11653
- /** @deprecated Use `factory.updateExportAssignment` or the factory supplied by your transformation context instead. */
11654
- const updateExportAssignment: typeof factory.updateExportAssignment;
11655
- /** @deprecated Use `factory.createNamedExports` or the factory supplied by your transformation context instead. */
11656
- const createNamedExports: typeof factory.createNamedExports;
11657
- /** @deprecated Use `factory.updateNamedExports` or the factory supplied by your transformation context instead. */
11658
- const updateNamedExports: typeof factory.updateNamedExports;
11659
- /** @deprecated Use `factory.createExportSpecifier` or the factory supplied by your transformation context instead. */
11660
- const createExportSpecifier: typeof factory.createExportSpecifier;
11661
- /** @deprecated Use `factory.updateExportSpecifier` or the factory supplied by your transformation context instead. */
11662
- const updateExportSpecifier: typeof factory.updateExportSpecifier;
11663
- /** @deprecated Use `factory.createExternalModuleReference` or the factory supplied by your transformation context instead. */
11664
- const createExternalModuleReference: typeof factory.createExternalModuleReference;
11665
- /** @deprecated Use `factory.updateExternalModuleReference` or the factory supplied by your transformation context instead. */
11666
- const updateExternalModuleReference: typeof factory.updateExternalModuleReference;
11667
- /** @deprecated Use `factory.createJSDocTypeExpression` or the factory supplied by your transformation context instead. */
11668
- const createJSDocTypeExpression: typeof factory.createJSDocTypeExpression;
11669
- /** @deprecated Use `factory.createJSDocTypeTag` or the factory supplied by your transformation context instead. */
11670
- const createJSDocTypeTag: typeof factory.createJSDocTypeTag;
11671
- /** @deprecated Use `factory.createJSDocReturnTag` or the factory supplied by your transformation context instead. */
11672
- const createJSDocReturnTag: typeof factory.createJSDocReturnTag;
11673
- /** @deprecated Use `factory.createJSDocThisTag` or the factory supplied by your transformation context instead. */
11674
- const createJSDocThisTag: typeof factory.createJSDocThisTag;
11675
- /** @deprecated Use `factory.createJSDocComment` or the factory supplied by your transformation context instead. */
11676
- const createJSDocComment: typeof factory.createJSDocComment;
11677
- /** @deprecated Use `factory.createJSDocParameterTag` or the factory supplied by your transformation context instead. */
11678
- const createJSDocParameterTag: typeof factory.createJSDocParameterTag;
11679
- /** @deprecated Use `factory.createJSDocClassTag` or the factory supplied by your transformation context instead. */
11680
- const createJSDocClassTag: typeof factory.createJSDocClassTag;
11681
- /** @deprecated Use `factory.createJSDocAugmentsTag` or the factory supplied by your transformation context instead. */
11682
- const createJSDocAugmentsTag: typeof factory.createJSDocAugmentsTag;
11683
- /** @deprecated Use `factory.createJSDocEnumTag` or the factory supplied by your transformation context instead. */
11684
- const createJSDocEnumTag: typeof factory.createJSDocEnumTag;
11685
- /** @deprecated Use `factory.createJSDocTemplateTag` or the factory supplied by your transformation context instead. */
11686
- const createJSDocTemplateTag: typeof factory.createJSDocTemplateTag;
11687
- /** @deprecated Use `factory.createJSDocTypedefTag` or the factory supplied by your transformation context instead. */
11688
- const createJSDocTypedefTag: typeof factory.createJSDocTypedefTag;
11689
- /** @deprecated Use `factory.createJSDocCallbackTag` or the factory supplied by your transformation context instead. */
11690
- const createJSDocCallbackTag: typeof factory.createJSDocCallbackTag;
11691
- /** @deprecated Use `factory.createJSDocSignature` or the factory supplied by your transformation context instead. */
11692
- const createJSDocSignature: typeof factory.createJSDocSignature;
11693
- /** @deprecated Use `factory.createJSDocPropertyTag` or the factory supplied by your transformation context instead. */
11694
- const createJSDocPropertyTag: typeof factory.createJSDocPropertyTag;
11695
- /** @deprecated Use `factory.createJSDocTypeLiteral` or the factory supplied by your transformation context instead. */
11696
- const createJSDocTypeLiteral: typeof factory.createJSDocTypeLiteral;
11697
- /** @deprecated Use `factory.createJSDocImplementsTag` or the factory supplied by your transformation context instead. */
11698
- const createJSDocImplementsTag: typeof factory.createJSDocImplementsTag;
11699
- /** @deprecated Use `factory.createJSDocAuthorTag` or the factory supplied by your transformation context instead. */
11700
- const createJSDocAuthorTag: typeof factory.createJSDocAuthorTag;
11701
- /** @deprecated Use `factory.createJSDocPublicTag` or the factory supplied by your transformation context instead. */
11702
- const createJSDocPublicTag: typeof factory.createJSDocPublicTag;
11703
- /** @deprecated Use `factory.createJSDocPrivateTag` or the factory supplied by your transformation context instead. */
11704
- const createJSDocPrivateTag: typeof factory.createJSDocPrivateTag;
11705
- /** @deprecated Use `factory.createJSDocProtectedTag` or the factory supplied by your transformation context instead. */
11706
- const createJSDocProtectedTag: typeof factory.createJSDocProtectedTag;
11707
- /** @deprecated Use `factory.createJSDocReadonlyTag` or the factory supplied by your transformation context instead. */
11708
- const createJSDocReadonlyTag: typeof factory.createJSDocReadonlyTag;
11709
- /** @deprecated Use `factory.createJSDocUnknownTag` or the factory supplied by your transformation context instead. */
11710
- const createJSDocTag: typeof factory.createJSDocUnknownTag;
11711
- /** @deprecated Use `factory.createJsxElement` or the factory supplied by your transformation context instead. */
11712
- const createJsxElement: typeof factory.createJsxElement;
11713
- /** @deprecated Use `factory.updateJsxElement` or the factory supplied by your transformation context instead. */
11714
- const updateJsxElement: typeof factory.updateJsxElement;
11715
- /** @deprecated Use `factory.createJsxSelfClosingElement` or the factory supplied by your transformation context instead. */
11716
- const createJsxSelfClosingElement: typeof factory.createJsxSelfClosingElement;
11717
- /** @deprecated Use `factory.updateJsxSelfClosingElement` or the factory supplied by your transformation context instead. */
11718
- const updateJsxSelfClosingElement: typeof factory.updateJsxSelfClosingElement;
11719
- /** @deprecated Use `factory.createJsxOpeningElement` or the factory supplied by your transformation context instead. */
11720
- const createJsxOpeningElement: typeof factory.createJsxOpeningElement;
11721
- /** @deprecated Use `factory.updateJsxOpeningElement` or the factory supplied by your transformation context instead. */
11722
- const updateJsxOpeningElement: typeof factory.updateJsxOpeningElement;
11723
- /** @deprecated Use `factory.createJsxClosingElement` or the factory supplied by your transformation context instead. */
11724
- const createJsxClosingElement: typeof factory.createJsxClosingElement;
11725
- /** @deprecated Use `factory.updateJsxClosingElement` or the factory supplied by your transformation context instead. */
11726
- const updateJsxClosingElement: typeof factory.updateJsxClosingElement;
11727
- /** @deprecated Use `factory.createJsxFragment` or the factory supplied by your transformation context instead. */
11728
- const createJsxFragment: typeof factory.createJsxFragment;
11729
- /** @deprecated Use `factory.createJsxText` or the factory supplied by your transformation context instead. */
11730
- const createJsxText: typeof factory.createJsxText;
11731
- /** @deprecated Use `factory.updateJsxText` or the factory supplied by your transformation context instead. */
11732
- const updateJsxText: typeof factory.updateJsxText;
11733
- /** @deprecated Use `factory.createJsxOpeningFragment` or the factory supplied by your transformation context instead. */
11734
- const createJsxOpeningFragment: typeof factory.createJsxOpeningFragment;
11735
- /** @deprecated Use `factory.createJsxJsxClosingFragment` or the factory supplied by your transformation context instead. */
11736
- const createJsxJsxClosingFragment: typeof factory.createJsxJsxClosingFragment;
11737
- /** @deprecated Use `factory.updateJsxFragment` or the factory supplied by your transformation context instead. */
11738
- const updateJsxFragment: typeof factory.updateJsxFragment;
11739
- /** @deprecated Use `factory.createJsxAttribute` or the factory supplied by your transformation context instead. */
11740
- const createJsxAttribute: typeof factory.createJsxAttribute;
11741
- /** @deprecated Use `factory.updateJsxAttribute` or the factory supplied by your transformation context instead. */
11742
- const updateJsxAttribute: typeof factory.updateJsxAttribute;
11743
- /** @deprecated Use `factory.createJsxAttributes` or the factory supplied by your transformation context instead. */
11744
- const createJsxAttributes: typeof factory.createJsxAttributes;
11745
- /** @deprecated Use `factory.updateJsxAttributes` or the factory supplied by your transformation context instead. */
11746
- const updateJsxAttributes: typeof factory.updateJsxAttributes;
11747
- /** @deprecated Use `factory.createJsxSpreadAttribute` or the factory supplied by your transformation context instead. */
11748
- const createJsxSpreadAttribute: typeof factory.createJsxSpreadAttribute;
11749
- /** @deprecated Use `factory.updateJsxSpreadAttribute` or the factory supplied by your transformation context instead. */
11750
- const updateJsxSpreadAttribute: typeof factory.updateJsxSpreadAttribute;
11751
- /** @deprecated Use `factory.createJsxExpression` or the factory supplied by your transformation context instead. */
11752
- const createJsxExpression: typeof factory.createJsxExpression;
11753
- /** @deprecated Use `factory.updateJsxExpression` or the factory supplied by your transformation context instead. */
11754
- const updateJsxExpression: typeof factory.updateJsxExpression;
11755
- /** @deprecated Use `factory.createCaseClause` or the factory supplied by your transformation context instead. */
11756
- const createCaseClause: typeof factory.createCaseClause;
11757
- /** @deprecated Use `factory.updateCaseClause` or the factory supplied by your transformation context instead. */
11758
- const updateCaseClause: typeof factory.updateCaseClause;
11759
- /** @deprecated Use `factory.createDefaultClause` or the factory supplied by your transformation context instead. */
11760
- const createDefaultClause: typeof factory.createDefaultClause;
11761
- /** @deprecated Use `factory.updateDefaultClause` or the factory supplied by your transformation context instead. */
11762
- const updateDefaultClause: typeof factory.updateDefaultClause;
11763
- /** @deprecated Use `factory.createHeritageClause` or the factory supplied by your transformation context instead. */
11764
- const createHeritageClause: typeof factory.createHeritageClause;
11765
- /** @deprecated Use `factory.updateHeritageClause` or the factory supplied by your transformation context instead. */
11766
- const updateHeritageClause: typeof factory.updateHeritageClause;
11767
- /** @deprecated Use `factory.createCatchClause` or the factory supplied by your transformation context instead. */
11768
- const createCatchClause: typeof factory.createCatchClause;
11769
- /** @deprecated Use `factory.updateCatchClause` or the factory supplied by your transformation context instead. */
11770
- const updateCatchClause: typeof factory.updateCatchClause;
11771
- /** @deprecated Use `factory.createPropertyAssignment` or the factory supplied by your transformation context instead. */
11772
- const createPropertyAssignment: typeof factory.createPropertyAssignment;
11773
- /** @deprecated Use `factory.updatePropertyAssignment` or the factory supplied by your transformation context instead. */
11774
- const updatePropertyAssignment: typeof factory.updatePropertyAssignment;
11775
- /** @deprecated Use `factory.createShorthandPropertyAssignment` or the factory supplied by your transformation context instead. */
11776
- const createShorthandPropertyAssignment: typeof factory.createShorthandPropertyAssignment;
11777
- /** @deprecated Use `factory.updateShorthandPropertyAssignment` or the factory supplied by your transformation context instead. */
11778
- const updateShorthandPropertyAssignment: typeof factory.updateShorthandPropertyAssignment;
11779
- /** @deprecated Use `factory.createSpreadAssignment` or the factory supplied by your transformation context instead. */
11780
- const createSpreadAssignment: typeof factory.createSpreadAssignment;
11781
- /** @deprecated Use `factory.updateSpreadAssignment` or the factory supplied by your transformation context instead. */
11782
- const updateSpreadAssignment: typeof factory.updateSpreadAssignment;
11783
- /** @deprecated Use `factory.createEnumMember` or the factory supplied by your transformation context instead. */
11784
- const createEnumMember: typeof factory.createEnumMember;
11785
- /** @deprecated Use `factory.updateEnumMember` or the factory supplied by your transformation context instead. */
11786
- const updateEnumMember: typeof factory.updateEnumMember;
11787
- /** @deprecated Use `factory.updateSourceFile` or the factory supplied by your transformation context instead. */
11788
- const updateSourceFileNode: typeof factory.updateSourceFile;
11789
- /** @deprecated Use `factory.createNotEmittedStatement` or the factory supplied by your transformation context instead. */
11790
- const createNotEmittedStatement: typeof factory.createNotEmittedStatement;
11791
- /** @deprecated Use `factory.createPartiallyEmittedExpression` or the factory supplied by your transformation context instead. */
11792
- const createPartiallyEmittedExpression: typeof factory.createPartiallyEmittedExpression;
11793
- /** @deprecated Use `factory.updatePartiallyEmittedExpression` or the factory supplied by your transformation context instead. */
11794
- const updatePartiallyEmittedExpression: typeof factory.updatePartiallyEmittedExpression;
11795
- /** @deprecated Use `factory.createCommaListExpression` or the factory supplied by your transformation context instead. */
11796
- const createCommaList: typeof factory.createCommaListExpression;
11797
- /** @deprecated Use `factory.updateCommaListExpression` or the factory supplied by your transformation context instead. */
11798
- const updateCommaList: typeof factory.updateCommaListExpression;
11799
- /** @deprecated Use `factory.createBundle` or the factory supplied by your transformation context instead. */
11800
- const createBundle: typeof factory.createBundle;
11801
- /** @deprecated Use `factory.updateBundle` or the factory supplied by your transformation context instead. */
11802
- const updateBundle: typeof factory.updateBundle;
11803
- /** @deprecated Use `factory.createImmediatelyInvokedFunctionExpression` or the factory supplied by your transformation context instead. */
11804
- const createImmediatelyInvokedFunctionExpression: typeof factory.createImmediatelyInvokedFunctionExpression;
11805
- /** @deprecated Use `factory.createImmediatelyInvokedArrowFunction` or the factory supplied by your transformation context instead. */
11806
- const createImmediatelyInvokedArrowFunction: typeof factory.createImmediatelyInvokedArrowFunction;
11807
- /** @deprecated Use `factory.createVoidZero` or the factory supplied by your transformation context instead. */
11808
- const createVoidZero: typeof factory.createVoidZero;
11809
- /** @deprecated Use `factory.createExportDefault` or the factory supplied by your transformation context instead. */
11810
- const createExportDefault: typeof factory.createExportDefault;
11811
- /** @deprecated Use `factory.createExternalModuleExport` or the factory supplied by your transformation context instead. */
11812
- const createExternalModuleExport: typeof factory.createExternalModuleExport;
11813
- /** @deprecated Use `factory.createNamespaceExport` or the factory supplied by your transformation context instead. */
11814
- const createNamespaceExport: typeof factory.createNamespaceExport;
11815
- /** @deprecated Use `factory.updateNamespaceExport` or the factory supplied by your transformation context instead. */
11816
- const updateNamespaceExport: typeof factory.updateNamespaceExport;
11817
- /** @deprecated Use `factory.createToken` or the factory supplied by your transformation context instead. */
11818
- const createToken: <TKind extends SyntaxKind>(kind: TKind) => Token<TKind>;
11819
- /** @deprecated Use `factory.createIdentifier` or the factory supplied by your transformation context instead. */
11820
- const createIdentifier: (text: string) => Identifier;
11821
- /** @deprecated Use `factory.createTempVariable` or the factory supplied by your transformation context instead. */
11822
- const createTempVariable: (recordTempVariable: ((node: Identifier) => void) | undefined) => Identifier;
11823
- /** @deprecated Use `factory.getGeneratedNameForNode` or the factory supplied by your transformation context instead. */
11824
- const getGeneratedNameForNode: (node: Node | undefined) => Identifier;
11825
- /** @deprecated Use `factory.createUniqueName(text, GeneratedIdentifierFlags.Optimistic)` or the factory supplied by your transformation context instead. */
11826
- const createOptimisticUniqueName: (text: string) => Identifier;
11827
- /** @deprecated Use `factory.createUniqueName(text, GeneratedIdentifierFlags.Optimistic | GeneratedIdentifierFlags.FileLevel)` or the factory supplied by your transformation context instead. */
11828
- const createFileLevelUniqueName: (text: string) => Identifier;
11829
- /** @deprecated Use `factory.createIndexSignature` or the factory supplied by your transformation context instead. */
11830
- const createIndexSignature: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode) => IndexSignatureDeclaration;
11831
- /** @deprecated Use `factory.createTypePredicateNode` or the factory supplied by your transformation context instead. */
11832
- const createTypePredicateNode: (parameterName: Identifier | ThisTypeNode | string, type: TypeNode) => TypePredicateNode;
11833
- /** @deprecated Use `factory.updateTypePredicateNode` or the factory supplied by your transformation context instead. */
11834
- const updateTypePredicateNode: (node: TypePredicateNode, parameterName: Identifier | ThisTypeNode, type: TypeNode) => TypePredicateNode;
11835
- /** @deprecated Use `factory.createStringLiteral`, `factory.createStringLiteralFromNode`, `factory.createNumericLiteral`, `factory.createBigIntLiteral`, `factory.createTrue`, `factory.createFalse`, or the factory supplied by your transformation context instead. */
11836
- const createLiteral: {
11837
- (value: string | StringLiteral | NoSubstitutionTemplateLiteral | NumericLiteral | Identifier): StringLiteral;
11838
- (value: number | PseudoBigInt): NumericLiteral;
11839
- (value: boolean): BooleanLiteral;
11840
- (value: string | number | PseudoBigInt | boolean): PrimaryExpression;
11841
- };
11842
- /** @deprecated Use `factory.createMethodSignature` or the factory supplied by your transformation context instead. */
11843
- const createMethodSignature: (typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, name: string | PropertyName, questionToken: QuestionToken | undefined) => MethodSignature;
11844
- /** @deprecated Use `factory.updateMethodSignature` or the factory supplied by your transformation context instead. */
11845
- const updateMethodSignature: (node: MethodSignature, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode | undefined, name: PropertyName, questionToken: QuestionToken | undefined) => MethodSignature;
11846
- /** @deprecated Use `factory.createTypeOperatorNode` or the factory supplied by your transformation context instead. */
11847
- const createTypeOperatorNode: {
11848
- (type: TypeNode): TypeOperatorNode;
11849
- (operator: SyntaxKind.KeyOfKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.ReadonlyKeyword, type: TypeNode): TypeOperatorNode;
11850
- };
11851
- /** @deprecated Use `factory.createTaggedTemplate` or the factory supplied by your transformation context instead. */
11852
- const createTaggedTemplate: {
11853
- (tag: Expression, template: TemplateLiteral): TaggedTemplateExpression;
11854
- (tag: Expression, typeArguments: readonly TypeNode[] | undefined, template: TemplateLiteral): TaggedTemplateExpression;
11855
- };
11856
- /** @deprecated Use `factory.updateTaggedTemplate` or the factory supplied by your transformation context instead. */
11857
- const updateTaggedTemplate: {
11858
- (node: TaggedTemplateExpression, tag: Expression, template: TemplateLiteral): TaggedTemplateExpression;
11859
- (node: TaggedTemplateExpression, tag: Expression, typeArguments: readonly TypeNode[] | undefined, template: TemplateLiteral): TaggedTemplateExpression;
11860
- };
11861
- /** @deprecated Use `factory.updateBinary` or the factory supplied by your transformation context instead. */
11862
- const updateBinary: (node: BinaryExpression, left: Expression, right: Expression, operator?: BinaryOperator | BinaryOperatorToken) => BinaryExpression;
11863
- /** @deprecated Use `factory.createConditional` or the factory supplied by your transformation context instead. */
11864
- const createConditional: {
11865
- (condition: Expression, whenTrue: Expression, whenFalse: Expression): ConditionalExpression;
11866
- (condition: Expression, questionToken: QuestionToken, whenTrue: Expression, colonToken: ColonToken, whenFalse: Expression): ConditionalExpression;
11867
- };
11868
- /** @deprecated Use `factory.createYield` or the factory supplied by your transformation context instead. */
11869
- const createYield: {
11870
- (expression?: Expression | undefined): YieldExpression;
11871
- (asteriskToken: AsteriskToken | undefined, expression: Expression): YieldExpression;
11872
- };
11873
- /** @deprecated Use `factory.createClassExpression` or the factory supplied by your transformation context instead. */
11874
- const createClassExpression: (modifiers: readonly Modifier[] | undefined, name: string | Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]) => ClassExpression;
11875
- /** @deprecated Use `factory.updateClassExpression` or the factory supplied by your transformation context instead. */
11876
- const updateClassExpression: (node: ClassExpression, modifiers: readonly Modifier[] | undefined, name: Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]) => ClassExpression;
11877
- /** @deprecated Use `factory.createPropertySignature` or the factory supplied by your transformation context instead. */
11878
- const createPropertySignature: (modifiers: readonly Modifier[] | undefined, name: PropertyName | string, questionToken: QuestionToken | undefined, type: TypeNode | undefined, initializer?: Expression | undefined) => PropertySignature;
11879
- /** @deprecated Use `factory.updatePropertySignature` or the factory supplied by your transformation context instead. */
11880
- const updatePropertySignature: (node: PropertySignature, modifiers: readonly Modifier[] | undefined, name: PropertyName, questionToken: QuestionToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined) => PropertySignature;
11881
- /** @deprecated Use `factory.createExpressionWithTypeArguments` or the factory supplied by your transformation context instead. */
11882
- const createExpressionWithTypeArguments: (typeArguments: readonly TypeNode[] | undefined, expression: Expression) => ExpressionWithTypeArguments;
11883
- /** @deprecated Use `factory.updateExpressionWithTypeArguments` or the factory supplied by your transformation context instead. */
11884
- const updateExpressionWithTypeArguments: (node: ExpressionWithTypeArguments, typeArguments: readonly TypeNode[] | undefined, expression: Expression) => ExpressionWithTypeArguments;
11885
- /** @deprecated Use `factory.createArrowFunction` or the factory supplied by your transformation context instead. */
11886
- const createArrowFunction: {
11887
- (modifiers: readonly Modifier[] | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, equalsGreaterThanToken: EqualsGreaterThanToken | undefined, body: ConciseBody): ArrowFunction;
11888
- (modifiers: readonly Modifier[] | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: ConciseBody): ArrowFunction;
11889
- };
11890
- /** @deprecated Use `factory.updateArrowFunction` or the factory supplied by your transformation context instead. */
11891
- const updateArrowFunction: {
11892
- (node: ArrowFunction, modifiers: readonly Modifier[] | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, equalsGreaterThanToken: EqualsGreaterThanToken, body: ConciseBody): ArrowFunction;
11893
- (node: ArrowFunction, modifiers: readonly Modifier[] | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: ConciseBody): ArrowFunction;
11894
- };
11895
- /** @deprecated Use `factory.createVariableDeclaration` or the factory supplied by your transformation context instead. */
11896
- const createVariableDeclaration: {
11897
- (name: string | BindingName, type?: TypeNode | undefined, initializer?: Expression | undefined): VariableDeclaration;
11898
- (name: string | BindingName, exclamationToken: ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): VariableDeclaration;
11899
- };
11900
- /** @deprecated Use `factory.updateVariableDeclaration` or the factory supplied by your transformation context instead. */
11901
- const updateVariableDeclaration: {
11902
- (node: VariableDeclaration, name: BindingName, type: TypeNode | undefined, initializer: Expression | undefined): VariableDeclaration;
11903
- (node: VariableDeclaration, name: BindingName, exclamationToken: ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): VariableDeclaration;
11904
- };
11905
- /** @deprecated Use `factory.createImportClause` or the factory supplied by your transformation context instead. */
11906
- const createImportClause: (name: Identifier | undefined, namedBindings: NamedImportBindings | undefined, isTypeOnly?: any) => ImportClause;
11907
- /** @deprecated Use `factory.updateImportClause` or the factory supplied by your transformation context instead. */
11908
- const updateImportClause: (node: ImportClause, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined, isTypeOnly: boolean) => ImportClause;
11909
- /** @deprecated Use `factory.createExportDeclaration` or the factory supplied by your transformation context instead. */
11910
- const createExportDeclaration: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression | undefined, isTypeOnly?: any) => ExportDeclaration;
11911
- /** @deprecated Use `factory.updateExportDeclaration` or the factory supplied by your transformation context instead. */
11912
- const updateExportDeclaration: (node: ExportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, exportClause: NamedExportBindings | undefined, moduleSpecifier: Expression | undefined, isTypeOnly: boolean) => ExportDeclaration;
11913
- /** @deprecated Use `factory.createJSDocParameterTag` or the factory supplied by your transformation context instead. */
11914
- const createJSDocParamTag: (name: EntityName, isBracketed: boolean, typeExpression?: JSDocTypeExpression | undefined, comment?: string | undefined) => JSDocParameterTag;
11915
- /** @deprecated Use `factory.createComma` or the factory supplied by your transformation context instead. */
11916
- const createComma: (left: Expression, right: Expression) => Expression;
11917
- /** @deprecated Use `factory.createLessThan` or the factory supplied by your transformation context instead. */
11918
- const createLessThan: (left: Expression, right: Expression) => Expression;
11919
- /** @deprecated Use `factory.createAssignment` or the factory supplied by your transformation context instead. */
11920
- const createAssignment: (left: Expression, right: Expression) => BinaryExpression;
11921
- /** @deprecated Use `factory.createStrictEquality` or the factory supplied by your transformation context instead. */
11922
- const createStrictEquality: (left: Expression, right: Expression) => BinaryExpression;
11923
- /** @deprecated Use `factory.createStrictInequality` or the factory supplied by your transformation context instead. */
11924
- const createStrictInequality: (left: Expression, right: Expression) => BinaryExpression;
11925
- /** @deprecated Use `factory.createAdd` or the factory supplied by your transformation context instead. */
11926
- const createAdd: (left: Expression, right: Expression) => BinaryExpression;
11927
- /** @deprecated Use `factory.createSubtract` or the factory supplied by your transformation context instead. */
11928
- const createSubtract: (left: Expression, right: Expression) => BinaryExpression;
11929
- /** @deprecated Use `factory.createLogicalAnd` or the factory supplied by your transformation context instead. */
11930
- const createLogicalAnd: (left: Expression, right: Expression) => BinaryExpression;
11931
- /** @deprecated Use `factory.createLogicalOr` or the factory supplied by your transformation context instead. */
11932
- const createLogicalOr: (left: Expression, right: Expression) => BinaryExpression;
11933
- /** @deprecated Use `factory.createPostfixIncrement` or the factory supplied by your transformation context instead. */
11934
- const createPostfixIncrement: (operand: Expression) => PostfixUnaryExpression;
11935
- /** @deprecated Use `factory.createLogicalNot` or the factory supplied by your transformation context instead. */
11936
- const createLogicalNot: (operand: Expression) => PrefixUnaryExpression;
11937
- /** @deprecated Use an appropriate `factory` method instead. */
11938
- const createNode: (kind: SyntaxKind, pos?: any, end?: any) => Node;
11939
- /**
11940
- * Creates a shallow, memberwise clone of a node ~for mutation~ with its `pos`, `end`, and `parent` set.
11941
- *
11942
- * NOTE: It is unsafe to change any properties of a `Node` that relate to its AST children, as those changes won't be
11943
- * captured with respect to transformations.
11944
- *
11945
- * @deprecated Use an appropriate `factory.update...` method instead, use `setCommentRange` or `setSourceMapRange`, and avoid setting `parent`.
11946
- */
11947
- const getMutableClone: <T extends Node>(node: T) => T;
11948
- /** @deprecated Use `isTypeAssertionExpression` instead. */
11949
- const isTypeAssertion: (node: Node) => node is TypeAssertion;
11950
- /**
11951
- * @deprecated Use `isMemberName` instead.
11952
- */
11953
- const isIdentifierOrPrivateIdentifier: (node: Node) => node is MemberName;
11954
11025
  }
11955
11026
  export = ts;