typescript 5.0.0-dev.20230119 → 5.0.0-dev.20230121

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.
@@ -87,9 +87,6 @@ declare namespace ts {
87
87
  readonly kind: ActionSet;
88
88
  }
89
89
  namespace protocol {
90
- /**
91
- * Declaration module describing the TypeScript Server protocol
92
- */
93
90
  enum CommandTypes {
94
91
  JsxClosingTag = "jsxClosingTag",
95
92
  Brace = "brace",
@@ -1147,10 +1144,6 @@ declare namespace ts {
1147
1144
  * Compiler options for the project
1148
1145
  */
1149
1146
  options: ExternalProjectCompilerOptions;
1150
- /**
1151
- * @deprecated typingOptions. Use typeAcquisition instead
1152
- */
1153
- typingOptions?: TypeAcquisition;
1154
1147
  /**
1155
1148
  * Explicitly specified type acquisition for the project
1156
1149
  */
@@ -2802,7 +2795,59 @@ declare namespace ts {
2802
2795
  readonly includeInlayFunctionLikeReturnTypeHints?: boolean;
2803
2796
  readonly includeInlayEnumMemberValueHints?: boolean;
2804
2797
  readonly autoImportFileExcludePatterns?: string[];
2798
+ /**
2799
+ * Indicates whether imports should be organized in a case-insensitive manner.
2800
+ */
2805
2801
  readonly organizeImportsIgnoreCase?: "auto" | boolean;
2802
+ /**
2803
+ * Indicates whether imports should be organized via an "ordinal" (binary) comparison using the numeric value
2804
+ * of their code points, or via "unicode" collation (via the
2805
+ * [Unicode Collation Algorithm](https://unicode.org/reports/tr10/#Scope)) using rules associated with the locale
2806
+ * specified in {@link organizeImportsCollationLocale}.
2807
+ *
2808
+ * Default: `"ordinal"`.
2809
+ */
2810
+ readonly organizeImportsCollation?: "ordinal" | "unicode";
2811
+ /**
2812
+ * Indicates the locale to use for "unicode" collation. If not specified, the locale `"en"` is used as an invariant
2813
+ * for the sake of consistent sorting. Use `"auto"` to use the detected UI locale.
2814
+ *
2815
+ * This preference is ignored if {@link organizeImportsCollation} is not `"unicode"`.
2816
+ *
2817
+ * Default: `"en"`
2818
+ */
2819
+ readonly organizeImportsCollationLocale?: string;
2820
+ /**
2821
+ * Indicates whether numeric collation should be used for digit sequences in strings. When `true`, will collate
2822
+ * strings such that `a1z < a2z < a100z`. When `false`, will collate strings such that `a1z < a100z < a2z`.
2823
+ *
2824
+ * This preference is ignored if {@link organizeImportsCollation} is not `"unicode"`.
2825
+ *
2826
+ * Default: `false`
2827
+ */
2828
+ readonly organizeImportsNumericCollation?: boolean;
2829
+ /**
2830
+ * Indicates whether accents and other diacritic marks are considered unequal for the purpose of collation. When
2831
+ * `true`, characters with accents and other diacritics will be collated in the order defined by the locale specified
2832
+ * in {@link organizeImportsCollationLocale}.
2833
+ *
2834
+ * This preference is ignored if {@link organizeImportsCollation} is not `"unicode"`.
2835
+ *
2836
+ * Default: `true`
2837
+ */
2838
+ readonly organizeImportsAccentCollation?: boolean;
2839
+ /**
2840
+ * Indicates whether upper case or lower case should sort first. When `false`, the default order for the locale
2841
+ * specified in {@link organizeImportsCollationLocale} is used.
2842
+ *
2843
+ * This preference is ignored if {@link organizeImportsCollation} is not `"unicode"`. This preference is also
2844
+ * ignored if we are using case-insensitive sorting, which occurs when {@link organizeImportsIgnoreCase} is `true`,
2845
+ * or if {@link organizeImportsIgnoreCase} is `"auto"` and the auto-detected case sensitivity is determined to be
2846
+ * case-insensitive.
2847
+ *
2848
+ * Default: `false`
2849
+ */
2850
+ readonly organizeImportsCaseFirst?: "upper" | "lower" | false;
2806
2851
  /**
2807
2852
  * Indicates whether {@link ReferencesResponseItem.lineText} is supported.
2808
2853
  */
@@ -3005,10 +3050,6 @@ declare namespace ts {
3005
3050
  Info = "Info",
3006
3051
  Perf = "Perf"
3007
3052
  }
3008
- namespace Msg {
3009
- /** @deprecated Only here for backwards-compatibility. Prefer just `Msg`. */
3010
- type Types = Msg;
3011
- }
3012
3053
  namespace Errors {
3013
3054
  function ThrowNoProject(): never;
3014
3055
  function ThrowProjectLanguageServiceDisabled(): never;
@@ -3484,8 +3525,6 @@ declare namespace ts {
3484
3525
  pluginProbeLocations?: readonly string[];
3485
3526
  allowLocalPluginLoads?: boolean;
3486
3527
  typesMapLocation?: string;
3487
- /** @deprecated use serverMode instead */
3488
- syntaxOnly?: boolean;
3489
3528
  serverMode?: LanguageServiceMode;
3490
3529
  session: Session<unknown> | undefined;
3491
3530
  }
@@ -3557,8 +3596,6 @@ declare namespace ts {
3557
3596
  readonly allowLocalPluginLoads: boolean;
3558
3597
  private currentPluginConfigOverrides;
3559
3598
  readonly typesMapLocation: string | undefined;
3560
- /** @deprecated use serverMode instead */
3561
- readonly syntaxOnly: boolean;
3562
3599
  readonly serverMode: LanguageServiceMode;
3563
3600
  /** Tracks projects that we have already sent telemetry for. */
3564
3601
  private readonly seenProjects;
@@ -3739,7 +3776,9 @@ declare namespace ts {
3739
3776
  fileName: NormalizedPath;
3740
3777
  project: Project;
3741
3778
  }
3779
+ /** @deprecated use ts.server.protocol.CommandTypes */
3742
3780
  type CommandNames = protocol.CommandTypes;
3781
+ /** @deprecated use ts.server.protocol.CommandTypes */
3743
3782
  const CommandNames: any;
3744
3783
  type Event = <T extends object>(body: T, eventName: string) => void;
3745
3784
  interface EventSender {
@@ -3767,8 +3806,6 @@ declare namespace ts {
3767
3806
  eventHandler?: ProjectServiceEventHandler;
3768
3807
  /** Has no effect if eventHandler is also specified. */
3769
3808
  suppressDiagnosticEvents?: boolean;
3770
- /** @deprecated use serverMode instead */
3771
- syntaxOnly?: boolean;
3772
3809
  serverMode?: LanguageServiceMode;
3773
3810
  throttleWaitMilliseconds?: number;
3774
3811
  noGetErrOnBackgroundUpdate?: boolean;
@@ -3805,9 +3842,6 @@ declare namespace ts {
3805
3842
  send(msg: protocol.Message): void;
3806
3843
  protected writeMessage(msg: protocol.Message): void;
3807
3844
  event<T extends object>(body: T, eventName: string): void;
3808
- /** @deprecated */
3809
- output(info: any, cmdName: string, reqSeq?: number, errorMsg?: string): void;
3810
- private doOutput;
3811
3845
  private semanticCheck;
3812
3846
  private syntacticCheck;
3813
3847
  private suggestionCheck;
@@ -4289,15 +4323,15 @@ declare namespace ts {
4289
4323
  ShorthandPropertyAssignment = 300,
4290
4324
  SpreadAssignment = 301,
4291
4325
  EnumMember = 302,
4292
- UnparsedPrologue = 303,
4293
- UnparsedPrepend = 304,
4294
- UnparsedText = 305,
4295
- UnparsedInternalText = 306,
4296
- UnparsedSyntheticReference = 307,
4326
+ /** @deprecated */ UnparsedPrologue = 303,
4327
+ /** @deprecated */ UnparsedPrepend = 304,
4328
+ /** @deprecated */ UnparsedText = 305,
4329
+ /** @deprecated */ UnparsedInternalText = 306,
4330
+ /** @deprecated */ UnparsedSyntheticReference = 307,
4297
4331
  SourceFile = 308,
4298
4332
  Bundle = 309,
4299
- UnparsedSource = 310,
4300
- InputFiles = 311,
4333
+ /** @deprecated */ UnparsedSource = 310,
4334
+ /** @deprecated */ InputFiles = 311,
4301
4335
  JSDocTypeExpression = 312,
4302
4336
  JSDocNameReference = 313,
4303
4337
  JSDocMemberName = 314,
@@ -4385,7 +4419,7 @@ declare namespace ts {
4385
4419
  type TriviaSyntaxKind = SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia;
4386
4420
  type LiteralSyntaxKind = SyntaxKind.NumericLiteral | SyntaxKind.BigIntLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral;
4387
4421
  type PseudoLiteralSyntaxKind = SyntaxKind.TemplateHead | SyntaxKind.TemplateMiddle | SyntaxKind.TemplateTail;
4388
- type PunctuationSyntaxKind = SyntaxKind.OpenBraceToken | SyntaxKind.CloseBraceToken | SyntaxKind.OpenParenToken | SyntaxKind.CloseParenToken | SyntaxKind.OpenBracketToken | SyntaxKind.CloseBracketToken | SyntaxKind.DotToken | SyntaxKind.DotDotDotToken | SyntaxKind.SemicolonToken | SyntaxKind.CommaToken | SyntaxKind.QuestionDotToken | SyntaxKind.LessThanToken | SyntaxKind.LessThanSlashToken | SyntaxKind.GreaterThanToken | SyntaxKind.LessThanEqualsToken | SyntaxKind.GreaterThanEqualsToken | SyntaxKind.EqualsEqualsToken | SyntaxKind.ExclamationEqualsToken | SyntaxKind.EqualsEqualsEqualsToken | SyntaxKind.ExclamationEqualsEqualsToken | SyntaxKind.EqualsGreaterThanToken | SyntaxKind.PlusToken | SyntaxKind.MinusToken | SyntaxKind.AsteriskToken | SyntaxKind.AsteriskAsteriskToken | SyntaxKind.SlashToken | SyntaxKind.PercentToken | SyntaxKind.PlusPlusToken | SyntaxKind.MinusMinusToken | SyntaxKind.LessThanLessThanToken | SyntaxKind.GreaterThanGreaterThanToken | SyntaxKind.GreaterThanGreaterThanGreaterThanToken | SyntaxKind.AmpersandToken | SyntaxKind.BarToken | SyntaxKind.CaretToken | SyntaxKind.ExclamationToken | SyntaxKind.TildeToken | SyntaxKind.AmpersandAmpersandToken | SyntaxKind.BarBarToken | SyntaxKind.QuestionQuestionToken | SyntaxKind.QuestionToken | SyntaxKind.ColonToken | SyntaxKind.AtToken | SyntaxKind.BacktickToken | SyntaxKind.HashToken | SyntaxKind.EqualsToken | SyntaxKind.PlusEqualsToken | SyntaxKind.MinusEqualsToken | SyntaxKind.AsteriskEqualsToken | SyntaxKind.AsteriskAsteriskEqualsToken | SyntaxKind.SlashEqualsToken | SyntaxKind.PercentEqualsToken | SyntaxKind.LessThanLessThanEqualsToken | SyntaxKind.GreaterThanGreaterThanEqualsToken | SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken | SyntaxKind.AmpersandEqualsToken | SyntaxKind.BarEqualsToken | SyntaxKind.CaretEqualsToken;
4422
+ type PunctuationSyntaxKind = SyntaxKind.OpenBraceToken | SyntaxKind.CloseBraceToken | SyntaxKind.OpenParenToken | SyntaxKind.CloseParenToken | SyntaxKind.OpenBracketToken | SyntaxKind.CloseBracketToken | SyntaxKind.DotToken | SyntaxKind.DotDotDotToken | SyntaxKind.SemicolonToken | SyntaxKind.CommaToken | SyntaxKind.QuestionDotToken | SyntaxKind.LessThanToken | SyntaxKind.LessThanSlashToken | SyntaxKind.GreaterThanToken | SyntaxKind.LessThanEqualsToken | SyntaxKind.GreaterThanEqualsToken | SyntaxKind.EqualsEqualsToken | SyntaxKind.ExclamationEqualsToken | SyntaxKind.EqualsEqualsEqualsToken | SyntaxKind.ExclamationEqualsEqualsToken | SyntaxKind.EqualsGreaterThanToken | SyntaxKind.PlusToken | SyntaxKind.MinusToken | SyntaxKind.AsteriskToken | SyntaxKind.AsteriskAsteriskToken | SyntaxKind.SlashToken | SyntaxKind.PercentToken | SyntaxKind.PlusPlusToken | SyntaxKind.MinusMinusToken | SyntaxKind.LessThanLessThanToken | SyntaxKind.GreaterThanGreaterThanToken | SyntaxKind.GreaterThanGreaterThanGreaterThanToken | SyntaxKind.AmpersandToken | SyntaxKind.BarToken | SyntaxKind.CaretToken | SyntaxKind.ExclamationToken | SyntaxKind.TildeToken | SyntaxKind.AmpersandAmpersandToken | SyntaxKind.AmpersandAmpersandEqualsToken | SyntaxKind.BarBarToken | SyntaxKind.BarBarEqualsToken | SyntaxKind.QuestionQuestionToken | SyntaxKind.QuestionQuestionEqualsToken | SyntaxKind.QuestionToken | SyntaxKind.ColonToken | SyntaxKind.AtToken | SyntaxKind.BacktickToken | SyntaxKind.HashToken | SyntaxKind.EqualsToken | SyntaxKind.PlusEqualsToken | SyntaxKind.MinusEqualsToken | SyntaxKind.AsteriskEqualsToken | SyntaxKind.AsteriskAsteriskEqualsToken | SyntaxKind.SlashEqualsToken | SyntaxKind.PercentEqualsToken | SyntaxKind.LessThanLessThanEqualsToken | SyntaxKind.GreaterThanGreaterThanEqualsToken | SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken | SyntaxKind.AmpersandEqualsToken | SyntaxKind.BarEqualsToken | SyntaxKind.CaretEqualsToken;
4389
4423
  type KeywordSyntaxKind = SyntaxKind.AbstractKeyword | SyntaxKind.AccessorKeyword | SyntaxKind.AnyKeyword | SyntaxKind.AsKeyword | SyntaxKind.AssertsKeyword | SyntaxKind.AssertKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.AwaitKeyword | SyntaxKind.BigIntKeyword | SyntaxKind.BooleanKeyword | SyntaxKind.BreakKeyword | SyntaxKind.CaseKeyword | SyntaxKind.CatchKeyword | SyntaxKind.ClassKeyword | SyntaxKind.ConstKeyword | SyntaxKind.ConstructorKeyword | SyntaxKind.ContinueKeyword | SyntaxKind.DebuggerKeyword | SyntaxKind.DeclareKeyword | SyntaxKind.DefaultKeyword | SyntaxKind.DeleteKeyword | SyntaxKind.DoKeyword | SyntaxKind.ElseKeyword | SyntaxKind.EnumKeyword | SyntaxKind.ExportKeyword | SyntaxKind.ExtendsKeyword | SyntaxKind.FalseKeyword | SyntaxKind.FinallyKeyword | SyntaxKind.ForKeyword | SyntaxKind.FromKeyword | SyntaxKind.FunctionKeyword | SyntaxKind.GetKeyword | SyntaxKind.GlobalKeyword | SyntaxKind.IfKeyword | SyntaxKind.ImplementsKeyword | SyntaxKind.ImportKeyword | SyntaxKind.InferKeyword | SyntaxKind.InKeyword | SyntaxKind.InstanceOfKeyword | SyntaxKind.InterfaceKeyword | SyntaxKind.IntrinsicKeyword | SyntaxKind.IsKeyword | SyntaxKind.KeyOfKeyword | SyntaxKind.LetKeyword | SyntaxKind.ModuleKeyword | SyntaxKind.NamespaceKeyword | SyntaxKind.NeverKeyword | SyntaxKind.NewKeyword | SyntaxKind.NullKeyword | SyntaxKind.NumberKeyword | SyntaxKind.ObjectKeyword | SyntaxKind.OfKeyword | SyntaxKind.PackageKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.OutKeyword | SyntaxKind.OverrideKeyword | SyntaxKind.RequireKeyword | SyntaxKind.ReturnKeyword | SyntaxKind.SatisfiesKeyword | SyntaxKind.SetKeyword | SyntaxKind.StaticKeyword | SyntaxKind.StringKeyword | SyntaxKind.SuperKeyword | SyntaxKind.SwitchKeyword | SyntaxKind.SymbolKeyword | SyntaxKind.ThisKeyword | SyntaxKind.ThrowKeyword | SyntaxKind.TrueKeyword | SyntaxKind.TryKeyword | SyntaxKind.TypeKeyword | SyntaxKind.TypeOfKeyword | SyntaxKind.UndefinedKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.UnknownKeyword | SyntaxKind.VarKeyword | SyntaxKind.VoidKeyword | SyntaxKind.WhileKeyword | SyntaxKind.WithKeyword | SyntaxKind.YieldKeyword;
4390
4424
  type ModifierSyntaxKind = SyntaxKind.AbstractKeyword | SyntaxKind.AccessorKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.ConstKeyword | SyntaxKind.DeclareKeyword | SyntaxKind.DefaultKeyword | SyntaxKind.ExportKeyword | SyntaxKind.InKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.OutKeyword | SyntaxKind.OverrideKeyword | SyntaxKind.StaticKeyword;
4391
4425
  type KeywordTypeSyntaxKind = SyntaxKind.AnyKeyword | SyntaxKind.BigIntKeyword | SyntaxKind.BooleanKeyword | SyntaxKind.IntrinsicKeyword | SyntaxKind.NeverKeyword | SyntaxKind.NumberKeyword | SyntaxKind.ObjectKeyword | SyntaxKind.StringKeyword | SyntaxKind.SymbolKeyword | SyntaxKind.UndefinedKeyword | SyntaxKind.UnknownKeyword | SyntaxKind.VoidKeyword;
@@ -4482,30 +4516,6 @@ declare namespace ts {
4482
4516
  getLastToken(sourceFile?: SourceFile): Node | undefined;
4483
4517
  forEachChild<T>(cbNode: (node: Node) => T | undefined, cbNodeArray?: (nodes: NodeArray<Node>) => T | undefined): T | undefined;
4484
4518
  }
4485
- interface Node {
4486
- /**
4487
- * @deprecated `decorators` has been removed from `Node` and merged with `modifiers` on the `Node` subtypes that support them.
4488
- * Use `ts.canHaveDecorators()` to test whether a `Node` can have decorators.
4489
- * Use `ts.getDecorators()` to get the decorators of a `Node`.
4490
- *
4491
- * For example:
4492
- * ```ts
4493
- * const decorators = ts.canHaveDecorators(node) ? ts.getDecorators(node) : undefined;
4494
- * ```
4495
- */
4496
- readonly decorators?: undefined;
4497
- /**
4498
- * @deprecated `modifiers` has been removed from `Node` and moved to the `Node` subtypes that support them.
4499
- * Use `ts.canHaveModifiers()` to test whether a `Node` can have modifiers.
4500
- * Use `ts.getModifiers()` to get the modifiers of a `Node`.
4501
- *
4502
- * For example:
4503
- * ```ts
4504
- * const modifiers = ts.canHaveModifiers(node) ? ts.getModifiers(node) : undefined;
4505
- * ```
4506
- */
4507
- readonly modifiers?: NodeArray<ModifierLike> | undefined;
4508
- }
4509
4519
  interface JSDocContainer extends Node {
4510
4520
  _jsdocContainerBrand: any;
4511
4521
  }
@@ -4537,6 +4547,9 @@ declare namespace ts {
4537
4547
  type ExclamationToken = PunctuationToken<SyntaxKind.ExclamationToken>;
4538
4548
  type ColonToken = PunctuationToken<SyntaxKind.ColonToken>;
4539
4549
  type EqualsToken = PunctuationToken<SyntaxKind.EqualsToken>;
4550
+ type AmpersandAmpersandEqualsToken = PunctuationToken<SyntaxKind.AmpersandAmpersandEqualsToken>;
4551
+ type BarBarEqualsToken = PunctuationToken<SyntaxKind.BarBarEqualsToken>;
4552
+ type QuestionQuestionEqualsToken = PunctuationToken<SyntaxKind.QuestionQuestionEqualsToken>;
4540
4553
  type AsteriskToken = PunctuationToken<SyntaxKind.AsteriskToken>;
4541
4554
  type EqualsGreaterThanToken = PunctuationToken<SyntaxKind.EqualsGreaterThanToken>;
4542
4555
  type PlusToken = PunctuationToken<SyntaxKind.PlusToken>;
@@ -4548,10 +4561,6 @@ declare namespace ts {
4548
4561
  type AssertKeyword = KeywordToken<SyntaxKind.AssertKeyword>;
4549
4562
  type AwaitKeyword = KeywordToken<SyntaxKind.AwaitKeyword>;
4550
4563
  type CaseKeyword = KeywordToken<SyntaxKind.CaseKeyword>;
4551
- /** @deprecated Use `AwaitKeyword` instead. */
4552
- type AwaitKeywordToken = AwaitKeyword;
4553
- /** @deprecated Use `AssertsKeyword` instead. */
4554
- type AssertsToken = AssertsKeyword;
4555
4564
  interface ModifierToken<TKind extends ModifierSyntaxKind> extends KeywordToken<TKind> {
4556
4565
  }
4557
4566
  type AbstractKeyword = ModifierToken<SyntaxKind.AbstractKeyword>;
@@ -4569,8 +4578,6 @@ declare namespace ts {
4569
4578
  type OutKeyword = ModifierToken<SyntaxKind.OutKeyword>;
4570
4579
  type OverrideKeyword = ModifierToken<SyntaxKind.OverrideKeyword>;
4571
4580
  type StaticKeyword = ModifierToken<SyntaxKind.StaticKeyword>;
4572
- /** @deprecated Use `ReadonlyKeyword` instead. */
4573
- type ReadonlyToken = ReadonlyKeyword;
4574
4581
  type Modifier = AbstractKeyword | AccessorKeyword | AsyncKeyword | ConstKeyword | DeclareKeyword | DefaultKeyword | ExportKeyword | InKeyword | PrivateKeyword | ProtectedKeyword | PublicKeyword | OutKeyword | OverrideKeyword | ReadonlyKeyword | StaticKeyword;
4575
4582
  type ModifierLike = Modifier | Decorator;
4576
4583
  type AccessibilityModifier = PublicKeyword | PrivateKeyword | ProtectedKeyword;
@@ -4703,10 +4710,6 @@ declare namespace ts {
4703
4710
  readonly questionToken?: QuestionToken;
4704
4711
  readonly type?: TypeNode;
4705
4712
  }
4706
- interface PropertySignature {
4707
- /** @deprecated A property signature cannot have an initializer */
4708
- readonly initializer?: Expression | undefined;
4709
- }
4710
4713
  interface PropertyDeclaration extends ClassElement, JSDocContainer {
4711
4714
  readonly kind: SyntaxKind.PropertyDeclaration;
4712
4715
  readonly parent: ClassLikeDeclaration;
@@ -4732,12 +4735,6 @@ declare namespace ts {
4732
4735
  readonly name: PropertyName;
4733
4736
  readonly initializer: Expression;
4734
4737
  }
4735
- interface PropertyAssignment {
4736
- /** @deprecated A property assignment cannot have a question token */
4737
- readonly questionToken?: QuestionToken | undefined;
4738
- /** @deprecated A property assignment cannot have an exclamation token */
4739
- readonly exclamationToken?: ExclamationToken | undefined;
4740
- }
4741
4738
  interface ShorthandPropertyAssignment extends ObjectLiteralElement, JSDocContainer {
4742
4739
  readonly kind: SyntaxKind.ShorthandPropertyAssignment;
4743
4740
  readonly parent: ObjectLiteralExpression;
@@ -4745,14 +4742,6 @@ declare namespace ts {
4745
4742
  readonly equalsToken?: EqualsToken;
4746
4743
  readonly objectAssignmentInitializer?: Expression;
4747
4744
  }
4748
- interface ShorthandPropertyAssignment {
4749
- /** @deprecated A shorthand property assignment cannot have modifiers */
4750
- readonly modifiers?: NodeArray<Modifier> | undefined;
4751
- /** @deprecated A shorthand property assignment cannot have a question token */
4752
- readonly questionToken?: QuestionToken | undefined;
4753
- /** @deprecated A shorthand property assignment cannot have an exclamation token */
4754
- readonly exclamationToken?: ExclamationToken | undefined;
4755
- }
4756
4745
  interface SpreadAssignment extends ObjectLiteralElement, JSDocContainer {
4757
4746
  readonly kind: SyntaxKind.SpreadAssignment;
4758
4747
  readonly parent: ObjectLiteralExpression;
@@ -4791,7 +4780,7 @@ declare namespace ts {
4791
4780
  type FunctionLike = SignatureDeclaration;
4792
4781
  interface FunctionDeclaration extends FunctionLikeDeclarationBase, DeclarationStatement, LocalsContainer {
4793
4782
  readonly kind: SyntaxKind.FunctionDeclaration;
4794
- readonly modifiers?: NodeArray<Modifier>;
4783
+ readonly modifiers?: NodeArray<ModifierLike>;
4795
4784
  readonly name?: Identifier;
4796
4785
  readonly body?: FunctionBody;
4797
4786
  }
@@ -4811,7 +4800,7 @@ declare namespace ts {
4811
4800
  interface ConstructorDeclaration extends FunctionLikeDeclarationBase, ClassElement, JSDocContainer, LocalsContainer {
4812
4801
  readonly kind: SyntaxKind.Constructor;
4813
4802
  readonly parent: ClassLikeDeclaration;
4814
- readonly modifiers?: NodeArray<Modifier> | undefined;
4803
+ readonly modifiers?: NodeArray<ModifierLike> | undefined;
4815
4804
  readonly body?: FunctionBody | undefined;
4816
4805
  }
4817
4806
  /** For when we encounter a semicolon in a class declaration. ES6 allows these as class elements. */
@@ -4837,7 +4826,7 @@ declare namespace ts {
4837
4826
  interface IndexSignatureDeclaration extends SignatureDeclarationBase, ClassElement, TypeElement, LocalsContainer {
4838
4827
  readonly kind: SyntaxKind.IndexSignature;
4839
4828
  readonly parent: ObjectTypeDeclaration;
4840
- readonly modifiers?: NodeArray<Modifier>;
4829
+ readonly modifiers?: NodeArray<ModifierLike>;
4841
4830
  readonly type: TypeNode;
4842
4831
  }
4843
4832
  interface ClassStaticBlockDeclaration extends ClassElement, JSDocContainer, LocalsContainer {
@@ -4875,10 +4864,6 @@ declare namespace ts {
4875
4864
  interface FunctionTypeNode extends FunctionOrConstructorTypeNodeBase, LocalsContainer {
4876
4865
  readonly kind: SyntaxKind.FunctionType;
4877
4866
  }
4878
- interface FunctionTypeNode {
4879
- /** @deprecated A function type cannot have modifiers */
4880
- readonly modifiers?: NodeArray<Modifier> | undefined;
4881
- }
4882
4867
  interface ConstructorTypeNode extends FunctionOrConstructorTypeNodeBase, LocalsContainer {
4883
4868
  readonly kind: SyntaxKind.ConstructorType;
4884
4869
  readonly modifiers?: NodeArray<Modifier>;
@@ -5420,7 +5405,7 @@ declare namespace ts {
5420
5405
  interface DebuggerStatement extends Statement, FlowContainer {
5421
5406
  readonly kind: SyntaxKind.DebuggerStatement;
5422
5407
  }
5423
- interface MissingDeclaration extends DeclarationStatement {
5408
+ interface MissingDeclaration extends DeclarationStatement, PrimaryExpression {
5424
5409
  readonly kind: SyntaxKind.MissingDeclaration;
5425
5410
  readonly name?: Identifier;
5426
5411
  }
@@ -5431,7 +5416,7 @@ declare namespace ts {
5431
5416
  }
5432
5417
  interface VariableStatement extends Statement, FlowContainer {
5433
5418
  readonly kind: SyntaxKind.VariableStatement;
5434
- readonly modifiers?: NodeArray<Modifier>;
5419
+ readonly modifiers?: NodeArray<ModifierLike>;
5435
5420
  readonly declarationList: VariableDeclarationList;
5436
5421
  }
5437
5422
  interface ExpressionStatement extends Statement, FlowContainer {
@@ -5568,7 +5553,7 @@ declare namespace ts {
5568
5553
  }
5569
5554
  interface InterfaceDeclaration extends DeclarationStatement, JSDocContainer {
5570
5555
  readonly kind: SyntaxKind.InterfaceDeclaration;
5571
- readonly modifiers?: NodeArray<Modifier>;
5556
+ readonly modifiers?: NodeArray<ModifierLike>;
5572
5557
  readonly name: Identifier;
5573
5558
  readonly typeParameters?: NodeArray<TypeParameterDeclaration>;
5574
5559
  readonly heritageClauses?: NodeArray<HeritageClause>;
@@ -5582,7 +5567,7 @@ declare namespace ts {
5582
5567
  }
5583
5568
  interface TypeAliasDeclaration extends DeclarationStatement, JSDocContainer, LocalsContainer {
5584
5569
  readonly kind: SyntaxKind.TypeAliasDeclaration;
5585
- readonly modifiers?: NodeArray<Modifier>;
5570
+ readonly modifiers?: NodeArray<ModifierLike>;
5586
5571
  readonly name: Identifier;
5587
5572
  readonly typeParameters?: NodeArray<TypeParameterDeclaration>;
5588
5573
  readonly type: TypeNode;
@@ -5595,7 +5580,7 @@ declare namespace ts {
5595
5580
  }
5596
5581
  interface EnumDeclaration extends DeclarationStatement, JSDocContainer {
5597
5582
  readonly kind: SyntaxKind.EnumDeclaration;
5598
- readonly modifiers?: NodeArray<Modifier>;
5583
+ readonly modifiers?: NodeArray<ModifierLike>;
5599
5584
  readonly name: Identifier;
5600
5585
  readonly members: NodeArray<EnumMember>;
5601
5586
  }
@@ -5604,7 +5589,7 @@ declare namespace ts {
5604
5589
  interface ModuleDeclaration extends DeclarationStatement, JSDocContainer, LocalsContainer {
5605
5590
  readonly kind: SyntaxKind.ModuleDeclaration;
5606
5591
  readonly parent: ModuleBody | SourceFile;
5607
- readonly modifiers?: NodeArray<Modifier>;
5592
+ readonly modifiers?: NodeArray<ModifierLike>;
5608
5593
  readonly name: ModuleName;
5609
5594
  readonly body?: ModuleBody | JSDocNamespaceDeclaration;
5610
5595
  }
@@ -5632,7 +5617,7 @@ declare namespace ts {
5632
5617
  interface ImportEqualsDeclaration extends DeclarationStatement, JSDocContainer {
5633
5618
  readonly kind: SyntaxKind.ImportEqualsDeclaration;
5634
5619
  readonly parent: SourceFile | ModuleBlock;
5635
- readonly modifiers?: NodeArray<Modifier>;
5620
+ readonly modifiers?: NodeArray<ModifierLike>;
5636
5621
  readonly name: Identifier;
5637
5622
  readonly isTypeOnly: boolean;
5638
5623
  readonly moduleReference: ModuleReference;
@@ -5645,7 +5630,7 @@ declare namespace ts {
5645
5630
  interface ImportDeclaration extends Statement {
5646
5631
  readonly kind: SyntaxKind.ImportDeclaration;
5647
5632
  readonly parent: SourceFile | ModuleBlock;
5648
- readonly modifiers?: NodeArray<Modifier>;
5633
+ readonly modifiers?: NodeArray<ModifierLike>;
5649
5634
  readonly importClause?: ImportClause;
5650
5635
  /** If this is not a StringLiteral it will be a grammar error. */
5651
5636
  readonly moduleSpecifier: Expression;
@@ -5690,7 +5675,7 @@ declare namespace ts {
5690
5675
  interface ExportDeclaration extends DeclarationStatement, JSDocContainer {
5691
5676
  readonly kind: SyntaxKind.ExportDeclaration;
5692
5677
  readonly parent: SourceFile | ModuleBlock;
5693
- readonly modifiers?: NodeArray<Modifier>;
5678
+ readonly modifiers?: NodeArray<ModifierLike>;
5694
5679
  readonly isTypeOnly: boolean;
5695
5680
  /** Will not be assigned in the case of `export * from "foo";` */
5696
5681
  readonly exportClause?: NamedExportBindings;
@@ -5724,8 +5709,8 @@ declare namespace ts {
5724
5709
  readonly name: Identifier;
5725
5710
  }
5726
5711
  type ImportOrExportSpecifier = ImportSpecifier | ExportSpecifier;
5727
- type TypeOnlyCompatibleAliasDeclaration = ImportClause | ImportEqualsDeclaration | NamespaceImport | ImportOrExportSpecifier;
5728
- type TypeOnlyAliasDeclaration = ImportClause & {
5712
+ type TypeOnlyCompatibleAliasDeclaration = ImportClause | ImportEqualsDeclaration | NamespaceImport | ImportOrExportSpecifier | ExportDeclaration | NamespaceExport;
5713
+ type TypeOnlyImportDeclaration = ImportClause & {
5729
5714
  readonly isTypeOnly: true;
5730
5715
  readonly name: Identifier;
5731
5716
  } | ImportEqualsDeclaration & {
@@ -5742,7 +5727,8 @@ declare namespace ts {
5742
5727
  readonly isTypeOnly: true;
5743
5728
  };
5744
5729
  };
5745
- }) | ExportSpecifier & ({
5730
+ });
5731
+ type TypeOnlyExportDeclaration = ExportSpecifier & ({
5746
5732
  readonly isTypeOnly: true;
5747
5733
  } | {
5748
5734
  readonly parent: NamedExports & {
@@ -5750,7 +5736,14 @@ declare namespace ts {
5750
5736
  readonly isTypeOnly: true;
5751
5737
  };
5752
5738
  };
5753
- });
5739
+ }) | ExportDeclaration & {
5740
+ readonly isTypeOnly: true;
5741
+ } | NamespaceExport & {
5742
+ readonly parent: ExportDeclaration & {
5743
+ readonly isTypeOnly: true;
5744
+ };
5745
+ };
5746
+ type TypeOnlyAliasDeclaration = TypeOnlyImportDeclaration | TypeOnlyExportDeclaration;
5754
5747
  /**
5755
5748
  * This is either an `export =` or an `export default` declaration.
5756
5749
  * Unless `isExportEquals` is set, this node was parsed as an `export default`.
@@ -5758,7 +5751,7 @@ declare namespace ts {
5758
5751
  interface ExportAssignment extends DeclarationStatement, JSDocContainer {
5759
5752
  readonly kind: SyntaxKind.ExportAssignment;
5760
5753
  readonly parent: SourceFile;
5761
- readonly modifiers?: NodeArray<Modifier>;
5754
+ readonly modifiers?: NodeArray<ModifierLike>;
5762
5755
  readonly isExportEquals?: boolean;
5763
5756
  readonly expression: Expression;
5764
5757
  }
@@ -6107,9 +6100,10 @@ declare namespace ts {
6107
6100
  }
6108
6101
  interface Bundle extends Node {
6109
6102
  readonly kind: SyntaxKind.Bundle;
6110
- readonly prepends: readonly (InputFiles | UnparsedSource)[];
6103
+ /** @deprecated */ readonly prepends: readonly (InputFiles | UnparsedSource)[];
6111
6104
  readonly sourceFiles: readonly SourceFile[];
6112
6105
  }
6106
+ /** @deprecated */
6113
6107
  interface InputFiles extends Node {
6114
6108
  readonly kind: SyntaxKind.InputFiles;
6115
6109
  javascriptPath?: string;
@@ -6121,6 +6115,7 @@ declare namespace ts {
6121
6115
  declarationMapPath?: string;
6122
6116
  declarationMapText?: string;
6123
6117
  }
6118
+ /** @deprecated */
6124
6119
  interface UnparsedSource extends Node {
6125
6120
  readonly kind: SyntaxKind.UnparsedSource;
6126
6121
  fileName: string;
@@ -6136,28 +6131,35 @@ declare namespace ts {
6136
6131
  readonly syntheticReferences?: readonly UnparsedSyntheticReference[];
6137
6132
  readonly texts: readonly UnparsedSourceText[];
6138
6133
  }
6134
+ /** @deprecated */
6139
6135
  type UnparsedSourceText = UnparsedPrepend | UnparsedTextLike;
6136
+ /** @deprecated */
6140
6137
  type UnparsedNode = UnparsedPrologue | UnparsedSourceText | UnparsedSyntheticReference;
6138
+ /** @deprecated */
6141
6139
  interface UnparsedSection extends Node {
6142
6140
  readonly kind: SyntaxKind;
6143
6141
  readonly parent: UnparsedSource;
6144
6142
  readonly data?: string;
6145
6143
  }
6144
+ /** @deprecated */
6146
6145
  interface UnparsedPrologue extends UnparsedSection {
6147
6146
  readonly kind: SyntaxKind.UnparsedPrologue;
6148
6147
  readonly parent: UnparsedSource;
6149
6148
  readonly data: string;
6150
6149
  }
6150
+ /** @deprecated */
6151
6151
  interface UnparsedPrepend extends UnparsedSection {
6152
6152
  readonly kind: SyntaxKind.UnparsedPrepend;
6153
6153
  readonly parent: UnparsedSource;
6154
6154
  readonly data: string;
6155
6155
  readonly texts: readonly UnparsedTextLike[];
6156
6156
  }
6157
+ /** @deprecated */
6157
6158
  interface UnparsedTextLike extends UnparsedSection {
6158
6159
  readonly kind: SyntaxKind.UnparsedText | SyntaxKind.UnparsedInternalText;
6159
6160
  readonly parent: UnparsedSource;
6160
6161
  }
6162
+ /** @deprecated */
6161
6163
  interface UnparsedSyntheticReference extends UnparsedSection {
6162
6164
  readonly kind: SyntaxKind.UnparsedSyntheticReference;
6163
6165
  readonly parent: UnparsedSource;
@@ -6298,9 +6300,7 @@ declare namespace ts {
6298
6300
  DiagnosticsPresent_OutputsSkipped = 1,
6299
6301
  DiagnosticsPresent_OutputsGenerated = 2,
6300
6302
  InvalidProject_OutputsSkipped = 3,
6301
- ProjectReferenceCycle_OutputsSkipped = 4,
6302
- /** @deprecated Use ProjectReferenceCycle_OutputsSkipped instead. */
6303
- ProjectReferenceCycle_OutputsSkupped = 4
6303
+ ProjectReferenceCycle_OutputsSkipped = 4
6304
6304
  }
6305
6305
  interface EmitResult {
6306
6306
  emitSkipped: boolean;
@@ -6430,8 +6430,6 @@ declare namespace ts {
6430
6430
  OmitThisParameter = 33554432,
6431
6431
  AllowThisInObjectLiteral = 32768,
6432
6432
  AllowQualifiedNameInPlaceOfIdentifier = 65536,
6433
- /** @deprecated AllowQualifedNameInPlaceOfIdentifier. Use AllowQualifiedNameInPlaceOfIdentifier instead. */
6434
- AllowQualifedNameInPlaceOfIdentifier = 65536,
6435
6433
  AllowAnonymousIdentifier = 131072,
6436
6434
  AllowEmptyUnionOrIntersection = 262144,
6437
6435
  AllowEmptyTuple = 524288,
@@ -6466,7 +6464,6 @@ declare namespace ts {
6466
6464
  InElementType = 2097152,
6467
6465
  InFirstTypeArgument = 4194304,
6468
6466
  InTypeAlias = 8388608,
6469
- /** @deprecated */ WriteOwnNameForAnyLike = 0,
6470
6467
  NodeBuilderFlagsMask = 848330091
6471
6468
  }
6472
6469
  enum SymbolFormatFlags {
@@ -6922,8 +6919,6 @@ declare namespace ts {
6922
6919
  PriorityImpliesCombination = 416,
6923
6920
  Circularity = -1
6924
6921
  }
6925
- /** @deprecated Use FileExtensionInfo instead. */
6926
- type JsFileExtensionInfo = FileExtensionInfo;
6927
6922
  interface FileExtensionInfo {
6928
6923
  extension: string;
6929
6924
  isMixedContent: boolean;
@@ -7131,6 +7126,7 @@ declare namespace ts {
7131
7126
  types?: string[];
7132
7127
  /** Paths used to compute primary types search locations */
7133
7128
  typeRoots?: string[];
7129
+ verbatimModuleSyntax?: boolean;
7134
7130
  esModuleInterop?: boolean;
7135
7131
  useDefineForClassFields?: boolean;
7136
7132
  [option: string]: CompilerOptionsValue | TsConfigSourceFile | undefined;
@@ -7145,11 +7141,6 @@ declare namespace ts {
7145
7141
  [option: string]: CompilerOptionsValue | undefined;
7146
7142
  }
7147
7143
  interface TypeAcquisition {
7148
- /**
7149
- * @deprecated typingOptions.enableAutoDiscovery
7150
- * Use typeAcquisition.enable instead.
7151
- */
7152
- enableAutoDiscovery?: boolean;
7153
7144
  enable?: boolean;
7154
7145
  include?: string[];
7155
7146
  exclude?: string[];
@@ -7525,8 +7516,8 @@ declare namespace ts {
7525
7516
  updateMethodSignature(node: MethodSignature, modifiers: readonly Modifier[] | undefined, name: PropertyName, questionToken: QuestionToken | undefined, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode | undefined): MethodSignature;
7526
7517
  createMethodDeclaration(modifiers: readonly ModifierLike[] | undefined, asteriskToken: AsteriskToken | undefined, name: string | PropertyName, questionToken: QuestionToken | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): MethodDeclaration;
7527
7518
  updateMethodDeclaration(node: MethodDeclaration, modifiers: readonly ModifierLike[] | undefined, asteriskToken: AsteriskToken | undefined, name: PropertyName, questionToken: QuestionToken | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): MethodDeclaration;
7528
- createConstructorDeclaration(modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
7529
- updateConstructorDeclaration(node: ConstructorDeclaration, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
7519
+ createConstructorDeclaration(modifiers: readonly ModifierLike[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
7520
+ updateConstructorDeclaration(node: ConstructorDeclaration, modifiers: readonly ModifierLike[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
7530
7521
  createGetAccessorDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
7531
7522
  updateGetAccessorDeclaration(node: GetAccessorDeclaration, modifiers: readonly ModifierLike[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
7532
7523
  createSetAccessorDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
@@ -7535,8 +7526,8 @@ declare namespace ts {
7535
7526
  updateCallSignature(node: CallSignatureDeclaration, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode | undefined): CallSignatureDeclaration;
7536
7527
  createConstructSignature(typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined): ConstructSignatureDeclaration;
7537
7528
  updateConstructSignature(node: ConstructSignatureDeclaration, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode | undefined): ConstructSignatureDeclaration;
7538
- createIndexSignature(modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
7539
- updateIndexSignature(node: IndexSignatureDeclaration, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
7529
+ createIndexSignature(modifiers: readonly ModifierLike[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
7530
+ updateIndexSignature(node: IndexSignatureDeclaration, modifiers: readonly ModifierLike[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
7540
7531
  createTemplateLiteralTypeSpan(type: TypeNode, literal: TemplateMiddle | TemplateTail): TemplateLiteralTypeSpan;
7541
7532
  updateTemplateLiteralTypeSpan(node: TemplateLiteralTypeSpan, type: TypeNode, literal: TemplateMiddle | TemplateTail): TemplateLiteralTypeSpan;
7542
7533
  createClassStaticBlockDeclaration(body: Block): ClassStaticBlockDeclaration;
@@ -7672,8 +7663,8 @@ declare namespace ts {
7672
7663
  createSemicolonClassElement(): SemicolonClassElement;
7673
7664
  createBlock(statements: readonly Statement[], multiLine?: boolean): Block;
7674
7665
  updateBlock(node: Block, statements: readonly Statement[]): Block;
7675
- createVariableStatement(modifiers: readonly Modifier[] | undefined, declarationList: VariableDeclarationList | readonly VariableDeclaration[]): VariableStatement;
7676
- updateVariableStatement(node: VariableStatement, modifiers: readonly Modifier[] | undefined, declarationList: VariableDeclarationList): VariableStatement;
7666
+ createVariableStatement(modifiers: readonly ModifierLike[] | undefined, declarationList: VariableDeclarationList | readonly VariableDeclaration[]): VariableStatement;
7667
+ updateVariableStatement(node: VariableStatement, modifiers: readonly ModifierLike[] | undefined, declarationList: VariableDeclarationList): VariableStatement;
7677
7668
  createEmptyStatement(): EmptyStatement;
7678
7669
  createExpressionStatement(expression: Expression): ExpressionStatement;
7679
7670
  updateExpressionStatement(node: ExpressionStatement, expression: Expression): ExpressionStatement;
@@ -7714,24 +7705,24 @@ declare namespace ts {
7714
7705
  updateFunctionDeclaration(node: FunctionDeclaration, modifiers: readonly ModifierLike[] | undefined, asteriskToken: AsteriskToken | undefined, name: Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): FunctionDeclaration;
7715
7706
  createClassDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): ClassDeclaration;
7716
7707
  updateClassDeclaration(node: ClassDeclaration, modifiers: readonly ModifierLike[] | undefined, name: Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): ClassDeclaration;
7717
- createInterfaceDeclaration(modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
7718
- updateInterfaceDeclaration(node: InterfaceDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
7719
- createTypeAliasDeclaration(modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
7720
- updateTypeAliasDeclaration(node: TypeAliasDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
7721
- createEnumDeclaration(modifiers: readonly Modifier[] | undefined, name: string | Identifier, members: readonly EnumMember[]): EnumDeclaration;
7722
- updateEnumDeclaration(node: EnumDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, members: readonly EnumMember[]): EnumDeclaration;
7723
- createModuleDeclaration(modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined, flags?: NodeFlags): ModuleDeclaration;
7724
- updateModuleDeclaration(node: ModuleDeclaration, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined): ModuleDeclaration;
7708
+ createInterfaceDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
7709
+ updateInterfaceDeclaration(node: InterfaceDeclaration, modifiers: readonly ModifierLike[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
7710
+ createTypeAliasDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
7711
+ updateTypeAliasDeclaration(node: TypeAliasDeclaration, modifiers: readonly ModifierLike[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
7712
+ createEnumDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | Identifier, members: readonly EnumMember[]): EnumDeclaration;
7713
+ updateEnumDeclaration(node: EnumDeclaration, modifiers: readonly ModifierLike[] | undefined, name: Identifier, members: readonly EnumMember[]): EnumDeclaration;
7714
+ createModuleDeclaration(modifiers: readonly ModifierLike[] | undefined, name: ModuleName, body: ModuleBody | undefined, flags?: NodeFlags): ModuleDeclaration;
7715
+ updateModuleDeclaration(node: ModuleDeclaration, modifiers: readonly ModifierLike[] | undefined, name: ModuleName, body: ModuleBody | undefined): ModuleDeclaration;
7725
7716
  createModuleBlock(statements: readonly Statement[]): ModuleBlock;
7726
7717
  updateModuleBlock(node: ModuleBlock, statements: readonly Statement[]): ModuleBlock;
7727
7718
  createCaseBlock(clauses: readonly CaseOrDefaultClause[]): CaseBlock;
7728
7719
  updateCaseBlock(node: CaseBlock, clauses: readonly CaseOrDefaultClause[]): CaseBlock;
7729
7720
  createNamespaceExportDeclaration(name: string | Identifier): NamespaceExportDeclaration;
7730
7721
  updateNamespaceExportDeclaration(node: NamespaceExportDeclaration, name: Identifier): NamespaceExportDeclaration;
7731
- createImportEqualsDeclaration(modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: string | Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
7732
- updateImportEqualsDeclaration(node: ImportEqualsDeclaration, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
7733
- createImportDeclaration(modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause?: AssertClause): ImportDeclaration;
7734
- updateImportDeclaration(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration;
7722
+ createImportEqualsDeclaration(modifiers: readonly ModifierLike[] | undefined, isTypeOnly: boolean, name: string | Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
7723
+ updateImportEqualsDeclaration(node: ImportEqualsDeclaration, modifiers: readonly ModifierLike[] | undefined, isTypeOnly: boolean, name: Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
7724
+ createImportDeclaration(modifiers: readonly ModifierLike[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause?: AssertClause): ImportDeclaration;
7725
+ updateImportDeclaration(node: ImportDeclaration, modifiers: readonly ModifierLike[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration;
7735
7726
  createImportClause(isTypeOnly: boolean, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
7736
7727
  updateImportClause(node: ImportClause, isTypeOnly: boolean, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
7737
7728
  createAssertClause(elements: NodeArray<AssertEntry>, multiLine?: boolean): AssertClause;
@@ -7748,10 +7739,10 @@ declare namespace ts {
7748
7739
  updateNamedImports(node: NamedImports, elements: readonly ImportSpecifier[]): NamedImports;
7749
7740
  createImportSpecifier(isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier): ImportSpecifier;
7750
7741
  updateImportSpecifier(node: ImportSpecifier, isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier): ImportSpecifier;
7751
- createExportAssignment(modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression): ExportAssignment;
7752
- updateExportAssignment(node: ExportAssignment, modifiers: readonly Modifier[] | undefined, expression: Expression): ExportAssignment;
7753
- createExportDeclaration(modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression, assertClause?: AssertClause): ExportDeclaration;
7754
- updateExportDeclaration(node: ExportDeclaration, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier: Expression | undefined, assertClause: AssertClause | undefined): ExportDeclaration;
7742
+ createExportAssignment(modifiers: readonly ModifierLike[] | undefined, isExportEquals: boolean | undefined, expression: Expression): ExportAssignment;
7743
+ updateExportAssignment(node: ExportAssignment, modifiers: readonly ModifierLike[] | undefined, expression: Expression): ExportAssignment;
7744
+ createExportDeclaration(modifiers: readonly ModifierLike[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression, assertClause?: AssertClause): ExportDeclaration;
7745
+ updateExportDeclaration(node: ExportDeclaration, modifiers: readonly ModifierLike[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier: Expression | undefined, assertClause: AssertClause | undefined): ExportDeclaration;
7755
7746
  createNamedExports(elements: readonly ExportSpecifier[]): NamedExports;
7756
7747
  updateNamedExports(node: NamedExports, elements: readonly ExportSpecifier[]): NamedExports;
7757
7748
  createExportSpecifier(isTypeOnly: boolean, propertyName: string | Identifier | undefined, name: string | Identifier): ExportSpecifier;
@@ -7885,8 +7876,10 @@ declare namespace ts {
7885
7876
  updatePartiallyEmittedExpression(node: PartiallyEmittedExpression, expression: Expression): PartiallyEmittedExpression;
7886
7877
  createCommaListExpression(elements: readonly Expression[]): CommaListExpression;
7887
7878
  updateCommaListExpression(node: CommaListExpression, elements: readonly Expression[]): CommaListExpression;
7888
- createBundle(sourceFiles: readonly SourceFile[], prepends?: readonly (UnparsedSource | InputFiles)[]): Bundle;
7889
- 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;
7890
7883
  createComma(left: Expression, right: Expression): BinaryExpression;
7891
7884
  createAssignment(left: ObjectLiteralExpression | ArrayLiteralExpression, right: Expression): DestructuringAssignment;
7892
7885
  createAssignment(left: Expression, right: Expression): AssignmentExpression<EqualsToken>;
@@ -7929,179 +7922,6 @@ declare namespace ts {
7929
7922
  createExternalModuleExport(exportName: Identifier): ExportDeclaration;
7930
7923
  restoreOuterExpressions(outerExpression: Expression | undefined, innerExpression: Expression, kinds?: OuterExpressionKinds): Expression;
7931
7924
  }
7932
- interface NodeFactory {
7933
- /** @deprecated Use the overload that accepts 'modifiers' */
7934
- createConstructorTypeNode(typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): ConstructorTypeNode;
7935
- /** @deprecated Use the overload that accepts 'modifiers' */
7936
- updateConstructorTypeNode(node: ConstructorTypeNode, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode): ConstructorTypeNode;
7937
- }
7938
- interface NodeFactory {
7939
- createImportTypeNode(argument: TypeNode, assertions?: ImportTypeAssertionContainer, qualifier?: EntityName, typeArguments?: readonly TypeNode[], isTypeOf?: boolean): ImportTypeNode;
7940
- /** @deprecated Use the overload that accepts 'assertions' */
7941
- createImportTypeNode(argument: TypeNode, qualifier?: EntityName, typeArguments?: readonly TypeNode[], isTypeOf?: boolean): ImportTypeNode;
7942
- /** @deprecated Use the overload that accepts 'assertions' */
7943
- updateImportTypeNode(node: ImportTypeNode, argument: TypeNode, qualifier: EntityName | undefined, typeArguments: readonly TypeNode[] | undefined, isTypeOf?: boolean): ImportTypeNode;
7944
- }
7945
- interface NodeFactory {
7946
- /** @deprecated Use the overload that accepts 'modifiers' */
7947
- createTypeParameterDeclaration(name: string | Identifier, constraint?: TypeNode, defaultType?: TypeNode): TypeParameterDeclaration;
7948
- /** @deprecated Use the overload that accepts 'modifiers' */
7949
- updateTypeParameterDeclaration(node: TypeParameterDeclaration, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined): TypeParameterDeclaration;
7950
- }
7951
- interface NodeFactory {
7952
- /**
7953
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
7954
- */
7955
- createParameterDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken?: QuestionToken, type?: TypeNode, initializer?: Expression): ParameterDeclaration;
7956
- /**
7957
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
7958
- */
7959
- 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;
7960
- /**
7961
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
7962
- */
7963
- createPropertyDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): PropertyDeclaration;
7964
- /**
7965
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
7966
- */
7967
- 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;
7968
- /**
7969
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
7970
- */
7971
- 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;
7972
- /**
7973
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
7974
- */
7975
- 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;
7976
- /**
7977
- * @deprecated This node does not support Decorators. Callers should use an overload that does not accept a `decorators` parameter.
7978
- */
7979
- createConstructorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
7980
- /**
7981
- * @deprecated This node does not support Decorators. Callers should use an overload that does not accept a `decorators` parameter.
7982
- */
7983
- updateConstructorDeclaration(node: ConstructorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
7984
- /**
7985
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
7986
- */
7987
- createGetAccessorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
7988
- /**
7989
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
7990
- */
7991
- updateGetAccessorDeclaration(node: GetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
7992
- /**
7993
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
7994
- */
7995
- createSetAccessorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
7996
- /**
7997
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
7998
- */
7999
- updateSetAccessorDeclaration(node: SetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
8000
- /**
8001
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8002
- */
8003
- createIndexSignature(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
8004
- /**
8005
- * @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.
8006
- */
8007
- updateIndexSignature(node: IndexSignatureDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
8008
- /**
8009
- * @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.
8010
- */
8011
- createClassStaticBlockDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, body: Block): ClassStaticBlockDeclaration;
8012
- /**
8013
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8014
- */
8015
- updateClassStaticBlockDeclaration(node: ClassStaticBlockDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, body: Block): ClassStaticBlockDeclaration;
8016
- /**
8017
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8018
- */
8019
- 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;
8020
- /**
8021
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8022
- */
8023
- 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;
8024
- /**
8025
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8026
- */
8027
- 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;
8028
- /**
8029
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8030
- */
8031
- 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;
8032
- /**
8033
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8034
- */
8035
- 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;
8036
- /**
8037
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8038
- */
8039
- 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;
8040
- /**
8041
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8042
- */
8043
- createInterfaceDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
8044
- /**
8045
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8046
- */
8047
- 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;
8048
- /**
8049
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8050
- */
8051
- createTypeAliasDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
8052
- /**
8053
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8054
- */
8055
- updateTypeAliasDeclaration(node: TypeAliasDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
8056
- /**
8057
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8058
- */
8059
- createEnumDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, members: readonly EnumMember[]): EnumDeclaration;
8060
- /**
8061
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8062
- */
8063
- updateEnumDeclaration(node: EnumDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, members: readonly EnumMember[]): EnumDeclaration;
8064
- /**
8065
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8066
- */
8067
- createModuleDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined, flags?: NodeFlags): ModuleDeclaration;
8068
- /**
8069
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8070
- */
8071
- updateModuleDeclaration(node: ModuleDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined): ModuleDeclaration;
8072
- /**
8073
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8074
- */
8075
- createImportEqualsDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: string | Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
8076
- /**
8077
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8078
- */
8079
- updateImportEqualsDeclaration(node: ImportEqualsDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
8080
- /**
8081
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8082
- */
8083
- createImportDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause?: AssertClause): ImportDeclaration;
8084
- /**
8085
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8086
- */
8087
- updateImportDeclaration(node: ImportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration;
8088
- /**
8089
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8090
- */
8091
- createExportAssignment(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression): ExportAssignment;
8092
- /**
8093
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8094
- */
8095
- updateExportAssignment(node: ExportAssignment, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, expression: Expression): ExportAssignment;
8096
- /**
8097
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8098
- */
8099
- createExportDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression, assertClause?: AssertClause): ExportDeclaration;
8100
- /**
8101
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8102
- */
8103
- updateExportDeclaration(node: ExportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier: Expression | undefined, assertClause: AssertClause | undefined): ExportDeclaration;
8104
- }
8105
7925
  interface CoreTransformationContext {
8106
7926
  readonly factory: NodeFactory;
8107
7927
  /** Gets the compiler options supplied to the transformer. */
@@ -8430,6 +8250,11 @@ declare namespace ts {
8430
8250
  readonly allowRenameOfImportPath?: boolean;
8431
8251
  readonly autoImportFileExcludePatterns?: string[];
8432
8252
  readonly organizeImportsIgnoreCase?: "auto" | boolean;
8253
+ readonly organizeImportsCollation?: "ordinal" | "unicode";
8254
+ readonly organizeImportsLocale?: string;
8255
+ readonly organizeImportsNumericCollation?: boolean;
8256
+ readonly organizeImportsAccentCollation?: boolean;
8257
+ readonly organizeImportsCaseFirst?: "upper" | "lower" | false;
8433
8258
  }
8434
8259
  /** Represents a bigint literal value without requiring bigint support */
8435
8260
  interface PseudoBigInt {
@@ -8760,7 +8585,9 @@ declare namespace ts {
8760
8585
  function isNonNullChain(node: Node): node is NonNullChain;
8761
8586
  function isBreakOrContinueStatement(node: Node): node is BreakOrContinueStatement;
8762
8587
  function isNamedExportBindings(node: Node): node is NamedExportBindings;
8588
+ /** @deprecated */
8763
8589
  function isUnparsedTextLike(node: Node): node is UnparsedTextLike;
8590
+ /** @deprecated */
8764
8591
  function isUnparsedNode(node: Node): node is UnparsedNode;
8765
8592
  function isJSDocPropertyLikeTag(node: Node): node is JSDocPropertyLikeTag;
8766
8593
  /**
@@ -8779,6 +8606,8 @@ declare namespace ts {
8779
8606
  function isTemplateLiteralToken(node: Node): node is TemplateLiteralToken;
8780
8607
  function isTemplateMiddleOrTemplateTail(node: Node): node is TemplateMiddle | TemplateTail;
8781
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;
8782
8611
  function isTypeOnlyImportOrExportDeclaration(node: Node): node is TypeOnlyAliasDeclaration;
8783
8612
  function isAssertionKey(node: Node): node is AssertionKey;
8784
8613
  function isStringTextContainingNode(node: Node): node is StringLiteral | TemplateLiteralToken;
@@ -8802,13 +8631,30 @@ declare namespace ts {
8802
8631
  */
8803
8632
  function isTypeNode(node: Node): node is TypeNode;
8804
8633
  function isFunctionOrConstructorTypeNode(node: Node): node is FunctionTypeNode | ConstructorTypeNode;
8634
+ function isArrayBindingElement(node: Node): node is ArrayBindingElement;
8805
8635
  function isPropertyAccessOrQualifiedName(node: Node): node is PropertyAccessExpression | QualifiedName;
8806
8636
  function isCallLikeExpression(node: Node): node is CallLikeExpression;
8807
8637
  function isCallOrNewExpression(node: Node): node is CallExpression | NewExpression;
8808
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;
8809
8645
  function isAssertionExpression(node: Node): node is AssertionExpression;
8810
8646
  function isIterationStatement(node: Node, lookInLabeledStatements: false): node is IterationStatement;
8811
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;
8812
8658
  function isJsxOpeningLikeElement(node: Node): node is JsxOpeningLikeElement;
8813
8659
  function isCaseOrDefaultClause(node: Node): node is CaseOrDefaultClause;
8814
8660
  /** True if node is of a kind that may contain comment text. */
@@ -8828,11 +8674,17 @@ declare namespace ts {
8828
8674
  name: Identifier;
8829
8675
  };
8830
8676
  function emitModuleKindIsNonNodeESM(moduleKind: ModuleKind): boolean;
8677
+ /** @deprecated */
8831
8678
  function createUnparsedSourceFile(text: string): UnparsedSource;
8679
+ /** @deprecated */
8832
8680
  function createUnparsedSourceFile(inputFile: InputFiles, type: "js" | "dts", stripInternal?: boolean): UnparsedSource;
8681
+ /** @deprecated */
8833
8682
  function createUnparsedSourceFile(text: string, mapPath: string | undefined, map: string | undefined): UnparsedSource;
8683
+ /** @deprecated */
8834
8684
  function createInputFiles(javascriptText: string, declarationText: string): InputFiles;
8685
+ /** @deprecated */
8835
8686
  function createInputFiles(javascriptText: string, declarationText: string, javascriptMapPath: string | undefined, javascriptMapText: string | undefined, declarationMapPath: string | undefined, declarationMapText: string | undefined): InputFiles;
8687
+ /** @deprecated */
8836
8688
  function createInputFiles(readFileText: (path: string) => string | undefined, javascriptPath: string, javascriptMapPath: string | undefined, declarationPath: string, declarationMapPath: string | undefined, buildInfoPath: string | undefined): InputFiles;
8837
8689
  /**
8838
8690
  * Create an external source map source file reference
@@ -8921,8 +8773,15 @@ declare namespace ts {
8921
8773
  function isPlusToken(node: Node): node is PlusToken;
8922
8774
  function isMinusToken(node: Node): node is MinusToken;
8923
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;
8924
8781
  function isIdentifier(node: Node): node is Identifier;
8925
8782
  function isPrivateIdentifier(node: Node): node is PrivateIdentifier;
8783
+ function isAssertsKeyword(node: Node): node is AssertsKeyword;
8784
+ function isAwaitKeyword(node: Node): node is AwaitKeyword;
8926
8785
  function isQualifiedName(node: Node): node is QualifiedName;
8927
8786
  function isComputedPropertyName(node: Node): node is ComputedPropertyName;
8928
8787
  function isTypeParameterDeclaration(node: Node): node is TypeParameterDeclaration;
@@ -9066,9 +8925,11 @@ declare namespace ts {
9066
8925
  function isShorthandPropertyAssignment(node: Node): node is ShorthandPropertyAssignment;
9067
8926
  function isSpreadAssignment(node: Node): node is SpreadAssignment;
9068
8927
  function isEnumMember(node: Node): node is EnumMember;
8928
+ /** @deprecated */
9069
8929
  function isUnparsedPrepend(node: Node): node is UnparsedPrepend;
9070
8930
  function isSourceFile(node: Node): node is SourceFile;
9071
8931
  function isBundle(node: Node): node is Bundle;
8932
+ /** @deprecated */
9072
8933
  function isUnparsedSource(node: Node): node is UnparsedSource;
9073
8934
  function isJSDocTypeExpression(node: Node): node is JSDocTypeExpression;
9074
8935
  function isJSDocNameReference(node: Node): node is JSDocNameReference;
@@ -9111,6 +8972,12 @@ declare namespace ts {
9111
8972
  function isJSDocImplementsTag(node: Node): node is JSDocImplementsTag;
9112
8973
  function isJSDocSatisfiesTag(node: Node): node is JSDocSatisfiesTag;
9113
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;
9114
8981
  function setTextRange<T extends TextRange>(range: T, location: TextRange | undefined): T;
9115
8982
  function canHaveModifiers(node: Node): node is HasModifiers;
9116
8983
  function canHaveDecorators(node: Node): node is HasDecorators;
@@ -9407,6 +9274,12 @@ declare namespace ts {
9407
9274
  * Visits an iteration body, adding any block-scoped variables required by the transformation.
9408
9275
  */
9409
9276
  function visitIterationBody(body: Statement, visitor: Visitor, context: TransformationContext): Statement;
9277
+ /**
9278
+ * Visits the elements of a {@link CommaListExpression}.
9279
+ * @param visitor The visitor to use when visiting expressions whose result will not be discarded at runtime.
9280
+ * @param discardVisitor The visitor to use when visiting expressions whose result will be discarded at runtime. Defaults to {@link visitor}.
9281
+ */
9282
+ function visitCommaListElements(elements: NodeArray<Expression>, visitor: Visitor, discardVisitor?: Visitor): NodeArray<Expression>;
9410
9283
  /**
9411
9284
  * Visits each child of a Node using the supplied visitor, possibly returning a new Node of the same kind in its place.
9412
9285
  *
@@ -9502,15 +9375,11 @@ declare namespace ts {
9502
9375
  * Note: The file might not exist.
9503
9376
  */
9504
9377
  function resolveProjectReferencePath(ref: ProjectReference): ResolvedConfigFileName;
9505
- /** @deprecated */ function resolveProjectReferencePath(host: ResolveProjectReferencePathHost, ref: ProjectReference): ResolvedConfigFileName;
9506
9378
  interface FormatDiagnosticsHost {
9507
9379
  getCurrentDirectory(): string;
9508
9380
  getCanonicalFileName(fileName: string): string;
9509
9381
  getNewLine(): string;
9510
9382
  }
9511
- /** @deprecated */ interface ResolveProjectReferencePathHost {
9512
- fileExists(fileName: string): boolean;
9513
- }
9514
9383
  interface EmitOutput {
9515
9384
  outputFiles: OutputFile[];
9516
9385
  emitSkipped: boolean;
@@ -9853,7 +9722,7 @@ declare namespace ts {
9853
9722
  }
9854
9723
  enum InvalidatedProjectKind {
9855
9724
  Build = 0,
9856
- UpdateBundle = 1,
9725
+ /** @deprecated */ UpdateBundle = 1,
9857
9726
  UpdateOutputFileStamps = 2
9858
9727
  }
9859
9728
  interface InvalidatedProjectBase {
@@ -9885,6 +9754,7 @@ declare namespace ts {
9885
9754
  getSemanticDiagnosticsOfNextAffectedFile(cancellationToken?: CancellationToken, ignoreSourceFile?: (sourceFile: SourceFile) => boolean): AffectedFileResult<readonly Diagnostic[]>;
9886
9755
  emit(targetSourceFile?: SourceFile, writeFile?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnlyDtsFiles?: boolean, customTransformers?: CustomTransformers): EmitResult | undefined;
9887
9756
  }
9757
+ /** @deprecated */
9888
9758
  interface UpdateBundleProject<T extends BuilderProgram> extends InvalidatedProjectBase {
9889
9759
  readonly kind: InvalidatedProjectKind.UpdateBundle;
9890
9760
  emit(writeFile?: WriteFileCallback, customTransformers?: CustomTransformers): EmitResult | BuildInvalidedProject<T> | undefined;
@@ -11152,738 +11022,5 @@ declare namespace ts {
11152
11022
  * @param compilerOptions Optional compiler options.
11153
11023
  */
11154
11024
  function transform<T extends Node>(source: T | T[], transformers: TransformerFactory<T>[], compilerOptions?: CompilerOptions): TransformationResult<T>;
11155
- /** @deprecated Use `factory.createNodeArray` or the factory supplied by your transformation context instead. */
11156
- const createNodeArray: typeof factory.createNodeArray;
11157
- /** @deprecated Use `factory.createNumericLiteral` or the factory supplied by your transformation context instead. */
11158
- const createNumericLiteral: typeof factory.createNumericLiteral;
11159
- /** @deprecated Use `factory.createBigIntLiteral` or the factory supplied by your transformation context instead. */
11160
- const createBigIntLiteral: typeof factory.createBigIntLiteral;
11161
- /** @deprecated Use `factory.createStringLiteral` or the factory supplied by your transformation context instead. */
11162
- const createStringLiteral: typeof factory.createStringLiteral;
11163
- /** @deprecated Use `factory.createStringLiteralFromNode` or the factory supplied by your transformation context instead. */
11164
- const createStringLiteralFromNode: typeof factory.createStringLiteralFromNode;
11165
- /** @deprecated Use `factory.createRegularExpressionLiteral` or the factory supplied by your transformation context instead. */
11166
- const createRegularExpressionLiteral: typeof factory.createRegularExpressionLiteral;
11167
- /** @deprecated Use `factory.createLoopVariable` or the factory supplied by your transformation context instead. */
11168
- const createLoopVariable: typeof factory.createLoopVariable;
11169
- /** @deprecated Use `factory.createUniqueName` or the factory supplied by your transformation context instead. */
11170
- const createUniqueName: typeof factory.createUniqueName;
11171
- /** @deprecated Use `factory.createPrivateIdentifier` or the factory supplied by your transformation context instead. */
11172
- const createPrivateIdentifier: typeof factory.createPrivateIdentifier;
11173
- /** @deprecated Use `factory.createSuper` or the factory supplied by your transformation context instead. */
11174
- const createSuper: typeof factory.createSuper;
11175
- /** @deprecated Use `factory.createThis` or the factory supplied by your transformation context instead. */
11176
- const createThis: typeof factory.createThis;
11177
- /** @deprecated Use `factory.createNull` or the factory supplied by your transformation context instead. */
11178
- const createNull: typeof factory.createNull;
11179
- /** @deprecated Use `factory.createTrue` or the factory supplied by your transformation context instead. */
11180
- const createTrue: typeof factory.createTrue;
11181
- /** @deprecated Use `factory.createFalse` or the factory supplied by your transformation context instead. */
11182
- const createFalse: typeof factory.createFalse;
11183
- /** @deprecated Use `factory.createModifier` or the factory supplied by your transformation context instead. */
11184
- const createModifier: typeof factory.createModifier;
11185
- /** @deprecated Use `factory.createModifiersFromModifierFlags` or the factory supplied by your transformation context instead. */
11186
- const createModifiersFromModifierFlags: typeof factory.createModifiersFromModifierFlags;
11187
- /** @deprecated Use `factory.createQualifiedName` or the factory supplied by your transformation context instead. */
11188
- const createQualifiedName: typeof factory.createQualifiedName;
11189
- /** @deprecated Use `factory.updateQualifiedName` or the factory supplied by your transformation context instead. */
11190
- const updateQualifiedName: typeof factory.updateQualifiedName;
11191
- /** @deprecated Use `factory.createComputedPropertyName` or the factory supplied by your transformation context instead. */
11192
- const createComputedPropertyName: typeof factory.createComputedPropertyName;
11193
- /** @deprecated Use `factory.updateComputedPropertyName` or the factory supplied by your transformation context instead. */
11194
- const updateComputedPropertyName: typeof factory.updateComputedPropertyName;
11195
- /** @deprecated Use `factory.createTypeParameterDeclaration` or the factory supplied by your transformation context instead. */
11196
- const createTypeParameterDeclaration: typeof factory.createTypeParameterDeclaration;
11197
- /** @deprecated Use `factory.updateTypeParameterDeclaration` or the factory supplied by your transformation context instead. */
11198
- const updateTypeParameterDeclaration: typeof factory.updateTypeParameterDeclaration;
11199
- /** @deprecated Use `factory.createParameterDeclaration` or the factory supplied by your transformation context instead. */
11200
- const createParameter: typeof factory.createParameterDeclaration;
11201
- /** @deprecated Use `factory.updateParameterDeclaration` or the factory supplied by your transformation context instead. */
11202
- const updateParameter: typeof factory.updateParameterDeclaration;
11203
- /** @deprecated Use `factory.createDecorator` or the factory supplied by your transformation context instead. */
11204
- const createDecorator: typeof factory.createDecorator;
11205
- /** @deprecated Use `factory.updateDecorator` or the factory supplied by your transformation context instead. */
11206
- const updateDecorator: typeof factory.updateDecorator;
11207
- /** @deprecated Use `factory.createPropertyDeclaration` or the factory supplied by your transformation context instead. */
11208
- const createProperty: typeof factory.createPropertyDeclaration;
11209
- /** @deprecated Use `factory.updatePropertyDeclaration` or the factory supplied by your transformation context instead. */
11210
- const updateProperty: typeof factory.updatePropertyDeclaration;
11211
- /** @deprecated Use `factory.createMethodDeclaration` or the factory supplied by your transformation context instead. */
11212
- const createMethod: typeof factory.createMethodDeclaration;
11213
- /** @deprecated Use `factory.updateMethodDeclaration` or the factory supplied by your transformation context instead. */
11214
- const updateMethod: typeof factory.updateMethodDeclaration;
11215
- /** @deprecated Use `factory.createConstructorDeclaration` or the factory supplied by your transformation context instead. */
11216
- const createConstructor: typeof factory.createConstructorDeclaration;
11217
- /** @deprecated Use `factory.updateConstructorDeclaration` or the factory supplied by your transformation context instead. */
11218
- const updateConstructor: typeof factory.updateConstructorDeclaration;
11219
- /** @deprecated Use `factory.createGetAccessorDeclaration` or the factory supplied by your transformation context instead. */
11220
- const createGetAccessor: typeof factory.createGetAccessorDeclaration;
11221
- /** @deprecated Use `factory.updateGetAccessorDeclaration` or the factory supplied by your transformation context instead. */
11222
- const updateGetAccessor: typeof factory.updateGetAccessorDeclaration;
11223
- /** @deprecated Use `factory.createSetAccessorDeclaration` or the factory supplied by your transformation context instead. */
11224
- const createSetAccessor: typeof factory.createSetAccessorDeclaration;
11225
- /** @deprecated Use `factory.updateSetAccessorDeclaration` or the factory supplied by your transformation context instead. */
11226
- const updateSetAccessor: typeof factory.updateSetAccessorDeclaration;
11227
- /** @deprecated Use `factory.createCallSignature` or the factory supplied by your transformation context instead. */
11228
- const createCallSignature: typeof factory.createCallSignature;
11229
- /** @deprecated Use `factory.updateCallSignature` or the factory supplied by your transformation context instead. */
11230
- const updateCallSignature: typeof factory.updateCallSignature;
11231
- /** @deprecated Use `factory.createConstructSignature` or the factory supplied by your transformation context instead. */
11232
- const createConstructSignature: typeof factory.createConstructSignature;
11233
- /** @deprecated Use `factory.updateConstructSignature` or the factory supplied by your transformation context instead. */
11234
- const updateConstructSignature: typeof factory.updateConstructSignature;
11235
- /** @deprecated Use `factory.updateIndexSignature` or the factory supplied by your transformation context instead. */
11236
- const updateIndexSignature: typeof factory.updateIndexSignature;
11237
- /** @deprecated Use `factory.createKeywordTypeNode` or the factory supplied by your transformation context instead. */
11238
- const createKeywordTypeNode: typeof factory.createKeywordTypeNode;
11239
- /** @deprecated Use `factory.createTypePredicateNode` or the factory supplied by your transformation context instead. */
11240
- const createTypePredicateNodeWithModifier: typeof factory.createTypePredicateNode;
11241
- /** @deprecated Use `factory.updateTypePredicateNode` or the factory supplied by your transformation context instead. */
11242
- const updateTypePredicateNodeWithModifier: typeof factory.updateTypePredicateNode;
11243
- /** @deprecated Use `factory.createTypeReferenceNode` or the factory supplied by your transformation context instead. */
11244
- const createTypeReferenceNode: typeof factory.createTypeReferenceNode;
11245
- /** @deprecated Use `factory.updateTypeReferenceNode` or the factory supplied by your transformation context instead. */
11246
- const updateTypeReferenceNode: typeof factory.updateTypeReferenceNode;
11247
- /** @deprecated Use `factory.createFunctionTypeNode` or the factory supplied by your transformation context instead. */
11248
- const createFunctionTypeNode: typeof factory.createFunctionTypeNode;
11249
- /** @deprecated Use `factory.updateFunctionTypeNode` or the factory supplied by your transformation context instead. */
11250
- const updateFunctionTypeNode: typeof factory.updateFunctionTypeNode;
11251
- /** @deprecated Use `factory.createConstructorTypeNode` or the factory supplied by your transformation context instead. */
11252
- const createConstructorTypeNode: (typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode) => ConstructorTypeNode;
11253
- /** @deprecated Use `factory.updateConstructorTypeNode` or the factory supplied by your transformation context instead. */
11254
- const updateConstructorTypeNode: (node: ConstructorTypeNode, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode) => ConstructorTypeNode;
11255
- /** @deprecated Use `factory.createTypeQueryNode` or the factory supplied by your transformation context instead. */
11256
- const createTypeQueryNode: typeof factory.createTypeQueryNode;
11257
- /** @deprecated Use `factory.updateTypeQueryNode` or the factory supplied by your transformation context instead. */
11258
- const updateTypeQueryNode: typeof factory.updateTypeQueryNode;
11259
- /** @deprecated Use `factory.createTypeLiteralNode` or the factory supplied by your transformation context instead. */
11260
- const createTypeLiteralNode: typeof factory.createTypeLiteralNode;
11261
- /** @deprecated Use `factory.updateTypeLiteralNode` or the factory supplied by your transformation context instead. */
11262
- const updateTypeLiteralNode: typeof factory.updateTypeLiteralNode;
11263
- /** @deprecated Use `factory.createArrayTypeNode` or the factory supplied by your transformation context instead. */
11264
- const createArrayTypeNode: typeof factory.createArrayTypeNode;
11265
- /** @deprecated Use `factory.updateArrayTypeNode` or the factory supplied by your transformation context instead. */
11266
- const updateArrayTypeNode: typeof factory.updateArrayTypeNode;
11267
- /** @deprecated Use `factory.createTupleTypeNode` or the factory supplied by your transformation context instead. */
11268
- const createTupleTypeNode: typeof factory.createTupleTypeNode;
11269
- /** @deprecated Use `factory.updateTupleTypeNode` or the factory supplied by your transformation context instead. */
11270
- const updateTupleTypeNode: typeof factory.updateTupleTypeNode;
11271
- /** @deprecated Use `factory.createOptionalTypeNode` or the factory supplied by your transformation context instead. */
11272
- const createOptionalTypeNode: typeof factory.createOptionalTypeNode;
11273
- /** @deprecated Use `factory.updateOptionalTypeNode` or the factory supplied by your transformation context instead. */
11274
- const updateOptionalTypeNode: typeof factory.updateOptionalTypeNode;
11275
- /** @deprecated Use `factory.createRestTypeNode` or the factory supplied by your transformation context instead. */
11276
- const createRestTypeNode: typeof factory.createRestTypeNode;
11277
- /** @deprecated Use `factory.updateRestTypeNode` or the factory supplied by your transformation context instead. */
11278
- const updateRestTypeNode: typeof factory.updateRestTypeNode;
11279
- /** @deprecated Use `factory.createUnionTypeNode` or the factory supplied by your transformation context instead. */
11280
- const createUnionTypeNode: typeof factory.createUnionTypeNode;
11281
- /** @deprecated Use `factory.updateUnionTypeNode` or the factory supplied by your transformation context instead. */
11282
- const updateUnionTypeNode: typeof factory.updateUnionTypeNode;
11283
- /** @deprecated Use `factory.createIntersectionTypeNode` or the factory supplied by your transformation context instead. */
11284
- const createIntersectionTypeNode: typeof factory.createIntersectionTypeNode;
11285
- /** @deprecated Use `factory.updateIntersectionTypeNode` or the factory supplied by your transformation context instead. */
11286
- const updateIntersectionTypeNode: typeof factory.updateIntersectionTypeNode;
11287
- /** @deprecated Use `factory.createConditionalTypeNode` or the factory supplied by your transformation context instead. */
11288
- const createConditionalTypeNode: typeof factory.createConditionalTypeNode;
11289
- /** @deprecated Use `factory.updateConditionalTypeNode` or the factory supplied by your transformation context instead. */
11290
- const updateConditionalTypeNode: typeof factory.updateConditionalTypeNode;
11291
- /** @deprecated Use `factory.createInferTypeNode` or the factory supplied by your transformation context instead. */
11292
- const createInferTypeNode: typeof factory.createInferTypeNode;
11293
- /** @deprecated Use `factory.updateInferTypeNode` or the factory supplied by your transformation context instead. */
11294
- const updateInferTypeNode: typeof factory.updateInferTypeNode;
11295
- /** @deprecated Use `factory.createImportTypeNode` or the factory supplied by your transformation context instead. */
11296
- const createImportTypeNode: typeof factory.createImportTypeNode;
11297
- /** @deprecated Use `factory.updateImportTypeNode` or the factory supplied by your transformation context instead. */
11298
- const updateImportTypeNode: typeof factory.updateImportTypeNode;
11299
- /** @deprecated Use `factory.createParenthesizedType` or the factory supplied by your transformation context instead. */
11300
- const createParenthesizedType: typeof factory.createParenthesizedType;
11301
- /** @deprecated Use `factory.updateParenthesizedType` or the factory supplied by your transformation context instead. */
11302
- const updateParenthesizedType: typeof factory.updateParenthesizedType;
11303
- /** @deprecated Use `factory.createThisTypeNode` or the factory supplied by your transformation context instead. */
11304
- const createThisTypeNode: typeof factory.createThisTypeNode;
11305
- /** @deprecated Use `factory.updateTypeOperatorNode` or the factory supplied by your transformation context instead. */
11306
- const updateTypeOperatorNode: typeof factory.updateTypeOperatorNode;
11307
- /** @deprecated Use `factory.createIndexedAccessTypeNode` or the factory supplied by your transformation context instead. */
11308
- const createIndexedAccessTypeNode: typeof factory.createIndexedAccessTypeNode;
11309
- /** @deprecated Use `factory.updateIndexedAccessTypeNode` or the factory supplied by your transformation context instead. */
11310
- const updateIndexedAccessTypeNode: typeof factory.updateIndexedAccessTypeNode;
11311
- /** @deprecated Use `factory.createMappedTypeNode` or the factory supplied by your transformation context instead. */
11312
- const createMappedTypeNode: typeof factory.createMappedTypeNode;
11313
- /** @deprecated Use `factory.updateMappedTypeNode` or the factory supplied by your transformation context instead. */
11314
- const updateMappedTypeNode: typeof factory.updateMappedTypeNode;
11315
- /** @deprecated Use `factory.createLiteralTypeNode` or the factory supplied by your transformation context instead. */
11316
- const createLiteralTypeNode: typeof factory.createLiteralTypeNode;
11317
- /** @deprecated Use `factory.updateLiteralTypeNode` or the factory supplied by your transformation context instead. */
11318
- const updateLiteralTypeNode: typeof factory.updateLiteralTypeNode;
11319
- /** @deprecated Use `factory.createObjectBindingPattern` or the factory supplied by your transformation context instead. */
11320
- const createObjectBindingPattern: typeof factory.createObjectBindingPattern;
11321
- /** @deprecated Use `factory.updateObjectBindingPattern` or the factory supplied by your transformation context instead. */
11322
- const updateObjectBindingPattern: typeof factory.updateObjectBindingPattern;
11323
- /** @deprecated Use `factory.createArrayBindingPattern` or the factory supplied by your transformation context instead. */
11324
- const createArrayBindingPattern: typeof factory.createArrayBindingPattern;
11325
- /** @deprecated Use `factory.updateArrayBindingPattern` or the factory supplied by your transformation context instead. */
11326
- const updateArrayBindingPattern: typeof factory.updateArrayBindingPattern;
11327
- /** @deprecated Use `factory.createBindingElement` or the factory supplied by your transformation context instead. */
11328
- const createBindingElement: typeof factory.createBindingElement;
11329
- /** @deprecated Use `factory.updateBindingElement` or the factory supplied by your transformation context instead. */
11330
- const updateBindingElement: typeof factory.updateBindingElement;
11331
- /** @deprecated Use `factory.createArrayLiteralExpression` or the factory supplied by your transformation context instead. */
11332
- const createArrayLiteral: typeof factory.createArrayLiteralExpression;
11333
- /** @deprecated Use `factory.updateArrayLiteralExpression` or the factory supplied by your transformation context instead. */
11334
- const updateArrayLiteral: typeof factory.updateArrayLiteralExpression;
11335
- /** @deprecated Use `factory.createObjectLiteralExpression` or the factory supplied by your transformation context instead. */
11336
- const createObjectLiteral: typeof factory.createObjectLiteralExpression;
11337
- /** @deprecated Use `factory.updateObjectLiteralExpression` or the factory supplied by your transformation context instead. */
11338
- const updateObjectLiteral: typeof factory.updateObjectLiteralExpression;
11339
- /** @deprecated Use `factory.createPropertyAccessExpression` or the factory supplied by your transformation context instead. */
11340
- const createPropertyAccess: typeof factory.createPropertyAccessExpression;
11341
- /** @deprecated Use `factory.updatePropertyAccessExpression` or the factory supplied by your transformation context instead. */
11342
- const updatePropertyAccess: typeof factory.updatePropertyAccessExpression;
11343
- /** @deprecated Use `factory.createPropertyAccessChain` or the factory supplied by your transformation context instead. */
11344
- const createPropertyAccessChain: typeof factory.createPropertyAccessChain;
11345
- /** @deprecated Use `factory.updatePropertyAccessChain` or the factory supplied by your transformation context instead. */
11346
- const updatePropertyAccessChain: typeof factory.updatePropertyAccessChain;
11347
- /** @deprecated Use `factory.createElementAccessExpression` or the factory supplied by your transformation context instead. */
11348
- const createElementAccess: typeof factory.createElementAccessExpression;
11349
- /** @deprecated Use `factory.updateElementAccessExpression` or the factory supplied by your transformation context instead. */
11350
- const updateElementAccess: typeof factory.updateElementAccessExpression;
11351
- /** @deprecated Use `factory.createElementAccessChain` or the factory supplied by your transformation context instead. */
11352
- const createElementAccessChain: typeof factory.createElementAccessChain;
11353
- /** @deprecated Use `factory.updateElementAccessChain` or the factory supplied by your transformation context instead. */
11354
- const updateElementAccessChain: typeof factory.updateElementAccessChain;
11355
- /** @deprecated Use `factory.createCallExpression` or the factory supplied by your transformation context instead. */
11356
- const createCall: typeof factory.createCallExpression;
11357
- /** @deprecated Use `factory.updateCallExpression` or the factory supplied by your transformation context instead. */
11358
- const updateCall: typeof factory.updateCallExpression;
11359
- /** @deprecated Use `factory.createCallChain` or the factory supplied by your transformation context instead. */
11360
- const createCallChain: typeof factory.createCallChain;
11361
- /** @deprecated Use `factory.updateCallChain` or the factory supplied by your transformation context instead. */
11362
- const updateCallChain: typeof factory.updateCallChain;
11363
- /** @deprecated Use `factory.createNewExpression` or the factory supplied by your transformation context instead. */
11364
- const createNew: typeof factory.createNewExpression;
11365
- /** @deprecated Use `factory.updateNewExpression` or the factory supplied by your transformation context instead. */
11366
- const updateNew: typeof factory.updateNewExpression;
11367
- /** @deprecated Use `factory.createTypeAssertion` or the factory supplied by your transformation context instead. */
11368
- const createTypeAssertion: typeof factory.createTypeAssertion;
11369
- /** @deprecated Use `factory.updateTypeAssertion` or the factory supplied by your transformation context instead. */
11370
- const updateTypeAssertion: typeof factory.updateTypeAssertion;
11371
- /** @deprecated Use `factory.createParenthesizedExpression` or the factory supplied by your transformation context instead. */
11372
- const createParen: typeof factory.createParenthesizedExpression;
11373
- /** @deprecated Use `factory.updateParenthesizedExpression` or the factory supplied by your transformation context instead. */
11374
- const updateParen: typeof factory.updateParenthesizedExpression;
11375
- /** @deprecated Use `factory.createFunctionExpression` or the factory supplied by your transformation context instead. */
11376
- const createFunctionExpression: typeof factory.createFunctionExpression;
11377
- /** @deprecated Use `factory.updateFunctionExpression` or the factory supplied by your transformation context instead. */
11378
- const updateFunctionExpression: typeof factory.updateFunctionExpression;
11379
- /** @deprecated Use `factory.createDeleteExpression` or the factory supplied by your transformation context instead. */
11380
- const createDelete: typeof factory.createDeleteExpression;
11381
- /** @deprecated Use `factory.updateDeleteExpression` or the factory supplied by your transformation context instead. */
11382
- const updateDelete: typeof factory.updateDeleteExpression;
11383
- /** @deprecated Use `factory.createTypeOfExpression` or the factory supplied by your transformation context instead. */
11384
- const createTypeOf: typeof factory.createTypeOfExpression;
11385
- /** @deprecated Use `factory.updateTypeOfExpression` or the factory supplied by your transformation context instead. */
11386
- const updateTypeOf: typeof factory.updateTypeOfExpression;
11387
- /** @deprecated Use `factory.createVoidExpression` or the factory supplied by your transformation context instead. */
11388
- const createVoid: typeof factory.createVoidExpression;
11389
- /** @deprecated Use `factory.updateVoidExpression` or the factory supplied by your transformation context instead. */
11390
- const updateVoid: typeof factory.updateVoidExpression;
11391
- /** @deprecated Use `factory.createAwaitExpression` or the factory supplied by your transformation context instead. */
11392
- const createAwait: typeof factory.createAwaitExpression;
11393
- /** @deprecated Use `factory.updateAwaitExpression` or the factory supplied by your transformation context instead. */
11394
- const updateAwait: typeof factory.updateAwaitExpression;
11395
- /** @deprecated Use `factory.createPrefixExpression` or the factory supplied by your transformation context instead. */
11396
- const createPrefix: typeof factory.createPrefixUnaryExpression;
11397
- /** @deprecated Use `factory.updatePrefixExpression` or the factory supplied by your transformation context instead. */
11398
- const updatePrefix: typeof factory.updatePrefixUnaryExpression;
11399
- /** @deprecated Use `factory.createPostfixUnaryExpression` or the factory supplied by your transformation context instead. */
11400
- const createPostfix: typeof factory.createPostfixUnaryExpression;
11401
- /** @deprecated Use `factory.updatePostfixUnaryExpression` or the factory supplied by your transformation context instead. */
11402
- const updatePostfix: typeof factory.updatePostfixUnaryExpression;
11403
- /** @deprecated Use `factory.createBinaryExpression` or the factory supplied by your transformation context instead. */
11404
- const createBinary: typeof factory.createBinaryExpression;
11405
- /** @deprecated Use `factory.updateConditionalExpression` or the factory supplied by your transformation context instead. */
11406
- const updateConditional: typeof factory.updateConditionalExpression;
11407
- /** @deprecated Use `factory.createTemplateExpression` or the factory supplied by your transformation context instead. */
11408
- const createTemplateExpression: typeof factory.createTemplateExpression;
11409
- /** @deprecated Use `factory.updateTemplateExpression` or the factory supplied by your transformation context instead. */
11410
- const updateTemplateExpression: typeof factory.updateTemplateExpression;
11411
- /** @deprecated Use `factory.createTemplateHead` or the factory supplied by your transformation context instead. */
11412
- const createTemplateHead: typeof factory.createTemplateHead;
11413
- /** @deprecated Use `factory.createTemplateMiddle` or the factory supplied by your transformation context instead. */
11414
- const createTemplateMiddle: typeof factory.createTemplateMiddle;
11415
- /** @deprecated Use `factory.createTemplateTail` or the factory supplied by your transformation context instead. */
11416
- const createTemplateTail: typeof factory.createTemplateTail;
11417
- /** @deprecated Use `factory.createNoSubstitutionTemplateLiteral` or the factory supplied by your transformation context instead. */
11418
- const createNoSubstitutionTemplateLiteral: typeof factory.createNoSubstitutionTemplateLiteral;
11419
- /** @deprecated Use `factory.updateYieldExpression` or the factory supplied by your transformation context instead. */
11420
- const updateYield: typeof factory.updateYieldExpression;
11421
- /** @deprecated Use `factory.createSpreadExpression` or the factory supplied by your transformation context instead. */
11422
- const createSpread: typeof factory.createSpreadElement;
11423
- /** @deprecated Use `factory.updateSpreadExpression` or the factory supplied by your transformation context instead. */
11424
- const updateSpread: typeof factory.updateSpreadElement;
11425
- /** @deprecated Use `factory.createOmittedExpression` or the factory supplied by your transformation context instead. */
11426
- const createOmittedExpression: typeof factory.createOmittedExpression;
11427
- /** @deprecated Use `factory.createAsExpression` or the factory supplied by your transformation context instead. */
11428
- const createAsExpression: typeof factory.createAsExpression;
11429
- /** @deprecated Use `factory.updateAsExpression` or the factory supplied by your transformation context instead. */
11430
- const updateAsExpression: typeof factory.updateAsExpression;
11431
- /** @deprecated Use `factory.createNonNullExpression` or the factory supplied by your transformation context instead. */
11432
- const createNonNullExpression: typeof factory.createNonNullExpression;
11433
- /** @deprecated Use `factory.updateNonNullExpression` or the factory supplied by your transformation context instead. */
11434
- const updateNonNullExpression: typeof factory.updateNonNullExpression;
11435
- /** @deprecated Use `factory.createNonNullChain` or the factory supplied by your transformation context instead. */
11436
- const createNonNullChain: typeof factory.createNonNullChain;
11437
- /** @deprecated Use `factory.updateNonNullChain` or the factory supplied by your transformation context instead. */
11438
- const updateNonNullChain: typeof factory.updateNonNullChain;
11439
- /** @deprecated Use `factory.createMetaProperty` or the factory supplied by your transformation context instead. */
11440
- const createMetaProperty: typeof factory.createMetaProperty;
11441
- /** @deprecated Use `factory.updateMetaProperty` or the factory supplied by your transformation context instead. */
11442
- const updateMetaProperty: typeof factory.updateMetaProperty;
11443
- /** @deprecated Use `factory.createTemplateSpan` or the factory supplied by your transformation context instead. */
11444
- const createTemplateSpan: typeof factory.createTemplateSpan;
11445
- /** @deprecated Use `factory.updateTemplateSpan` or the factory supplied by your transformation context instead. */
11446
- const updateTemplateSpan: typeof factory.updateTemplateSpan;
11447
- /** @deprecated Use `factory.createSemicolonClassElement` or the factory supplied by your transformation context instead. */
11448
- const createSemicolonClassElement: typeof factory.createSemicolonClassElement;
11449
- /** @deprecated Use `factory.createBlock` or the factory supplied by your transformation context instead. */
11450
- const createBlock: typeof factory.createBlock;
11451
- /** @deprecated Use `factory.updateBlock` or the factory supplied by your transformation context instead. */
11452
- const updateBlock: typeof factory.updateBlock;
11453
- /** @deprecated Use `factory.createVariableStatement` or the factory supplied by your transformation context instead. */
11454
- const createVariableStatement: typeof factory.createVariableStatement;
11455
- /** @deprecated Use `factory.updateVariableStatement` or the factory supplied by your transformation context instead. */
11456
- const updateVariableStatement: typeof factory.updateVariableStatement;
11457
- /** @deprecated Use `factory.createEmptyStatement` or the factory supplied by your transformation context instead. */
11458
- const createEmptyStatement: typeof factory.createEmptyStatement;
11459
- /** @deprecated Use `factory.createExpressionStatement` or the factory supplied by your transformation context instead. */
11460
- const createExpressionStatement: typeof factory.createExpressionStatement;
11461
- /** @deprecated Use `factory.updateExpressionStatement` or the factory supplied by your transformation context instead. */
11462
- const updateExpressionStatement: typeof factory.updateExpressionStatement;
11463
- /** @deprecated Use `factory.createExpressionStatement` or the factory supplied by your transformation context instead. */
11464
- const createStatement: typeof factory.createExpressionStatement;
11465
- /** @deprecated Use `factory.updateExpressionStatement` or the factory supplied by your transformation context instead. */
11466
- const updateStatement: typeof factory.updateExpressionStatement;
11467
- /** @deprecated Use `factory.createIfStatement` or the factory supplied by your transformation context instead. */
11468
- const createIf: typeof factory.createIfStatement;
11469
- /** @deprecated Use `factory.updateIfStatement` or the factory supplied by your transformation context instead. */
11470
- const updateIf: typeof factory.updateIfStatement;
11471
- /** @deprecated Use `factory.createDoStatement` or the factory supplied by your transformation context instead. */
11472
- const createDo: typeof factory.createDoStatement;
11473
- /** @deprecated Use `factory.updateDoStatement` or the factory supplied by your transformation context instead. */
11474
- const updateDo: typeof factory.updateDoStatement;
11475
- /** @deprecated Use `factory.createWhileStatement` or the factory supplied by your transformation context instead. */
11476
- const createWhile: typeof factory.createWhileStatement;
11477
- /** @deprecated Use `factory.updateWhileStatement` or the factory supplied by your transformation context instead. */
11478
- const updateWhile: typeof factory.updateWhileStatement;
11479
- /** @deprecated Use `factory.createForStatement` or the factory supplied by your transformation context instead. */
11480
- const createFor: typeof factory.createForStatement;
11481
- /** @deprecated Use `factory.updateForStatement` or the factory supplied by your transformation context instead. */
11482
- const updateFor: typeof factory.updateForStatement;
11483
- /** @deprecated Use `factory.createForInStatement` or the factory supplied by your transformation context instead. */
11484
- const createForIn: typeof factory.createForInStatement;
11485
- /** @deprecated Use `factory.updateForInStatement` or the factory supplied by your transformation context instead. */
11486
- const updateForIn: typeof factory.updateForInStatement;
11487
- /** @deprecated Use `factory.createForOfStatement` or the factory supplied by your transformation context instead. */
11488
- const createForOf: typeof factory.createForOfStatement;
11489
- /** @deprecated Use `factory.updateForOfStatement` or the factory supplied by your transformation context instead. */
11490
- const updateForOf: typeof factory.updateForOfStatement;
11491
- /** @deprecated Use `factory.createContinueStatement` or the factory supplied by your transformation context instead. */
11492
- const createContinue: typeof factory.createContinueStatement;
11493
- /** @deprecated Use `factory.updateContinueStatement` or the factory supplied by your transformation context instead. */
11494
- const updateContinue: typeof factory.updateContinueStatement;
11495
- /** @deprecated Use `factory.createBreakStatement` or the factory supplied by your transformation context instead. */
11496
- const createBreak: typeof factory.createBreakStatement;
11497
- /** @deprecated Use `factory.updateBreakStatement` or the factory supplied by your transformation context instead. */
11498
- const updateBreak: typeof factory.updateBreakStatement;
11499
- /** @deprecated Use `factory.createReturnStatement` or the factory supplied by your transformation context instead. */
11500
- const createReturn: typeof factory.createReturnStatement;
11501
- /** @deprecated Use `factory.updateReturnStatement` or the factory supplied by your transformation context instead. */
11502
- const updateReturn: typeof factory.updateReturnStatement;
11503
- /** @deprecated Use `factory.createWithStatement` or the factory supplied by your transformation context instead. */
11504
- const createWith: typeof factory.createWithStatement;
11505
- /** @deprecated Use `factory.updateWithStatement` or the factory supplied by your transformation context instead. */
11506
- const updateWith: typeof factory.updateWithStatement;
11507
- /** @deprecated Use `factory.createSwitchStatement` or the factory supplied by your transformation context instead. */
11508
- const createSwitch: typeof factory.createSwitchStatement;
11509
- /** @deprecated Use `factory.updateSwitchStatement` or the factory supplied by your transformation context instead. */
11510
- const updateSwitch: typeof factory.updateSwitchStatement;
11511
- /** @deprecated Use `factory.createLabelStatement` or the factory supplied by your transformation context instead. */
11512
- const createLabel: typeof factory.createLabeledStatement;
11513
- /** @deprecated Use `factory.updateLabelStatement` or the factory supplied by your transformation context instead. */
11514
- const updateLabel: typeof factory.updateLabeledStatement;
11515
- /** @deprecated Use `factory.createThrowStatement` or the factory supplied by your transformation context instead. */
11516
- const createThrow: typeof factory.createThrowStatement;
11517
- /** @deprecated Use `factory.updateThrowStatement` or the factory supplied by your transformation context instead. */
11518
- const updateThrow: typeof factory.updateThrowStatement;
11519
- /** @deprecated Use `factory.createTryStatement` or the factory supplied by your transformation context instead. */
11520
- const createTry: typeof factory.createTryStatement;
11521
- /** @deprecated Use `factory.updateTryStatement` or the factory supplied by your transformation context instead. */
11522
- const updateTry: typeof factory.updateTryStatement;
11523
- /** @deprecated Use `factory.createDebuggerStatement` or the factory supplied by your transformation context instead. */
11524
- const createDebuggerStatement: typeof factory.createDebuggerStatement;
11525
- /** @deprecated Use `factory.createVariableDeclarationList` or the factory supplied by your transformation context instead. */
11526
- const createVariableDeclarationList: typeof factory.createVariableDeclarationList;
11527
- /** @deprecated Use `factory.updateVariableDeclarationList` or the factory supplied by your transformation context instead. */
11528
- const updateVariableDeclarationList: typeof factory.updateVariableDeclarationList;
11529
- /** @deprecated Use `factory.createFunctionDeclaration` or the factory supplied by your transformation context instead. */
11530
- const createFunctionDeclaration: typeof factory.createFunctionDeclaration;
11531
- /** @deprecated Use `factory.updateFunctionDeclaration` or the factory supplied by your transformation context instead. */
11532
- const updateFunctionDeclaration: typeof factory.updateFunctionDeclaration;
11533
- /** @deprecated Use `factory.createClassDeclaration` or the factory supplied by your transformation context instead. */
11534
- const createClassDeclaration: typeof factory.createClassDeclaration;
11535
- /** @deprecated Use `factory.updateClassDeclaration` or the factory supplied by your transformation context instead. */
11536
- const updateClassDeclaration: typeof factory.updateClassDeclaration;
11537
- /** @deprecated Use `factory.createInterfaceDeclaration` or the factory supplied by your transformation context instead. */
11538
- const createInterfaceDeclaration: typeof factory.createInterfaceDeclaration;
11539
- /** @deprecated Use `factory.updateInterfaceDeclaration` or the factory supplied by your transformation context instead. */
11540
- const updateInterfaceDeclaration: typeof factory.updateInterfaceDeclaration;
11541
- /** @deprecated Use `factory.createTypeAliasDeclaration` or the factory supplied by your transformation context instead. */
11542
- const createTypeAliasDeclaration: typeof factory.createTypeAliasDeclaration;
11543
- /** @deprecated Use `factory.updateTypeAliasDeclaration` or the factory supplied by your transformation context instead. */
11544
- const updateTypeAliasDeclaration: typeof factory.updateTypeAliasDeclaration;
11545
- /** @deprecated Use `factory.createEnumDeclaration` or the factory supplied by your transformation context instead. */
11546
- const createEnumDeclaration: typeof factory.createEnumDeclaration;
11547
- /** @deprecated Use `factory.updateEnumDeclaration` or the factory supplied by your transformation context instead. */
11548
- const updateEnumDeclaration: typeof factory.updateEnumDeclaration;
11549
- /** @deprecated Use `factory.createModuleDeclaration` or the factory supplied by your transformation context instead. */
11550
- const createModuleDeclaration: typeof factory.createModuleDeclaration;
11551
- /** @deprecated Use `factory.updateModuleDeclaration` or the factory supplied by your transformation context instead. */
11552
- const updateModuleDeclaration: typeof factory.updateModuleDeclaration;
11553
- /** @deprecated Use `factory.createModuleBlock` or the factory supplied by your transformation context instead. */
11554
- const createModuleBlock: typeof factory.createModuleBlock;
11555
- /** @deprecated Use `factory.updateModuleBlock` or the factory supplied by your transformation context instead. */
11556
- const updateModuleBlock: typeof factory.updateModuleBlock;
11557
- /** @deprecated Use `factory.createCaseBlock` or the factory supplied by your transformation context instead. */
11558
- const createCaseBlock: typeof factory.createCaseBlock;
11559
- /** @deprecated Use `factory.updateCaseBlock` or the factory supplied by your transformation context instead. */
11560
- const updateCaseBlock: typeof factory.updateCaseBlock;
11561
- /** @deprecated Use `factory.createNamespaceExportDeclaration` or the factory supplied by your transformation context instead. */
11562
- const createNamespaceExportDeclaration: typeof factory.createNamespaceExportDeclaration;
11563
- /** @deprecated Use `factory.updateNamespaceExportDeclaration` or the factory supplied by your transformation context instead. */
11564
- const updateNamespaceExportDeclaration: typeof factory.updateNamespaceExportDeclaration;
11565
- /** @deprecated Use `factory.createImportEqualsDeclaration` or the factory supplied by your transformation context instead. */
11566
- const createImportEqualsDeclaration: typeof factory.createImportEqualsDeclaration;
11567
- /** @deprecated Use `factory.updateImportEqualsDeclaration` or the factory supplied by your transformation context instead. */
11568
- const updateImportEqualsDeclaration: typeof factory.updateImportEqualsDeclaration;
11569
- /** @deprecated Use `factory.createImportDeclaration` or the factory supplied by your transformation context instead. */
11570
- const createImportDeclaration: typeof factory.createImportDeclaration;
11571
- /** @deprecated Use `factory.updateImportDeclaration` or the factory supplied by your transformation context instead. */
11572
- const updateImportDeclaration: typeof factory.updateImportDeclaration;
11573
- /** @deprecated Use `factory.createNamespaceImport` or the factory supplied by your transformation context instead. */
11574
- const createNamespaceImport: typeof factory.createNamespaceImport;
11575
- /** @deprecated Use `factory.updateNamespaceImport` or the factory supplied by your transformation context instead. */
11576
- const updateNamespaceImport: typeof factory.updateNamespaceImport;
11577
- /** @deprecated Use `factory.createNamedImports` or the factory supplied by your transformation context instead. */
11578
- const createNamedImports: typeof factory.createNamedImports;
11579
- /** @deprecated Use `factory.updateNamedImports` or the factory supplied by your transformation context instead. */
11580
- const updateNamedImports: typeof factory.updateNamedImports;
11581
- /** @deprecated Use `factory.createImportSpecifier` or the factory supplied by your transformation context instead. */
11582
- const createImportSpecifier: typeof factory.createImportSpecifier;
11583
- /** @deprecated Use `factory.updateImportSpecifier` or the factory supplied by your transformation context instead. */
11584
- const updateImportSpecifier: typeof factory.updateImportSpecifier;
11585
- /** @deprecated Use `factory.createExportAssignment` or the factory supplied by your transformation context instead. */
11586
- const createExportAssignment: typeof factory.createExportAssignment;
11587
- /** @deprecated Use `factory.updateExportAssignment` or the factory supplied by your transformation context instead. */
11588
- const updateExportAssignment: typeof factory.updateExportAssignment;
11589
- /** @deprecated Use `factory.createNamedExports` or the factory supplied by your transformation context instead. */
11590
- const createNamedExports: typeof factory.createNamedExports;
11591
- /** @deprecated Use `factory.updateNamedExports` or the factory supplied by your transformation context instead. */
11592
- const updateNamedExports: typeof factory.updateNamedExports;
11593
- /** @deprecated Use `factory.createExportSpecifier` or the factory supplied by your transformation context instead. */
11594
- const createExportSpecifier: typeof factory.createExportSpecifier;
11595
- /** @deprecated Use `factory.updateExportSpecifier` or the factory supplied by your transformation context instead. */
11596
- const updateExportSpecifier: typeof factory.updateExportSpecifier;
11597
- /** @deprecated Use `factory.createExternalModuleReference` or the factory supplied by your transformation context instead. */
11598
- const createExternalModuleReference: typeof factory.createExternalModuleReference;
11599
- /** @deprecated Use `factory.updateExternalModuleReference` or the factory supplied by your transformation context instead. */
11600
- const updateExternalModuleReference: typeof factory.updateExternalModuleReference;
11601
- /** @deprecated Use `factory.createJSDocTypeExpression` or the factory supplied by your transformation context instead. */
11602
- const createJSDocTypeExpression: typeof factory.createJSDocTypeExpression;
11603
- /** @deprecated Use `factory.createJSDocTypeTag` or the factory supplied by your transformation context instead. */
11604
- const createJSDocTypeTag: typeof factory.createJSDocTypeTag;
11605
- /** @deprecated Use `factory.createJSDocReturnTag` or the factory supplied by your transformation context instead. */
11606
- const createJSDocReturnTag: typeof factory.createJSDocReturnTag;
11607
- /** @deprecated Use `factory.createJSDocThisTag` or the factory supplied by your transformation context instead. */
11608
- const createJSDocThisTag: typeof factory.createJSDocThisTag;
11609
- /** @deprecated Use `factory.createJSDocComment` or the factory supplied by your transformation context instead. */
11610
- const createJSDocComment: typeof factory.createJSDocComment;
11611
- /** @deprecated Use `factory.createJSDocParameterTag` or the factory supplied by your transformation context instead. */
11612
- const createJSDocParameterTag: typeof factory.createJSDocParameterTag;
11613
- /** @deprecated Use `factory.createJSDocClassTag` or the factory supplied by your transformation context instead. */
11614
- const createJSDocClassTag: typeof factory.createJSDocClassTag;
11615
- /** @deprecated Use `factory.createJSDocAugmentsTag` or the factory supplied by your transformation context instead. */
11616
- const createJSDocAugmentsTag: typeof factory.createJSDocAugmentsTag;
11617
- /** @deprecated Use `factory.createJSDocEnumTag` or the factory supplied by your transformation context instead. */
11618
- const createJSDocEnumTag: typeof factory.createJSDocEnumTag;
11619
- /** @deprecated Use `factory.createJSDocTemplateTag` or the factory supplied by your transformation context instead. */
11620
- const createJSDocTemplateTag: typeof factory.createJSDocTemplateTag;
11621
- /** @deprecated Use `factory.createJSDocTypedefTag` or the factory supplied by your transformation context instead. */
11622
- const createJSDocTypedefTag: typeof factory.createJSDocTypedefTag;
11623
- /** @deprecated Use `factory.createJSDocCallbackTag` or the factory supplied by your transformation context instead. */
11624
- const createJSDocCallbackTag: typeof factory.createJSDocCallbackTag;
11625
- /** @deprecated Use `factory.createJSDocSignature` or the factory supplied by your transformation context instead. */
11626
- const createJSDocSignature: typeof factory.createJSDocSignature;
11627
- /** @deprecated Use `factory.createJSDocPropertyTag` or the factory supplied by your transformation context instead. */
11628
- const createJSDocPropertyTag: typeof factory.createJSDocPropertyTag;
11629
- /** @deprecated Use `factory.createJSDocTypeLiteral` or the factory supplied by your transformation context instead. */
11630
- const createJSDocTypeLiteral: typeof factory.createJSDocTypeLiteral;
11631
- /** @deprecated Use `factory.createJSDocImplementsTag` or the factory supplied by your transformation context instead. */
11632
- const createJSDocImplementsTag: typeof factory.createJSDocImplementsTag;
11633
- /** @deprecated Use `factory.createJSDocAuthorTag` or the factory supplied by your transformation context instead. */
11634
- const createJSDocAuthorTag: typeof factory.createJSDocAuthorTag;
11635
- /** @deprecated Use `factory.createJSDocPublicTag` or the factory supplied by your transformation context instead. */
11636
- const createJSDocPublicTag: typeof factory.createJSDocPublicTag;
11637
- /** @deprecated Use `factory.createJSDocPrivateTag` or the factory supplied by your transformation context instead. */
11638
- const createJSDocPrivateTag: typeof factory.createJSDocPrivateTag;
11639
- /** @deprecated Use `factory.createJSDocProtectedTag` or the factory supplied by your transformation context instead. */
11640
- const createJSDocProtectedTag: typeof factory.createJSDocProtectedTag;
11641
- /** @deprecated Use `factory.createJSDocReadonlyTag` or the factory supplied by your transformation context instead. */
11642
- const createJSDocReadonlyTag: typeof factory.createJSDocReadonlyTag;
11643
- /** @deprecated Use `factory.createJSDocUnknownTag` or the factory supplied by your transformation context instead. */
11644
- const createJSDocTag: typeof factory.createJSDocUnknownTag;
11645
- /** @deprecated Use `factory.createJsxElement` or the factory supplied by your transformation context instead. */
11646
- const createJsxElement: typeof factory.createJsxElement;
11647
- /** @deprecated Use `factory.updateJsxElement` or the factory supplied by your transformation context instead. */
11648
- const updateJsxElement: typeof factory.updateJsxElement;
11649
- /** @deprecated Use `factory.createJsxSelfClosingElement` or the factory supplied by your transformation context instead. */
11650
- const createJsxSelfClosingElement: typeof factory.createJsxSelfClosingElement;
11651
- /** @deprecated Use `factory.updateJsxSelfClosingElement` or the factory supplied by your transformation context instead. */
11652
- const updateJsxSelfClosingElement: typeof factory.updateJsxSelfClosingElement;
11653
- /** @deprecated Use `factory.createJsxOpeningElement` or the factory supplied by your transformation context instead. */
11654
- const createJsxOpeningElement: typeof factory.createJsxOpeningElement;
11655
- /** @deprecated Use `factory.updateJsxOpeningElement` or the factory supplied by your transformation context instead. */
11656
- const updateJsxOpeningElement: typeof factory.updateJsxOpeningElement;
11657
- /** @deprecated Use `factory.createJsxClosingElement` or the factory supplied by your transformation context instead. */
11658
- const createJsxClosingElement: typeof factory.createJsxClosingElement;
11659
- /** @deprecated Use `factory.updateJsxClosingElement` or the factory supplied by your transformation context instead. */
11660
- const updateJsxClosingElement: typeof factory.updateJsxClosingElement;
11661
- /** @deprecated Use `factory.createJsxFragment` or the factory supplied by your transformation context instead. */
11662
- const createJsxFragment: typeof factory.createJsxFragment;
11663
- /** @deprecated Use `factory.createJsxText` or the factory supplied by your transformation context instead. */
11664
- const createJsxText: typeof factory.createJsxText;
11665
- /** @deprecated Use `factory.updateJsxText` or the factory supplied by your transformation context instead. */
11666
- const updateJsxText: typeof factory.updateJsxText;
11667
- /** @deprecated Use `factory.createJsxOpeningFragment` or the factory supplied by your transformation context instead. */
11668
- const createJsxOpeningFragment: typeof factory.createJsxOpeningFragment;
11669
- /** @deprecated Use `factory.createJsxJsxClosingFragment` or the factory supplied by your transformation context instead. */
11670
- const createJsxJsxClosingFragment: typeof factory.createJsxJsxClosingFragment;
11671
- /** @deprecated Use `factory.updateJsxFragment` or the factory supplied by your transformation context instead. */
11672
- const updateJsxFragment: typeof factory.updateJsxFragment;
11673
- /** @deprecated Use `factory.createJsxAttribute` or the factory supplied by your transformation context instead. */
11674
- const createJsxAttribute: typeof factory.createJsxAttribute;
11675
- /** @deprecated Use `factory.updateJsxAttribute` or the factory supplied by your transformation context instead. */
11676
- const updateJsxAttribute: typeof factory.updateJsxAttribute;
11677
- /** @deprecated Use `factory.createJsxAttributes` or the factory supplied by your transformation context instead. */
11678
- const createJsxAttributes: typeof factory.createJsxAttributes;
11679
- /** @deprecated Use `factory.updateJsxAttributes` or the factory supplied by your transformation context instead. */
11680
- const updateJsxAttributes: typeof factory.updateJsxAttributes;
11681
- /** @deprecated Use `factory.createJsxSpreadAttribute` or the factory supplied by your transformation context instead. */
11682
- const createJsxSpreadAttribute: typeof factory.createJsxSpreadAttribute;
11683
- /** @deprecated Use `factory.updateJsxSpreadAttribute` or the factory supplied by your transformation context instead. */
11684
- const updateJsxSpreadAttribute: typeof factory.updateJsxSpreadAttribute;
11685
- /** @deprecated Use `factory.createJsxExpression` or the factory supplied by your transformation context instead. */
11686
- const createJsxExpression: typeof factory.createJsxExpression;
11687
- /** @deprecated Use `factory.updateJsxExpression` or the factory supplied by your transformation context instead. */
11688
- const updateJsxExpression: typeof factory.updateJsxExpression;
11689
- /** @deprecated Use `factory.createCaseClause` or the factory supplied by your transformation context instead. */
11690
- const createCaseClause: typeof factory.createCaseClause;
11691
- /** @deprecated Use `factory.updateCaseClause` or the factory supplied by your transformation context instead. */
11692
- const updateCaseClause: typeof factory.updateCaseClause;
11693
- /** @deprecated Use `factory.createDefaultClause` or the factory supplied by your transformation context instead. */
11694
- const createDefaultClause: typeof factory.createDefaultClause;
11695
- /** @deprecated Use `factory.updateDefaultClause` or the factory supplied by your transformation context instead. */
11696
- const updateDefaultClause: typeof factory.updateDefaultClause;
11697
- /** @deprecated Use `factory.createHeritageClause` or the factory supplied by your transformation context instead. */
11698
- const createHeritageClause: typeof factory.createHeritageClause;
11699
- /** @deprecated Use `factory.updateHeritageClause` or the factory supplied by your transformation context instead. */
11700
- const updateHeritageClause: typeof factory.updateHeritageClause;
11701
- /** @deprecated Use `factory.createCatchClause` or the factory supplied by your transformation context instead. */
11702
- const createCatchClause: typeof factory.createCatchClause;
11703
- /** @deprecated Use `factory.updateCatchClause` or the factory supplied by your transformation context instead. */
11704
- const updateCatchClause: typeof factory.updateCatchClause;
11705
- /** @deprecated Use `factory.createPropertyAssignment` or the factory supplied by your transformation context instead. */
11706
- const createPropertyAssignment: typeof factory.createPropertyAssignment;
11707
- /** @deprecated Use `factory.updatePropertyAssignment` or the factory supplied by your transformation context instead. */
11708
- const updatePropertyAssignment: typeof factory.updatePropertyAssignment;
11709
- /** @deprecated Use `factory.createShorthandPropertyAssignment` or the factory supplied by your transformation context instead. */
11710
- const createShorthandPropertyAssignment: typeof factory.createShorthandPropertyAssignment;
11711
- /** @deprecated Use `factory.updateShorthandPropertyAssignment` or the factory supplied by your transformation context instead. */
11712
- const updateShorthandPropertyAssignment: typeof factory.updateShorthandPropertyAssignment;
11713
- /** @deprecated Use `factory.createSpreadAssignment` or the factory supplied by your transformation context instead. */
11714
- const createSpreadAssignment: typeof factory.createSpreadAssignment;
11715
- /** @deprecated Use `factory.updateSpreadAssignment` or the factory supplied by your transformation context instead. */
11716
- const updateSpreadAssignment: typeof factory.updateSpreadAssignment;
11717
- /** @deprecated Use `factory.createEnumMember` or the factory supplied by your transformation context instead. */
11718
- const createEnumMember: typeof factory.createEnumMember;
11719
- /** @deprecated Use `factory.updateEnumMember` or the factory supplied by your transformation context instead. */
11720
- const updateEnumMember: typeof factory.updateEnumMember;
11721
- /** @deprecated Use `factory.updateSourceFile` or the factory supplied by your transformation context instead. */
11722
- const updateSourceFileNode: typeof factory.updateSourceFile;
11723
- /** @deprecated Use `factory.createNotEmittedStatement` or the factory supplied by your transformation context instead. */
11724
- const createNotEmittedStatement: typeof factory.createNotEmittedStatement;
11725
- /** @deprecated Use `factory.createPartiallyEmittedExpression` or the factory supplied by your transformation context instead. */
11726
- const createPartiallyEmittedExpression: typeof factory.createPartiallyEmittedExpression;
11727
- /** @deprecated Use `factory.updatePartiallyEmittedExpression` or the factory supplied by your transformation context instead. */
11728
- const updatePartiallyEmittedExpression: typeof factory.updatePartiallyEmittedExpression;
11729
- /** @deprecated Use `factory.createCommaListExpression` or the factory supplied by your transformation context instead. */
11730
- const createCommaList: typeof factory.createCommaListExpression;
11731
- /** @deprecated Use `factory.updateCommaListExpression` or the factory supplied by your transformation context instead. */
11732
- const updateCommaList: typeof factory.updateCommaListExpression;
11733
- /** @deprecated Use `factory.createBundle` or the factory supplied by your transformation context instead. */
11734
- const createBundle: typeof factory.createBundle;
11735
- /** @deprecated Use `factory.updateBundle` or the factory supplied by your transformation context instead. */
11736
- const updateBundle: typeof factory.updateBundle;
11737
- /** @deprecated Use `factory.createImmediatelyInvokedFunctionExpression` or the factory supplied by your transformation context instead. */
11738
- const createImmediatelyInvokedFunctionExpression: typeof factory.createImmediatelyInvokedFunctionExpression;
11739
- /** @deprecated Use `factory.createImmediatelyInvokedArrowFunction` or the factory supplied by your transformation context instead. */
11740
- const createImmediatelyInvokedArrowFunction: typeof factory.createImmediatelyInvokedArrowFunction;
11741
- /** @deprecated Use `factory.createVoidZero` or the factory supplied by your transformation context instead. */
11742
- const createVoidZero: typeof factory.createVoidZero;
11743
- /** @deprecated Use `factory.createExportDefault` or the factory supplied by your transformation context instead. */
11744
- const createExportDefault: typeof factory.createExportDefault;
11745
- /** @deprecated Use `factory.createExternalModuleExport` or the factory supplied by your transformation context instead. */
11746
- const createExternalModuleExport: typeof factory.createExternalModuleExport;
11747
- /** @deprecated Use `factory.createNamespaceExport` or the factory supplied by your transformation context instead. */
11748
- const createNamespaceExport: typeof factory.createNamespaceExport;
11749
- /** @deprecated Use `factory.updateNamespaceExport` or the factory supplied by your transformation context instead. */
11750
- const updateNamespaceExport: typeof factory.updateNamespaceExport;
11751
- /** @deprecated Use `factory.createToken` or the factory supplied by your transformation context instead. */
11752
- const createToken: <TKind extends SyntaxKind>(kind: TKind) => Token<TKind>;
11753
- /** @deprecated Use `factory.createIdentifier` or the factory supplied by your transformation context instead. */
11754
- const createIdentifier: (text: string) => Identifier;
11755
- /** @deprecated Use `factory.createTempVariable` or the factory supplied by your transformation context instead. */
11756
- const createTempVariable: (recordTempVariable: ((node: Identifier) => void) | undefined) => Identifier;
11757
- /** @deprecated Use `factory.getGeneratedNameForNode` or the factory supplied by your transformation context instead. */
11758
- const getGeneratedNameForNode: (node: Node | undefined) => Identifier;
11759
- /** @deprecated Use `factory.createUniqueName(text, GeneratedIdentifierFlags.Optimistic)` or the factory supplied by your transformation context instead. */
11760
- const createOptimisticUniqueName: (text: string) => Identifier;
11761
- /** @deprecated Use `factory.createUniqueName(text, GeneratedIdentifierFlags.Optimistic | GeneratedIdentifierFlags.FileLevel)` or the factory supplied by your transformation context instead. */
11762
- const createFileLevelUniqueName: (text: string) => Identifier;
11763
- /** @deprecated Use `factory.createIndexSignature` or the factory supplied by your transformation context instead. */
11764
- const createIndexSignature: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode) => IndexSignatureDeclaration;
11765
- /** @deprecated Use `factory.createTypePredicateNode` or the factory supplied by your transformation context instead. */
11766
- const createTypePredicateNode: (parameterName: Identifier | ThisTypeNode | string, type: TypeNode) => TypePredicateNode;
11767
- /** @deprecated Use `factory.updateTypePredicateNode` or the factory supplied by your transformation context instead. */
11768
- const updateTypePredicateNode: (node: TypePredicateNode, parameterName: Identifier | ThisTypeNode, type: TypeNode) => TypePredicateNode;
11769
- /** @deprecated Use `factory.createStringLiteral`, `factory.createStringLiteralFromNode`, `factory.createNumericLiteral`, `factory.createBigIntLiteral`, `factory.createTrue`, `factory.createFalse`, or the factory supplied by your transformation context instead. */
11770
- const createLiteral: {
11771
- (value: string | StringLiteral | NoSubstitutionTemplateLiteral | NumericLiteral | Identifier): StringLiteral;
11772
- (value: number | PseudoBigInt): NumericLiteral;
11773
- (value: boolean): BooleanLiteral;
11774
- (value: string | number | PseudoBigInt | boolean): PrimaryExpression;
11775
- };
11776
- /** @deprecated Use `factory.createMethodSignature` or the factory supplied by your transformation context instead. */
11777
- const createMethodSignature: (typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, name: string | PropertyName, questionToken: QuestionToken | undefined) => MethodSignature;
11778
- /** @deprecated Use `factory.updateMethodSignature` or the factory supplied by your transformation context instead. */
11779
- const updateMethodSignature: (node: MethodSignature, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode | undefined, name: PropertyName, questionToken: QuestionToken | undefined) => MethodSignature;
11780
- /** @deprecated Use `factory.createTypeOperatorNode` or the factory supplied by your transformation context instead. */
11781
- const createTypeOperatorNode: {
11782
- (type: TypeNode): TypeOperatorNode;
11783
- (operator: SyntaxKind.KeyOfKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.ReadonlyKeyword, type: TypeNode): TypeOperatorNode;
11784
- };
11785
- /** @deprecated Use `factory.createTaggedTemplate` or the factory supplied by your transformation context instead. */
11786
- const createTaggedTemplate: {
11787
- (tag: Expression, template: TemplateLiteral): TaggedTemplateExpression;
11788
- (tag: Expression, typeArguments: readonly TypeNode[] | undefined, template: TemplateLiteral): TaggedTemplateExpression;
11789
- };
11790
- /** @deprecated Use `factory.updateTaggedTemplate` or the factory supplied by your transformation context instead. */
11791
- const updateTaggedTemplate: {
11792
- (node: TaggedTemplateExpression, tag: Expression, template: TemplateLiteral): TaggedTemplateExpression;
11793
- (node: TaggedTemplateExpression, tag: Expression, typeArguments: readonly TypeNode[] | undefined, template: TemplateLiteral): TaggedTemplateExpression;
11794
- };
11795
- /** @deprecated Use `factory.updateBinary` or the factory supplied by your transformation context instead. */
11796
- const updateBinary: (node: BinaryExpression, left: Expression, right: Expression, operator?: BinaryOperator | BinaryOperatorToken) => BinaryExpression;
11797
- /** @deprecated Use `factory.createConditional` or the factory supplied by your transformation context instead. */
11798
- const createConditional: {
11799
- (condition: Expression, whenTrue: Expression, whenFalse: Expression): ConditionalExpression;
11800
- (condition: Expression, questionToken: QuestionToken, whenTrue: Expression, colonToken: ColonToken, whenFalse: Expression): ConditionalExpression;
11801
- };
11802
- /** @deprecated Use `factory.createYield` or the factory supplied by your transformation context instead. */
11803
- const createYield: {
11804
- (expression?: Expression | undefined): YieldExpression;
11805
- (asteriskToken: AsteriskToken | undefined, expression: Expression): YieldExpression;
11806
- };
11807
- /** @deprecated Use `factory.createClassExpression` or the factory supplied by your transformation context instead. */
11808
- const createClassExpression: (modifiers: readonly Modifier[] | undefined, name: string | Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]) => ClassExpression;
11809
- /** @deprecated Use `factory.updateClassExpression` or the factory supplied by your transformation context instead. */
11810
- const updateClassExpression: (node: ClassExpression, modifiers: readonly Modifier[] | undefined, name: Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]) => ClassExpression;
11811
- /** @deprecated Use `factory.createPropertySignature` or the factory supplied by your transformation context instead. */
11812
- const createPropertySignature: (modifiers: readonly Modifier[] | undefined, name: PropertyName | string, questionToken: QuestionToken | undefined, type: TypeNode | undefined, initializer?: Expression | undefined) => PropertySignature;
11813
- /** @deprecated Use `factory.updatePropertySignature` or the factory supplied by your transformation context instead. */
11814
- const updatePropertySignature: (node: PropertySignature, modifiers: readonly Modifier[] | undefined, name: PropertyName, questionToken: QuestionToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined) => PropertySignature;
11815
- /** @deprecated Use `factory.createExpressionWithTypeArguments` or the factory supplied by your transformation context instead. */
11816
- const createExpressionWithTypeArguments: (typeArguments: readonly TypeNode[] | undefined, expression: Expression) => ExpressionWithTypeArguments;
11817
- /** @deprecated Use `factory.updateExpressionWithTypeArguments` or the factory supplied by your transformation context instead. */
11818
- const updateExpressionWithTypeArguments: (node: ExpressionWithTypeArguments, typeArguments: readonly TypeNode[] | undefined, expression: Expression) => ExpressionWithTypeArguments;
11819
- /** @deprecated Use `factory.createArrowFunction` or the factory supplied by your transformation context instead. */
11820
- const createArrowFunction: {
11821
- (modifiers: readonly Modifier[] | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, equalsGreaterThanToken: EqualsGreaterThanToken | undefined, body: ConciseBody): ArrowFunction;
11822
- (modifiers: readonly Modifier[] | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: ConciseBody): ArrowFunction;
11823
- };
11824
- /** @deprecated Use `factory.updateArrowFunction` or the factory supplied by your transformation context instead. */
11825
- const updateArrowFunction: {
11826
- (node: ArrowFunction, modifiers: readonly Modifier[] | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, equalsGreaterThanToken: EqualsGreaterThanToken, body: ConciseBody): ArrowFunction;
11827
- (node: ArrowFunction, modifiers: readonly Modifier[] | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: ConciseBody): ArrowFunction;
11828
- };
11829
- /** @deprecated Use `factory.createVariableDeclaration` or the factory supplied by your transformation context instead. */
11830
- const createVariableDeclaration: {
11831
- (name: string | BindingName, type?: TypeNode | undefined, initializer?: Expression | undefined): VariableDeclaration;
11832
- (name: string | BindingName, exclamationToken: ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): VariableDeclaration;
11833
- };
11834
- /** @deprecated Use `factory.updateVariableDeclaration` or the factory supplied by your transformation context instead. */
11835
- const updateVariableDeclaration: {
11836
- (node: VariableDeclaration, name: BindingName, type: TypeNode | undefined, initializer: Expression | undefined): VariableDeclaration;
11837
- (node: VariableDeclaration, name: BindingName, exclamationToken: ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): VariableDeclaration;
11838
- };
11839
- /** @deprecated Use `factory.createImportClause` or the factory supplied by your transformation context instead. */
11840
- const createImportClause: (name: Identifier | undefined, namedBindings: NamedImportBindings | undefined, isTypeOnly?: any) => ImportClause;
11841
- /** @deprecated Use `factory.updateImportClause` or the factory supplied by your transformation context instead. */
11842
- const updateImportClause: (node: ImportClause, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined, isTypeOnly: boolean) => ImportClause;
11843
- /** @deprecated Use `factory.createExportDeclaration` or the factory supplied by your transformation context instead. */
11844
- const createExportDeclaration: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression | undefined, isTypeOnly?: any) => ExportDeclaration;
11845
- /** @deprecated Use `factory.updateExportDeclaration` or the factory supplied by your transformation context instead. */
11846
- const updateExportDeclaration: (node: ExportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, exportClause: NamedExportBindings | undefined, moduleSpecifier: Expression | undefined, isTypeOnly: boolean) => ExportDeclaration;
11847
- /** @deprecated Use `factory.createJSDocParameterTag` or the factory supplied by your transformation context instead. */
11848
- const createJSDocParamTag: (name: EntityName, isBracketed: boolean, typeExpression?: JSDocTypeExpression | undefined, comment?: string | undefined) => JSDocParameterTag;
11849
- /** @deprecated Use `factory.createComma` or the factory supplied by your transformation context instead. */
11850
- const createComma: (left: Expression, right: Expression) => Expression;
11851
- /** @deprecated Use `factory.createLessThan` or the factory supplied by your transformation context instead. */
11852
- const createLessThan: (left: Expression, right: Expression) => Expression;
11853
- /** @deprecated Use `factory.createAssignment` or the factory supplied by your transformation context instead. */
11854
- const createAssignment: (left: Expression, right: Expression) => BinaryExpression;
11855
- /** @deprecated Use `factory.createStrictEquality` or the factory supplied by your transformation context instead. */
11856
- const createStrictEquality: (left: Expression, right: Expression) => BinaryExpression;
11857
- /** @deprecated Use `factory.createStrictInequality` or the factory supplied by your transformation context instead. */
11858
- const createStrictInequality: (left: Expression, right: Expression) => BinaryExpression;
11859
- /** @deprecated Use `factory.createAdd` or the factory supplied by your transformation context instead. */
11860
- const createAdd: (left: Expression, right: Expression) => BinaryExpression;
11861
- /** @deprecated Use `factory.createSubtract` or the factory supplied by your transformation context instead. */
11862
- const createSubtract: (left: Expression, right: Expression) => BinaryExpression;
11863
- /** @deprecated Use `factory.createLogicalAnd` or the factory supplied by your transformation context instead. */
11864
- const createLogicalAnd: (left: Expression, right: Expression) => BinaryExpression;
11865
- /** @deprecated Use `factory.createLogicalOr` or the factory supplied by your transformation context instead. */
11866
- const createLogicalOr: (left: Expression, right: Expression) => BinaryExpression;
11867
- /** @deprecated Use `factory.createPostfixIncrement` or the factory supplied by your transformation context instead. */
11868
- const createPostfixIncrement: (operand: Expression) => PostfixUnaryExpression;
11869
- /** @deprecated Use `factory.createLogicalNot` or the factory supplied by your transformation context instead. */
11870
- const createLogicalNot: (operand: Expression) => PrefixUnaryExpression;
11871
- /** @deprecated Use an appropriate `factory` method instead. */
11872
- const createNode: (kind: SyntaxKind, pos?: any, end?: any) => Node;
11873
- /**
11874
- * Creates a shallow, memberwise clone of a node ~for mutation~ with its `pos`, `end`, and `parent` set.
11875
- *
11876
- * NOTE: It is unsafe to change any properties of a `Node` that relate to its AST children, as those changes won't be
11877
- * captured with respect to transformations.
11878
- *
11879
- * @deprecated Use an appropriate `factory.update...` method instead, use `setCommentRange` or `setSourceMapRange`, and avoid setting `parent`.
11880
- */
11881
- const getMutableClone: <T extends Node>(node: T) => T;
11882
- /** @deprecated Use `isTypeAssertionExpression` instead. */
11883
- const isTypeAssertion: (node: Node) => node is TypeAssertion;
11884
- /**
11885
- * @deprecated Use `isMemberName` instead.
11886
- */
11887
- const isIdentifierOrPrivateIdentifier: (node: Node) => node is MemberName;
11888
11025
  }
11889
11026
  export = ts;