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.
@@ -348,15 +348,15 @@ declare namespace ts {
348
348
  ShorthandPropertyAssignment = 300,
349
349
  SpreadAssignment = 301,
350
350
  EnumMember = 302,
351
- UnparsedPrologue = 303,
352
- UnparsedPrepend = 304,
353
- UnparsedText = 305,
354
- UnparsedInternalText = 306,
355
- UnparsedSyntheticReference = 307,
351
+ /** @deprecated */ UnparsedPrologue = 303,
352
+ /** @deprecated */ UnparsedPrepend = 304,
353
+ /** @deprecated */ UnparsedText = 305,
354
+ /** @deprecated */ UnparsedInternalText = 306,
355
+ /** @deprecated */ UnparsedSyntheticReference = 307,
356
356
  SourceFile = 308,
357
357
  Bundle = 309,
358
- UnparsedSource = 310,
359
- InputFiles = 311,
358
+ /** @deprecated */ UnparsedSource = 310,
359
+ /** @deprecated */ InputFiles = 311,
360
360
  JSDocTypeExpression = 312,
361
361
  JSDocNameReference = 313,
362
362
  JSDocMemberName = 314,
@@ -444,7 +444,7 @@ declare namespace ts {
444
444
  type TriviaSyntaxKind = SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia;
445
445
  type LiteralSyntaxKind = SyntaxKind.NumericLiteral | SyntaxKind.BigIntLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral;
446
446
  type PseudoLiteralSyntaxKind = SyntaxKind.TemplateHead | SyntaxKind.TemplateMiddle | SyntaxKind.TemplateTail;
447
- 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;
447
+ 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;
448
448
  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;
449
449
  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;
450
450
  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;
@@ -541,30 +541,6 @@ declare namespace ts {
541
541
  getLastToken(sourceFile?: SourceFile): Node | undefined;
542
542
  forEachChild<T>(cbNode: (node: Node) => T | undefined, cbNodeArray?: (nodes: NodeArray<Node>) => T | undefined): T | undefined;
543
543
  }
544
- interface Node {
545
- /**
546
- * @deprecated `decorators` has been removed from `Node` and merged with `modifiers` on the `Node` subtypes that support them.
547
- * Use `ts.canHaveDecorators()` to test whether a `Node` can have decorators.
548
- * Use `ts.getDecorators()` to get the decorators of a `Node`.
549
- *
550
- * For example:
551
- * ```ts
552
- * const decorators = ts.canHaveDecorators(node) ? ts.getDecorators(node) : undefined;
553
- * ```
554
- */
555
- readonly decorators?: undefined;
556
- /**
557
- * @deprecated `modifiers` has been removed from `Node` and moved to the `Node` subtypes that support them.
558
- * Use `ts.canHaveModifiers()` to test whether a `Node` can have modifiers.
559
- * Use `ts.getModifiers()` to get the modifiers of a `Node`.
560
- *
561
- * For example:
562
- * ```ts
563
- * const modifiers = ts.canHaveModifiers(node) ? ts.getModifiers(node) : undefined;
564
- * ```
565
- */
566
- readonly modifiers?: NodeArray<ModifierLike> | undefined;
567
- }
568
544
  interface JSDocContainer extends Node {
569
545
  _jsdocContainerBrand: any;
570
546
  }
@@ -596,6 +572,9 @@ declare namespace ts {
596
572
  type ExclamationToken = PunctuationToken<SyntaxKind.ExclamationToken>;
597
573
  type ColonToken = PunctuationToken<SyntaxKind.ColonToken>;
598
574
  type EqualsToken = PunctuationToken<SyntaxKind.EqualsToken>;
575
+ type AmpersandAmpersandEqualsToken = PunctuationToken<SyntaxKind.AmpersandAmpersandEqualsToken>;
576
+ type BarBarEqualsToken = PunctuationToken<SyntaxKind.BarBarEqualsToken>;
577
+ type QuestionQuestionEqualsToken = PunctuationToken<SyntaxKind.QuestionQuestionEqualsToken>;
599
578
  type AsteriskToken = PunctuationToken<SyntaxKind.AsteriskToken>;
600
579
  type EqualsGreaterThanToken = PunctuationToken<SyntaxKind.EqualsGreaterThanToken>;
601
580
  type PlusToken = PunctuationToken<SyntaxKind.PlusToken>;
@@ -607,10 +586,6 @@ declare namespace ts {
607
586
  type AssertKeyword = KeywordToken<SyntaxKind.AssertKeyword>;
608
587
  type AwaitKeyword = KeywordToken<SyntaxKind.AwaitKeyword>;
609
588
  type CaseKeyword = KeywordToken<SyntaxKind.CaseKeyword>;
610
- /** @deprecated Use `AwaitKeyword` instead. */
611
- type AwaitKeywordToken = AwaitKeyword;
612
- /** @deprecated Use `AssertsKeyword` instead. */
613
- type AssertsToken = AssertsKeyword;
614
589
  interface ModifierToken<TKind extends ModifierSyntaxKind> extends KeywordToken<TKind> {
615
590
  }
616
591
  type AbstractKeyword = ModifierToken<SyntaxKind.AbstractKeyword>;
@@ -628,8 +603,6 @@ declare namespace ts {
628
603
  type OutKeyword = ModifierToken<SyntaxKind.OutKeyword>;
629
604
  type OverrideKeyword = ModifierToken<SyntaxKind.OverrideKeyword>;
630
605
  type StaticKeyword = ModifierToken<SyntaxKind.StaticKeyword>;
631
- /** @deprecated Use `ReadonlyKeyword` instead. */
632
- type ReadonlyToken = ReadonlyKeyword;
633
606
  type Modifier = AbstractKeyword | AccessorKeyword | AsyncKeyword | ConstKeyword | DeclareKeyword | DefaultKeyword | ExportKeyword | InKeyword | PrivateKeyword | ProtectedKeyword | PublicKeyword | OutKeyword | OverrideKeyword | ReadonlyKeyword | StaticKeyword;
634
607
  type ModifierLike = Modifier | Decorator;
635
608
  type AccessibilityModifier = PublicKeyword | PrivateKeyword | ProtectedKeyword;
@@ -762,10 +735,6 @@ declare namespace ts {
762
735
  readonly questionToken?: QuestionToken;
763
736
  readonly type?: TypeNode;
764
737
  }
765
- interface PropertySignature {
766
- /** @deprecated A property signature cannot have an initializer */
767
- readonly initializer?: Expression | undefined;
768
- }
769
738
  interface PropertyDeclaration extends ClassElement, JSDocContainer {
770
739
  readonly kind: SyntaxKind.PropertyDeclaration;
771
740
  readonly parent: ClassLikeDeclaration;
@@ -791,12 +760,6 @@ declare namespace ts {
791
760
  readonly name: PropertyName;
792
761
  readonly initializer: Expression;
793
762
  }
794
- interface PropertyAssignment {
795
- /** @deprecated A property assignment cannot have a question token */
796
- readonly questionToken?: QuestionToken | undefined;
797
- /** @deprecated A property assignment cannot have an exclamation token */
798
- readonly exclamationToken?: ExclamationToken | undefined;
799
- }
800
763
  interface ShorthandPropertyAssignment extends ObjectLiteralElement, JSDocContainer {
801
764
  readonly kind: SyntaxKind.ShorthandPropertyAssignment;
802
765
  readonly parent: ObjectLiteralExpression;
@@ -804,14 +767,6 @@ declare namespace ts {
804
767
  readonly equalsToken?: EqualsToken;
805
768
  readonly objectAssignmentInitializer?: Expression;
806
769
  }
807
- interface ShorthandPropertyAssignment {
808
- /** @deprecated A shorthand property assignment cannot have modifiers */
809
- readonly modifiers?: NodeArray<Modifier> | undefined;
810
- /** @deprecated A shorthand property assignment cannot have a question token */
811
- readonly questionToken?: QuestionToken | undefined;
812
- /** @deprecated A shorthand property assignment cannot have an exclamation token */
813
- readonly exclamationToken?: ExclamationToken | undefined;
814
- }
815
770
  interface SpreadAssignment extends ObjectLiteralElement, JSDocContainer {
816
771
  readonly kind: SyntaxKind.SpreadAssignment;
817
772
  readonly parent: ObjectLiteralExpression;
@@ -850,7 +805,7 @@ declare namespace ts {
850
805
  type FunctionLike = SignatureDeclaration;
851
806
  interface FunctionDeclaration extends FunctionLikeDeclarationBase, DeclarationStatement, LocalsContainer {
852
807
  readonly kind: SyntaxKind.FunctionDeclaration;
853
- readonly modifiers?: NodeArray<Modifier>;
808
+ readonly modifiers?: NodeArray<ModifierLike>;
854
809
  readonly name?: Identifier;
855
810
  readonly body?: FunctionBody;
856
811
  }
@@ -870,7 +825,7 @@ declare namespace ts {
870
825
  interface ConstructorDeclaration extends FunctionLikeDeclarationBase, ClassElement, JSDocContainer, LocalsContainer {
871
826
  readonly kind: SyntaxKind.Constructor;
872
827
  readonly parent: ClassLikeDeclaration;
873
- readonly modifiers?: NodeArray<Modifier> | undefined;
828
+ readonly modifiers?: NodeArray<ModifierLike> | undefined;
874
829
  readonly body?: FunctionBody | undefined;
875
830
  }
876
831
  /** For when we encounter a semicolon in a class declaration. ES6 allows these as class elements. */
@@ -896,7 +851,7 @@ declare namespace ts {
896
851
  interface IndexSignatureDeclaration extends SignatureDeclarationBase, ClassElement, TypeElement, LocalsContainer {
897
852
  readonly kind: SyntaxKind.IndexSignature;
898
853
  readonly parent: ObjectTypeDeclaration;
899
- readonly modifiers?: NodeArray<Modifier>;
854
+ readonly modifiers?: NodeArray<ModifierLike>;
900
855
  readonly type: TypeNode;
901
856
  }
902
857
  interface ClassStaticBlockDeclaration extends ClassElement, JSDocContainer, LocalsContainer {
@@ -934,10 +889,6 @@ declare namespace ts {
934
889
  interface FunctionTypeNode extends FunctionOrConstructorTypeNodeBase, LocalsContainer {
935
890
  readonly kind: SyntaxKind.FunctionType;
936
891
  }
937
- interface FunctionTypeNode {
938
- /** @deprecated A function type cannot have modifiers */
939
- readonly modifiers?: NodeArray<Modifier> | undefined;
940
- }
941
892
  interface ConstructorTypeNode extends FunctionOrConstructorTypeNodeBase, LocalsContainer {
942
893
  readonly kind: SyntaxKind.ConstructorType;
943
894
  readonly modifiers?: NodeArray<Modifier>;
@@ -1479,7 +1430,7 @@ declare namespace ts {
1479
1430
  interface DebuggerStatement extends Statement, FlowContainer {
1480
1431
  readonly kind: SyntaxKind.DebuggerStatement;
1481
1432
  }
1482
- interface MissingDeclaration extends DeclarationStatement {
1433
+ interface MissingDeclaration extends DeclarationStatement, PrimaryExpression {
1483
1434
  readonly kind: SyntaxKind.MissingDeclaration;
1484
1435
  readonly name?: Identifier;
1485
1436
  }
@@ -1490,7 +1441,7 @@ declare namespace ts {
1490
1441
  }
1491
1442
  interface VariableStatement extends Statement, FlowContainer {
1492
1443
  readonly kind: SyntaxKind.VariableStatement;
1493
- readonly modifiers?: NodeArray<Modifier>;
1444
+ readonly modifiers?: NodeArray<ModifierLike>;
1494
1445
  readonly declarationList: VariableDeclarationList;
1495
1446
  }
1496
1447
  interface ExpressionStatement extends Statement, FlowContainer {
@@ -1627,7 +1578,7 @@ declare namespace ts {
1627
1578
  }
1628
1579
  interface InterfaceDeclaration extends DeclarationStatement, JSDocContainer {
1629
1580
  readonly kind: SyntaxKind.InterfaceDeclaration;
1630
- readonly modifiers?: NodeArray<Modifier>;
1581
+ readonly modifiers?: NodeArray<ModifierLike>;
1631
1582
  readonly name: Identifier;
1632
1583
  readonly typeParameters?: NodeArray<TypeParameterDeclaration>;
1633
1584
  readonly heritageClauses?: NodeArray<HeritageClause>;
@@ -1641,7 +1592,7 @@ declare namespace ts {
1641
1592
  }
1642
1593
  interface TypeAliasDeclaration extends DeclarationStatement, JSDocContainer, LocalsContainer {
1643
1594
  readonly kind: SyntaxKind.TypeAliasDeclaration;
1644
- readonly modifiers?: NodeArray<Modifier>;
1595
+ readonly modifiers?: NodeArray<ModifierLike>;
1645
1596
  readonly name: Identifier;
1646
1597
  readonly typeParameters?: NodeArray<TypeParameterDeclaration>;
1647
1598
  readonly type: TypeNode;
@@ -1654,7 +1605,7 @@ declare namespace ts {
1654
1605
  }
1655
1606
  interface EnumDeclaration extends DeclarationStatement, JSDocContainer {
1656
1607
  readonly kind: SyntaxKind.EnumDeclaration;
1657
- readonly modifiers?: NodeArray<Modifier>;
1608
+ readonly modifiers?: NodeArray<ModifierLike>;
1658
1609
  readonly name: Identifier;
1659
1610
  readonly members: NodeArray<EnumMember>;
1660
1611
  }
@@ -1663,7 +1614,7 @@ declare namespace ts {
1663
1614
  interface ModuleDeclaration extends DeclarationStatement, JSDocContainer, LocalsContainer {
1664
1615
  readonly kind: SyntaxKind.ModuleDeclaration;
1665
1616
  readonly parent: ModuleBody | SourceFile;
1666
- readonly modifiers?: NodeArray<Modifier>;
1617
+ readonly modifiers?: NodeArray<ModifierLike>;
1667
1618
  readonly name: ModuleName;
1668
1619
  readonly body?: ModuleBody | JSDocNamespaceDeclaration;
1669
1620
  }
@@ -1691,7 +1642,7 @@ declare namespace ts {
1691
1642
  interface ImportEqualsDeclaration extends DeclarationStatement, JSDocContainer {
1692
1643
  readonly kind: SyntaxKind.ImportEqualsDeclaration;
1693
1644
  readonly parent: SourceFile | ModuleBlock;
1694
- readonly modifiers?: NodeArray<Modifier>;
1645
+ readonly modifiers?: NodeArray<ModifierLike>;
1695
1646
  readonly name: Identifier;
1696
1647
  readonly isTypeOnly: boolean;
1697
1648
  readonly moduleReference: ModuleReference;
@@ -1704,7 +1655,7 @@ declare namespace ts {
1704
1655
  interface ImportDeclaration extends Statement {
1705
1656
  readonly kind: SyntaxKind.ImportDeclaration;
1706
1657
  readonly parent: SourceFile | ModuleBlock;
1707
- readonly modifiers?: NodeArray<Modifier>;
1658
+ readonly modifiers?: NodeArray<ModifierLike>;
1708
1659
  readonly importClause?: ImportClause;
1709
1660
  /** If this is not a StringLiteral it will be a grammar error. */
1710
1661
  readonly moduleSpecifier: Expression;
@@ -1749,7 +1700,7 @@ declare namespace ts {
1749
1700
  interface ExportDeclaration extends DeclarationStatement, JSDocContainer {
1750
1701
  readonly kind: SyntaxKind.ExportDeclaration;
1751
1702
  readonly parent: SourceFile | ModuleBlock;
1752
- readonly modifiers?: NodeArray<Modifier>;
1703
+ readonly modifiers?: NodeArray<ModifierLike>;
1753
1704
  readonly isTypeOnly: boolean;
1754
1705
  /** Will not be assigned in the case of `export * from "foo";` */
1755
1706
  readonly exportClause?: NamedExportBindings;
@@ -1783,8 +1734,8 @@ declare namespace ts {
1783
1734
  readonly name: Identifier;
1784
1735
  }
1785
1736
  type ImportOrExportSpecifier = ImportSpecifier | ExportSpecifier;
1786
- type TypeOnlyCompatibleAliasDeclaration = ImportClause | ImportEqualsDeclaration | NamespaceImport | ImportOrExportSpecifier;
1787
- type TypeOnlyAliasDeclaration = ImportClause & {
1737
+ type TypeOnlyCompatibleAliasDeclaration = ImportClause | ImportEqualsDeclaration | NamespaceImport | ImportOrExportSpecifier | ExportDeclaration | NamespaceExport;
1738
+ type TypeOnlyImportDeclaration = ImportClause & {
1788
1739
  readonly isTypeOnly: true;
1789
1740
  readonly name: Identifier;
1790
1741
  } | ImportEqualsDeclaration & {
@@ -1801,7 +1752,8 @@ declare namespace ts {
1801
1752
  readonly isTypeOnly: true;
1802
1753
  };
1803
1754
  };
1804
- }) | ExportSpecifier & ({
1755
+ });
1756
+ type TypeOnlyExportDeclaration = ExportSpecifier & ({
1805
1757
  readonly isTypeOnly: true;
1806
1758
  } | {
1807
1759
  readonly parent: NamedExports & {
@@ -1809,7 +1761,14 @@ declare namespace ts {
1809
1761
  readonly isTypeOnly: true;
1810
1762
  };
1811
1763
  };
1812
- });
1764
+ }) | ExportDeclaration & {
1765
+ readonly isTypeOnly: true;
1766
+ } | NamespaceExport & {
1767
+ readonly parent: ExportDeclaration & {
1768
+ readonly isTypeOnly: true;
1769
+ };
1770
+ };
1771
+ type TypeOnlyAliasDeclaration = TypeOnlyImportDeclaration | TypeOnlyExportDeclaration;
1813
1772
  /**
1814
1773
  * This is either an `export =` or an `export default` declaration.
1815
1774
  * Unless `isExportEquals` is set, this node was parsed as an `export default`.
@@ -1817,7 +1776,7 @@ declare namespace ts {
1817
1776
  interface ExportAssignment extends DeclarationStatement, JSDocContainer {
1818
1777
  readonly kind: SyntaxKind.ExportAssignment;
1819
1778
  readonly parent: SourceFile;
1820
- readonly modifiers?: NodeArray<Modifier>;
1779
+ readonly modifiers?: NodeArray<ModifierLike>;
1821
1780
  readonly isExportEquals?: boolean;
1822
1781
  readonly expression: Expression;
1823
1782
  }
@@ -2166,9 +2125,10 @@ declare namespace ts {
2166
2125
  }
2167
2126
  interface Bundle extends Node {
2168
2127
  readonly kind: SyntaxKind.Bundle;
2169
- readonly prepends: readonly (InputFiles | UnparsedSource)[];
2128
+ /** @deprecated */ readonly prepends: readonly (InputFiles | UnparsedSource)[];
2170
2129
  readonly sourceFiles: readonly SourceFile[];
2171
2130
  }
2131
+ /** @deprecated */
2172
2132
  interface InputFiles extends Node {
2173
2133
  readonly kind: SyntaxKind.InputFiles;
2174
2134
  javascriptPath?: string;
@@ -2180,6 +2140,7 @@ declare namespace ts {
2180
2140
  declarationMapPath?: string;
2181
2141
  declarationMapText?: string;
2182
2142
  }
2143
+ /** @deprecated */
2183
2144
  interface UnparsedSource extends Node {
2184
2145
  readonly kind: SyntaxKind.UnparsedSource;
2185
2146
  fileName: string;
@@ -2195,28 +2156,35 @@ declare namespace ts {
2195
2156
  readonly syntheticReferences?: readonly UnparsedSyntheticReference[];
2196
2157
  readonly texts: readonly UnparsedSourceText[];
2197
2158
  }
2159
+ /** @deprecated */
2198
2160
  type UnparsedSourceText = UnparsedPrepend | UnparsedTextLike;
2161
+ /** @deprecated */
2199
2162
  type UnparsedNode = UnparsedPrologue | UnparsedSourceText | UnparsedSyntheticReference;
2163
+ /** @deprecated */
2200
2164
  interface UnparsedSection extends Node {
2201
2165
  readonly kind: SyntaxKind;
2202
2166
  readonly parent: UnparsedSource;
2203
2167
  readonly data?: string;
2204
2168
  }
2169
+ /** @deprecated */
2205
2170
  interface UnparsedPrologue extends UnparsedSection {
2206
2171
  readonly kind: SyntaxKind.UnparsedPrologue;
2207
2172
  readonly parent: UnparsedSource;
2208
2173
  readonly data: string;
2209
2174
  }
2175
+ /** @deprecated */
2210
2176
  interface UnparsedPrepend extends UnparsedSection {
2211
2177
  readonly kind: SyntaxKind.UnparsedPrepend;
2212
2178
  readonly parent: UnparsedSource;
2213
2179
  readonly data: string;
2214
2180
  readonly texts: readonly UnparsedTextLike[];
2215
2181
  }
2182
+ /** @deprecated */
2216
2183
  interface UnparsedTextLike extends UnparsedSection {
2217
2184
  readonly kind: SyntaxKind.UnparsedText | SyntaxKind.UnparsedInternalText;
2218
2185
  readonly parent: UnparsedSource;
2219
2186
  }
2187
+ /** @deprecated */
2220
2188
  interface UnparsedSyntheticReference extends UnparsedSection {
2221
2189
  readonly kind: SyntaxKind.UnparsedSyntheticReference;
2222
2190
  readonly parent: UnparsedSource;
@@ -2357,9 +2325,7 @@ declare namespace ts {
2357
2325
  DiagnosticsPresent_OutputsSkipped = 1,
2358
2326
  DiagnosticsPresent_OutputsGenerated = 2,
2359
2327
  InvalidProject_OutputsSkipped = 3,
2360
- ProjectReferenceCycle_OutputsSkipped = 4,
2361
- /** @deprecated Use ProjectReferenceCycle_OutputsSkipped instead. */
2362
- ProjectReferenceCycle_OutputsSkupped = 4
2328
+ ProjectReferenceCycle_OutputsSkipped = 4
2363
2329
  }
2364
2330
  interface EmitResult {
2365
2331
  emitSkipped: boolean;
@@ -2489,8 +2455,6 @@ declare namespace ts {
2489
2455
  OmitThisParameter = 33554432,
2490
2456
  AllowThisInObjectLiteral = 32768,
2491
2457
  AllowQualifiedNameInPlaceOfIdentifier = 65536,
2492
- /** @deprecated AllowQualifedNameInPlaceOfIdentifier. Use AllowQualifiedNameInPlaceOfIdentifier instead. */
2493
- AllowQualifedNameInPlaceOfIdentifier = 65536,
2494
2458
  AllowAnonymousIdentifier = 131072,
2495
2459
  AllowEmptyUnionOrIntersection = 262144,
2496
2460
  AllowEmptyTuple = 524288,
@@ -2525,7 +2489,6 @@ declare namespace ts {
2525
2489
  InElementType = 2097152,
2526
2490
  InFirstTypeArgument = 4194304,
2527
2491
  InTypeAlias = 8388608,
2528
- /** @deprecated */ WriteOwnNameForAnyLike = 0,
2529
2492
  NodeBuilderFlagsMask = 848330091
2530
2493
  }
2531
2494
  enum SymbolFormatFlags {
@@ -2981,8 +2944,6 @@ declare namespace ts {
2981
2944
  PriorityImpliesCombination = 416,
2982
2945
  Circularity = -1
2983
2946
  }
2984
- /** @deprecated Use FileExtensionInfo instead. */
2985
- type JsFileExtensionInfo = FileExtensionInfo;
2986
2947
  interface FileExtensionInfo {
2987
2948
  extension: string;
2988
2949
  isMixedContent: boolean;
@@ -3190,6 +3151,7 @@ declare namespace ts {
3190
3151
  types?: string[];
3191
3152
  /** Paths used to compute primary types search locations */
3192
3153
  typeRoots?: string[];
3154
+ verbatimModuleSyntax?: boolean;
3193
3155
  esModuleInterop?: boolean;
3194
3156
  useDefineForClassFields?: boolean;
3195
3157
  [option: string]: CompilerOptionsValue | TsConfigSourceFile | undefined;
@@ -3204,11 +3166,6 @@ declare namespace ts {
3204
3166
  [option: string]: CompilerOptionsValue | undefined;
3205
3167
  }
3206
3168
  interface TypeAcquisition {
3207
- /**
3208
- * @deprecated typingOptions.enableAutoDiscovery
3209
- * Use typeAcquisition.enable instead.
3210
- */
3211
- enableAutoDiscovery?: boolean;
3212
3169
  enable?: boolean;
3213
3170
  include?: string[];
3214
3171
  exclude?: string[];
@@ -3584,8 +3541,8 @@ declare namespace ts {
3584
3541
  updateMethodSignature(node: MethodSignature, modifiers: readonly Modifier[] | undefined, name: PropertyName, questionToken: QuestionToken | undefined, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode | undefined): MethodSignature;
3585
3542
  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;
3586
3543
  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;
3587
- createConstructorDeclaration(modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
3588
- updateConstructorDeclaration(node: ConstructorDeclaration, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
3544
+ createConstructorDeclaration(modifiers: readonly ModifierLike[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
3545
+ updateConstructorDeclaration(node: ConstructorDeclaration, modifiers: readonly ModifierLike[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
3589
3546
  createGetAccessorDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
3590
3547
  updateGetAccessorDeclaration(node: GetAccessorDeclaration, modifiers: readonly ModifierLike[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
3591
3548
  createSetAccessorDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
@@ -3594,8 +3551,8 @@ declare namespace ts {
3594
3551
  updateCallSignature(node: CallSignatureDeclaration, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode | undefined): CallSignatureDeclaration;
3595
3552
  createConstructSignature(typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined): ConstructSignatureDeclaration;
3596
3553
  updateConstructSignature(node: ConstructSignatureDeclaration, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode | undefined): ConstructSignatureDeclaration;
3597
- createIndexSignature(modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
3598
- updateIndexSignature(node: IndexSignatureDeclaration, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
3554
+ createIndexSignature(modifiers: readonly ModifierLike[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
3555
+ updateIndexSignature(node: IndexSignatureDeclaration, modifiers: readonly ModifierLike[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
3599
3556
  createTemplateLiteralTypeSpan(type: TypeNode, literal: TemplateMiddle | TemplateTail): TemplateLiteralTypeSpan;
3600
3557
  updateTemplateLiteralTypeSpan(node: TemplateLiteralTypeSpan, type: TypeNode, literal: TemplateMiddle | TemplateTail): TemplateLiteralTypeSpan;
3601
3558
  createClassStaticBlockDeclaration(body: Block): ClassStaticBlockDeclaration;
@@ -3731,8 +3688,8 @@ declare namespace ts {
3731
3688
  createSemicolonClassElement(): SemicolonClassElement;
3732
3689
  createBlock(statements: readonly Statement[], multiLine?: boolean): Block;
3733
3690
  updateBlock(node: Block, statements: readonly Statement[]): Block;
3734
- createVariableStatement(modifiers: readonly Modifier[] | undefined, declarationList: VariableDeclarationList | readonly VariableDeclaration[]): VariableStatement;
3735
- updateVariableStatement(node: VariableStatement, modifiers: readonly Modifier[] | undefined, declarationList: VariableDeclarationList): VariableStatement;
3691
+ createVariableStatement(modifiers: readonly ModifierLike[] | undefined, declarationList: VariableDeclarationList | readonly VariableDeclaration[]): VariableStatement;
3692
+ updateVariableStatement(node: VariableStatement, modifiers: readonly ModifierLike[] | undefined, declarationList: VariableDeclarationList): VariableStatement;
3736
3693
  createEmptyStatement(): EmptyStatement;
3737
3694
  createExpressionStatement(expression: Expression): ExpressionStatement;
3738
3695
  updateExpressionStatement(node: ExpressionStatement, expression: Expression): ExpressionStatement;
@@ -3773,24 +3730,24 @@ declare namespace ts {
3773
3730
  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;
3774
3731
  createClassDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): ClassDeclaration;
3775
3732
  updateClassDeclaration(node: ClassDeclaration, modifiers: readonly ModifierLike[] | undefined, name: Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): ClassDeclaration;
3776
- createInterfaceDeclaration(modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
3777
- updateInterfaceDeclaration(node: InterfaceDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
3778
- createTypeAliasDeclaration(modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
3779
- updateTypeAliasDeclaration(node: TypeAliasDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
3780
- createEnumDeclaration(modifiers: readonly Modifier[] | undefined, name: string | Identifier, members: readonly EnumMember[]): EnumDeclaration;
3781
- updateEnumDeclaration(node: EnumDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, members: readonly EnumMember[]): EnumDeclaration;
3782
- createModuleDeclaration(modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined, flags?: NodeFlags): ModuleDeclaration;
3783
- updateModuleDeclaration(node: ModuleDeclaration, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined): ModuleDeclaration;
3733
+ createInterfaceDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
3734
+ updateInterfaceDeclaration(node: InterfaceDeclaration, modifiers: readonly ModifierLike[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
3735
+ createTypeAliasDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
3736
+ updateTypeAliasDeclaration(node: TypeAliasDeclaration, modifiers: readonly ModifierLike[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
3737
+ createEnumDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | Identifier, members: readonly EnumMember[]): EnumDeclaration;
3738
+ updateEnumDeclaration(node: EnumDeclaration, modifiers: readonly ModifierLike[] | undefined, name: Identifier, members: readonly EnumMember[]): EnumDeclaration;
3739
+ createModuleDeclaration(modifiers: readonly ModifierLike[] | undefined, name: ModuleName, body: ModuleBody | undefined, flags?: NodeFlags): ModuleDeclaration;
3740
+ updateModuleDeclaration(node: ModuleDeclaration, modifiers: readonly ModifierLike[] | undefined, name: ModuleName, body: ModuleBody | undefined): ModuleDeclaration;
3784
3741
  createModuleBlock(statements: readonly Statement[]): ModuleBlock;
3785
3742
  updateModuleBlock(node: ModuleBlock, statements: readonly Statement[]): ModuleBlock;
3786
3743
  createCaseBlock(clauses: readonly CaseOrDefaultClause[]): CaseBlock;
3787
3744
  updateCaseBlock(node: CaseBlock, clauses: readonly CaseOrDefaultClause[]): CaseBlock;
3788
3745
  createNamespaceExportDeclaration(name: string | Identifier): NamespaceExportDeclaration;
3789
3746
  updateNamespaceExportDeclaration(node: NamespaceExportDeclaration, name: Identifier): NamespaceExportDeclaration;
3790
- createImportEqualsDeclaration(modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: string | Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
3791
- updateImportEqualsDeclaration(node: ImportEqualsDeclaration, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
3792
- createImportDeclaration(modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause?: AssertClause): ImportDeclaration;
3793
- updateImportDeclaration(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration;
3747
+ createImportEqualsDeclaration(modifiers: readonly ModifierLike[] | undefined, isTypeOnly: boolean, name: string | Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
3748
+ updateImportEqualsDeclaration(node: ImportEqualsDeclaration, modifiers: readonly ModifierLike[] | undefined, isTypeOnly: boolean, name: Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
3749
+ createImportDeclaration(modifiers: readonly ModifierLike[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause?: AssertClause): ImportDeclaration;
3750
+ updateImportDeclaration(node: ImportDeclaration, modifiers: readonly ModifierLike[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration;
3794
3751
  createImportClause(isTypeOnly: boolean, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
3795
3752
  updateImportClause(node: ImportClause, isTypeOnly: boolean, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
3796
3753
  createAssertClause(elements: NodeArray<AssertEntry>, multiLine?: boolean): AssertClause;
@@ -3807,10 +3764,10 @@ declare namespace ts {
3807
3764
  updateNamedImports(node: NamedImports, elements: readonly ImportSpecifier[]): NamedImports;
3808
3765
  createImportSpecifier(isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier): ImportSpecifier;
3809
3766
  updateImportSpecifier(node: ImportSpecifier, isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier): ImportSpecifier;
3810
- createExportAssignment(modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression): ExportAssignment;
3811
- updateExportAssignment(node: ExportAssignment, modifiers: readonly Modifier[] | undefined, expression: Expression): ExportAssignment;
3812
- createExportDeclaration(modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression, assertClause?: AssertClause): ExportDeclaration;
3813
- updateExportDeclaration(node: ExportDeclaration, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier: Expression | undefined, assertClause: AssertClause | undefined): ExportDeclaration;
3767
+ createExportAssignment(modifiers: readonly ModifierLike[] | undefined, isExportEquals: boolean | undefined, expression: Expression): ExportAssignment;
3768
+ updateExportAssignment(node: ExportAssignment, modifiers: readonly ModifierLike[] | undefined, expression: Expression): ExportAssignment;
3769
+ createExportDeclaration(modifiers: readonly ModifierLike[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression, assertClause?: AssertClause): ExportDeclaration;
3770
+ updateExportDeclaration(node: ExportDeclaration, modifiers: readonly ModifierLike[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier: Expression | undefined, assertClause: AssertClause | undefined): ExportDeclaration;
3814
3771
  createNamedExports(elements: readonly ExportSpecifier[]): NamedExports;
3815
3772
  updateNamedExports(node: NamedExports, elements: readonly ExportSpecifier[]): NamedExports;
3816
3773
  createExportSpecifier(isTypeOnly: boolean, propertyName: string | Identifier | undefined, name: string | Identifier): ExportSpecifier;
@@ -3944,8 +3901,10 @@ declare namespace ts {
3944
3901
  updatePartiallyEmittedExpression(node: PartiallyEmittedExpression, expression: Expression): PartiallyEmittedExpression;
3945
3902
  createCommaListExpression(elements: readonly Expression[]): CommaListExpression;
3946
3903
  updateCommaListExpression(node: CommaListExpression, elements: readonly Expression[]): CommaListExpression;
3947
- createBundle(sourceFiles: readonly SourceFile[], prepends?: readonly (UnparsedSource | InputFiles)[]): Bundle;
3948
- updateBundle(node: Bundle, sourceFiles: readonly SourceFile[], prepends?: readonly (UnparsedSource | InputFiles)[]): Bundle;
3904
+ createBundle(sourceFiles: readonly SourceFile[]): Bundle;
3905
+ /** @deprecated*/ createBundle(sourceFiles: readonly SourceFile[], prepends?: readonly (UnparsedSource | InputFiles)[]): Bundle;
3906
+ updateBundle(node: Bundle, sourceFiles: readonly SourceFile[]): Bundle;
3907
+ /** @deprecated*/ updateBundle(node: Bundle, sourceFiles: readonly SourceFile[], prepends?: readonly (UnparsedSource | InputFiles)[]): Bundle;
3949
3908
  createComma(left: Expression, right: Expression): BinaryExpression;
3950
3909
  createAssignment(left: ObjectLiteralExpression | ArrayLiteralExpression, right: Expression): DestructuringAssignment;
3951
3910
  createAssignment(left: Expression, right: Expression): AssignmentExpression<EqualsToken>;
@@ -3988,179 +3947,6 @@ declare namespace ts {
3988
3947
  createExternalModuleExport(exportName: Identifier): ExportDeclaration;
3989
3948
  restoreOuterExpressions(outerExpression: Expression | undefined, innerExpression: Expression, kinds?: OuterExpressionKinds): Expression;
3990
3949
  }
3991
- interface NodeFactory {
3992
- /** @deprecated Use the overload that accepts 'modifiers' */
3993
- createConstructorTypeNode(typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): ConstructorTypeNode;
3994
- /** @deprecated Use the overload that accepts 'modifiers' */
3995
- updateConstructorTypeNode(node: ConstructorTypeNode, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode): ConstructorTypeNode;
3996
- }
3997
- interface NodeFactory {
3998
- createImportTypeNode(argument: TypeNode, assertions?: ImportTypeAssertionContainer, qualifier?: EntityName, typeArguments?: readonly TypeNode[], isTypeOf?: boolean): ImportTypeNode;
3999
- /** @deprecated Use the overload that accepts 'assertions' */
4000
- createImportTypeNode(argument: TypeNode, qualifier?: EntityName, typeArguments?: readonly TypeNode[], isTypeOf?: boolean): ImportTypeNode;
4001
- /** @deprecated Use the overload that accepts 'assertions' */
4002
- updateImportTypeNode(node: ImportTypeNode, argument: TypeNode, qualifier: EntityName | undefined, typeArguments: readonly TypeNode[] | undefined, isTypeOf?: boolean): ImportTypeNode;
4003
- }
4004
- interface NodeFactory {
4005
- /** @deprecated Use the overload that accepts 'modifiers' */
4006
- createTypeParameterDeclaration(name: string | Identifier, constraint?: TypeNode, defaultType?: TypeNode): TypeParameterDeclaration;
4007
- /** @deprecated Use the overload that accepts 'modifiers' */
4008
- updateTypeParameterDeclaration(node: TypeParameterDeclaration, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined): TypeParameterDeclaration;
4009
- }
4010
- interface NodeFactory {
4011
- /**
4012
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
4013
- */
4014
- createParameterDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken?: QuestionToken, type?: TypeNode, initializer?: Expression): ParameterDeclaration;
4015
- /**
4016
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
4017
- */
4018
- 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;
4019
- /**
4020
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
4021
- */
4022
- createPropertyDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): PropertyDeclaration;
4023
- /**
4024
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
4025
- */
4026
- 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;
4027
- /**
4028
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
4029
- */
4030
- 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;
4031
- /**
4032
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
4033
- */
4034
- 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;
4035
- /**
4036
- * @deprecated This node does not support Decorators. Callers should use an overload that does not accept a `decorators` parameter.
4037
- */
4038
- createConstructorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
4039
- /**
4040
- * @deprecated This node does not support Decorators. Callers should use an overload that does not accept a `decorators` parameter.
4041
- */
4042
- updateConstructorDeclaration(node: ConstructorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
4043
- /**
4044
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
4045
- */
4046
- createGetAccessorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
4047
- /**
4048
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
4049
- */
4050
- updateGetAccessorDeclaration(node: GetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
4051
- /**
4052
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
4053
- */
4054
- createSetAccessorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
4055
- /**
4056
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
4057
- */
4058
- updateSetAccessorDeclaration(node: SetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
4059
- /**
4060
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4061
- */
4062
- createIndexSignature(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
4063
- /**
4064
- * @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.
4065
- */
4066
- updateIndexSignature(node: IndexSignatureDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
4067
- /**
4068
- * @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.
4069
- */
4070
- createClassStaticBlockDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, body: Block): ClassStaticBlockDeclaration;
4071
- /**
4072
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4073
- */
4074
- updateClassStaticBlockDeclaration(node: ClassStaticBlockDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, body: Block): ClassStaticBlockDeclaration;
4075
- /**
4076
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
4077
- */
4078
- 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;
4079
- /**
4080
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
4081
- */
4082
- 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;
4083
- /**
4084
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4085
- */
4086
- 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;
4087
- /**
4088
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4089
- */
4090
- 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;
4091
- /**
4092
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
4093
- */
4094
- 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;
4095
- /**
4096
- * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
4097
- */
4098
- 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;
4099
- /**
4100
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4101
- */
4102
- createInterfaceDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
4103
- /**
4104
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4105
- */
4106
- 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;
4107
- /**
4108
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4109
- */
4110
- createTypeAliasDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
4111
- /**
4112
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4113
- */
4114
- updateTypeAliasDeclaration(node: TypeAliasDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
4115
- /**
4116
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4117
- */
4118
- createEnumDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, members: readonly EnumMember[]): EnumDeclaration;
4119
- /**
4120
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4121
- */
4122
- updateEnumDeclaration(node: EnumDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, members: readonly EnumMember[]): EnumDeclaration;
4123
- /**
4124
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4125
- */
4126
- createModuleDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined, flags?: NodeFlags): ModuleDeclaration;
4127
- /**
4128
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4129
- */
4130
- updateModuleDeclaration(node: ModuleDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined): ModuleDeclaration;
4131
- /**
4132
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4133
- */
4134
- createImportEqualsDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: string | Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
4135
- /**
4136
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4137
- */
4138
- updateImportEqualsDeclaration(node: ImportEqualsDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
4139
- /**
4140
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4141
- */
4142
- createImportDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause?: AssertClause): ImportDeclaration;
4143
- /**
4144
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4145
- */
4146
- updateImportDeclaration(node: ImportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration;
4147
- /**
4148
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4149
- */
4150
- createExportAssignment(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression): ExportAssignment;
4151
- /**
4152
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4153
- */
4154
- updateExportAssignment(node: ExportAssignment, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, expression: Expression): ExportAssignment;
4155
- /**
4156
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4157
- */
4158
- createExportDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression, assertClause?: AssertClause): ExportDeclaration;
4159
- /**
4160
- * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
4161
- */
4162
- updateExportDeclaration(node: ExportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier: Expression | undefined, assertClause: AssertClause | undefined): ExportDeclaration;
4163
- }
4164
3950
  interface CoreTransformationContext {
4165
3951
  readonly factory: NodeFactory;
4166
3952
  /** Gets the compiler options supplied to the transformer. */
@@ -4489,6 +4275,11 @@ declare namespace ts {
4489
4275
  readonly allowRenameOfImportPath?: boolean;
4490
4276
  readonly autoImportFileExcludePatterns?: string[];
4491
4277
  readonly organizeImportsIgnoreCase?: "auto" | boolean;
4278
+ readonly organizeImportsCollation?: "ordinal" | "unicode";
4279
+ readonly organizeImportsLocale?: string;
4280
+ readonly organizeImportsNumericCollation?: boolean;
4281
+ readonly organizeImportsAccentCollation?: boolean;
4282
+ readonly organizeImportsCaseFirst?: "upper" | "lower" | false;
4492
4283
  }
4493
4284
  /** Represents a bigint literal value without requiring bigint support */
4494
4285
  interface PseudoBigInt {
@@ -4819,7 +4610,9 @@ declare namespace ts {
4819
4610
  function isNonNullChain(node: Node): node is NonNullChain;
4820
4611
  function isBreakOrContinueStatement(node: Node): node is BreakOrContinueStatement;
4821
4612
  function isNamedExportBindings(node: Node): node is NamedExportBindings;
4613
+ /** @deprecated */
4822
4614
  function isUnparsedTextLike(node: Node): node is UnparsedTextLike;
4615
+ /** @deprecated */
4823
4616
  function isUnparsedNode(node: Node): node is UnparsedNode;
4824
4617
  function isJSDocPropertyLikeTag(node: Node): node is JSDocPropertyLikeTag;
4825
4618
  /**
@@ -4838,6 +4631,8 @@ declare namespace ts {
4838
4631
  function isTemplateLiteralToken(node: Node): node is TemplateLiteralToken;
4839
4632
  function isTemplateMiddleOrTemplateTail(node: Node): node is TemplateMiddle | TemplateTail;
4840
4633
  function isImportOrExportSpecifier(node: Node): node is ImportSpecifier | ExportSpecifier;
4634
+ function isTypeOnlyImportDeclaration(node: Node): node is TypeOnlyImportDeclaration;
4635
+ function isTypeOnlyExportDeclaration(node: Node): node is TypeOnlyExportDeclaration;
4841
4636
  function isTypeOnlyImportOrExportDeclaration(node: Node): node is TypeOnlyAliasDeclaration;
4842
4637
  function isAssertionKey(node: Node): node is AssertionKey;
4843
4638
  function isStringTextContainingNode(node: Node): node is StringLiteral | TemplateLiteralToken;
@@ -4861,13 +4656,30 @@ declare namespace ts {
4861
4656
  */
4862
4657
  function isTypeNode(node: Node): node is TypeNode;
4863
4658
  function isFunctionOrConstructorTypeNode(node: Node): node is FunctionTypeNode | ConstructorTypeNode;
4659
+ function isArrayBindingElement(node: Node): node is ArrayBindingElement;
4864
4660
  function isPropertyAccessOrQualifiedName(node: Node): node is PropertyAccessExpression | QualifiedName;
4865
4661
  function isCallLikeExpression(node: Node): node is CallLikeExpression;
4866
4662
  function isCallOrNewExpression(node: Node): node is CallExpression | NewExpression;
4867
4663
  function isTemplateLiteral(node: Node): node is TemplateLiteral;
4664
+ function isLeftHandSideExpression(node: Node): node is LeftHandSideExpression;
4665
+ function isLiteralTypeLiteral(node: Node): node is NullLiteral | BooleanLiteral | LiteralExpression | PrefixUnaryExpression;
4666
+ /**
4667
+ * Determines whether a node is an expression based only on its kind.
4668
+ */
4669
+ function isExpression(node: Node): node is Expression;
4868
4670
  function isAssertionExpression(node: Node): node is AssertionExpression;
4869
4671
  function isIterationStatement(node: Node, lookInLabeledStatements: false): node is IterationStatement;
4870
4672
  function isIterationStatement(node: Node, lookInLabeledStatements: boolean): node is IterationStatement | LabeledStatement;
4673
+ function isConciseBody(node: Node): node is ConciseBody;
4674
+ function isForInitializer(node: Node): node is ForInitializer;
4675
+ function isModuleBody(node: Node): node is ModuleBody;
4676
+ function isNamedImportBindings(node: Node): node is NamedImportBindings;
4677
+ function isStatement(node: Node): node is Statement;
4678
+ function isModuleReference(node: Node): node is ModuleReference;
4679
+ function isJsxTagNameExpression(node: Node): node is JsxTagNameExpression;
4680
+ function isJsxChild(node: Node): node is JsxChild;
4681
+ function isJsxAttributeLike(node: Node): node is JsxAttributeLike;
4682
+ function isStringLiteralOrJsxExpression(node: Node): node is StringLiteral | JsxExpression;
4871
4683
  function isJsxOpeningLikeElement(node: Node): node is JsxOpeningLikeElement;
4872
4684
  function isCaseOrDefaultClause(node: Node): node is CaseOrDefaultClause;
4873
4685
  /** True if node is of a kind that may contain comment text. */
@@ -4887,11 +4699,17 @@ declare namespace ts {
4887
4699
  name: Identifier;
4888
4700
  };
4889
4701
  function emitModuleKindIsNonNodeESM(moduleKind: ModuleKind): boolean;
4702
+ /** @deprecated */
4890
4703
  function createUnparsedSourceFile(text: string): UnparsedSource;
4704
+ /** @deprecated */
4891
4705
  function createUnparsedSourceFile(inputFile: InputFiles, type: "js" | "dts", stripInternal?: boolean): UnparsedSource;
4706
+ /** @deprecated */
4892
4707
  function createUnparsedSourceFile(text: string, mapPath: string | undefined, map: string | undefined): UnparsedSource;
4708
+ /** @deprecated */
4893
4709
  function createInputFiles(javascriptText: string, declarationText: string): InputFiles;
4710
+ /** @deprecated */
4894
4711
  function createInputFiles(javascriptText: string, declarationText: string, javascriptMapPath: string | undefined, javascriptMapText: string | undefined, declarationMapPath: string | undefined, declarationMapText: string | undefined): InputFiles;
4712
+ /** @deprecated */
4895
4713
  function createInputFiles(readFileText: (path: string) => string | undefined, javascriptPath: string, javascriptMapPath: string | undefined, declarationPath: string, declarationMapPath: string | undefined, buildInfoPath: string | undefined): InputFiles;
4896
4714
  /**
4897
4715
  * Create an external source map source file reference
@@ -4980,8 +4798,15 @@ declare namespace ts {
4980
4798
  function isPlusToken(node: Node): node is PlusToken;
4981
4799
  function isMinusToken(node: Node): node is MinusToken;
4982
4800
  function isAsteriskToken(node: Node): node is AsteriskToken;
4801
+ function isExclamationToken(node: Node): node is ExclamationToken;
4802
+ function isQuestionToken(node: Node): node is QuestionToken;
4803
+ function isColonToken(node: Node): node is ColonToken;
4804
+ function isQuestionDotToken(node: Node): node is QuestionDotToken;
4805
+ function isEqualsGreaterThanToken(node: Node): node is EqualsGreaterThanToken;
4983
4806
  function isIdentifier(node: Node): node is Identifier;
4984
4807
  function isPrivateIdentifier(node: Node): node is PrivateIdentifier;
4808
+ function isAssertsKeyword(node: Node): node is AssertsKeyword;
4809
+ function isAwaitKeyword(node: Node): node is AwaitKeyword;
4985
4810
  function isQualifiedName(node: Node): node is QualifiedName;
4986
4811
  function isComputedPropertyName(node: Node): node is ComputedPropertyName;
4987
4812
  function isTypeParameterDeclaration(node: Node): node is TypeParameterDeclaration;
@@ -5125,9 +4950,11 @@ declare namespace ts {
5125
4950
  function isShorthandPropertyAssignment(node: Node): node is ShorthandPropertyAssignment;
5126
4951
  function isSpreadAssignment(node: Node): node is SpreadAssignment;
5127
4952
  function isEnumMember(node: Node): node is EnumMember;
4953
+ /** @deprecated */
5128
4954
  function isUnparsedPrepend(node: Node): node is UnparsedPrepend;
5129
4955
  function isSourceFile(node: Node): node is SourceFile;
5130
4956
  function isBundle(node: Node): node is Bundle;
4957
+ /** @deprecated */
5131
4958
  function isUnparsedSource(node: Node): node is UnparsedSource;
5132
4959
  function isJSDocTypeExpression(node: Node): node is JSDocTypeExpression;
5133
4960
  function isJSDocNameReference(node: Node): node is JSDocNameReference;
@@ -5170,6 +4997,12 @@ declare namespace ts {
5170
4997
  function isJSDocImplementsTag(node: Node): node is JSDocImplementsTag;
5171
4998
  function isJSDocSatisfiesTag(node: Node): node is JSDocSatisfiesTag;
5172
4999
  function isJSDocThrowsTag(node: Node): node is JSDocThrowsTag;
5000
+ function isQuestionOrExclamationToken(node: Node): node is QuestionToken | ExclamationToken;
5001
+ function isIdentifierOrThisTypeNode(node: Node): node is Identifier | ThisTypeNode;
5002
+ function isReadonlyKeywordOrPlusOrMinusToken(node: Node): node is ReadonlyKeyword | PlusToken | MinusToken;
5003
+ function isQuestionOrPlusOrMinusToken(node: Node): node is QuestionToken | PlusToken | MinusToken;
5004
+ function isModuleName(node: Node): node is ModuleName;
5005
+ function isBinaryOperatorToken(node: Node): node is BinaryOperatorToken;
5173
5006
  function setTextRange<T extends TextRange>(range: T, location: TextRange | undefined): T;
5174
5007
  function canHaveModifiers(node: Node): node is HasModifiers;
5175
5008
  function canHaveDecorators(node: Node): node is HasDecorators;
@@ -5466,6 +5299,12 @@ declare namespace ts {
5466
5299
  * Visits an iteration body, adding any block-scoped variables required by the transformation.
5467
5300
  */
5468
5301
  function visitIterationBody(body: Statement, visitor: Visitor, context: TransformationContext): Statement;
5302
+ /**
5303
+ * Visits the elements of a {@link CommaListExpression}.
5304
+ * @param visitor The visitor to use when visiting expressions whose result will not be discarded at runtime.
5305
+ * @param discardVisitor The visitor to use when visiting expressions whose result will be discarded at runtime. Defaults to {@link visitor}.
5306
+ */
5307
+ function visitCommaListElements(elements: NodeArray<Expression>, visitor: Visitor, discardVisitor?: Visitor): NodeArray<Expression>;
5469
5308
  /**
5470
5309
  * Visits each child of a Node using the supplied visitor, possibly returning a new Node of the same kind in its place.
5471
5310
  *
@@ -5561,15 +5400,11 @@ declare namespace ts {
5561
5400
  * Note: The file might not exist.
5562
5401
  */
5563
5402
  function resolveProjectReferencePath(ref: ProjectReference): ResolvedConfigFileName;
5564
- /** @deprecated */ function resolveProjectReferencePath(host: ResolveProjectReferencePathHost, ref: ProjectReference): ResolvedConfigFileName;
5565
5403
  interface FormatDiagnosticsHost {
5566
5404
  getCurrentDirectory(): string;
5567
5405
  getCanonicalFileName(fileName: string): string;
5568
5406
  getNewLine(): string;
5569
5407
  }
5570
- /** @deprecated */ interface ResolveProjectReferencePathHost {
5571
- fileExists(fileName: string): boolean;
5572
- }
5573
5408
  interface EmitOutput {
5574
5409
  outputFiles: OutputFile[];
5575
5410
  emitSkipped: boolean;
@@ -5912,7 +5747,7 @@ declare namespace ts {
5912
5747
  }
5913
5748
  enum InvalidatedProjectKind {
5914
5749
  Build = 0,
5915
- UpdateBundle = 1,
5750
+ /** @deprecated */ UpdateBundle = 1,
5916
5751
  UpdateOutputFileStamps = 2
5917
5752
  }
5918
5753
  interface InvalidatedProjectBase {
@@ -5944,6 +5779,7 @@ declare namespace ts {
5944
5779
  getSemanticDiagnosticsOfNextAffectedFile(cancellationToken?: CancellationToken, ignoreSourceFile?: (sourceFile: SourceFile) => boolean): AffectedFileResult<readonly Diagnostic[]>;
5945
5780
  emit(targetSourceFile?: SourceFile, writeFile?: WriteFileCallback, cancellationToken?: CancellationToken, emitOnlyDtsFiles?: boolean, customTransformers?: CustomTransformers): EmitResult | undefined;
5946
5781
  }
5782
+ /** @deprecated */
5947
5783
  interface UpdateBundleProject<T extends BuilderProgram> extends InvalidatedProjectBase {
5948
5784
  readonly kind: InvalidatedProjectKind.UpdateBundle;
5949
5785
  emit(writeFile?: WriteFileCallback, customTransformers?: CustomTransformers): EmitResult | BuildInvalidedProject<T> | undefined;
@@ -7284,738 +7120,5 @@ declare namespace ts {
7284
7120
  * @param compilerOptions Optional compiler options.
7285
7121
  */
7286
7122
  function transform<T extends Node>(source: T | T[], transformers: TransformerFactory<T>[], compilerOptions?: CompilerOptions): TransformationResult<T>;
7287
- /** @deprecated Use `factory.createNodeArray` or the factory supplied by your transformation context instead. */
7288
- const createNodeArray: typeof factory.createNodeArray;
7289
- /** @deprecated Use `factory.createNumericLiteral` or the factory supplied by your transformation context instead. */
7290
- const createNumericLiteral: typeof factory.createNumericLiteral;
7291
- /** @deprecated Use `factory.createBigIntLiteral` or the factory supplied by your transformation context instead. */
7292
- const createBigIntLiteral: typeof factory.createBigIntLiteral;
7293
- /** @deprecated Use `factory.createStringLiteral` or the factory supplied by your transformation context instead. */
7294
- const createStringLiteral: typeof factory.createStringLiteral;
7295
- /** @deprecated Use `factory.createStringLiteralFromNode` or the factory supplied by your transformation context instead. */
7296
- const createStringLiteralFromNode: typeof factory.createStringLiteralFromNode;
7297
- /** @deprecated Use `factory.createRegularExpressionLiteral` or the factory supplied by your transformation context instead. */
7298
- const createRegularExpressionLiteral: typeof factory.createRegularExpressionLiteral;
7299
- /** @deprecated Use `factory.createLoopVariable` or the factory supplied by your transformation context instead. */
7300
- const createLoopVariable: typeof factory.createLoopVariable;
7301
- /** @deprecated Use `factory.createUniqueName` or the factory supplied by your transformation context instead. */
7302
- const createUniqueName: typeof factory.createUniqueName;
7303
- /** @deprecated Use `factory.createPrivateIdentifier` or the factory supplied by your transformation context instead. */
7304
- const createPrivateIdentifier: typeof factory.createPrivateIdentifier;
7305
- /** @deprecated Use `factory.createSuper` or the factory supplied by your transformation context instead. */
7306
- const createSuper: typeof factory.createSuper;
7307
- /** @deprecated Use `factory.createThis` or the factory supplied by your transformation context instead. */
7308
- const createThis: typeof factory.createThis;
7309
- /** @deprecated Use `factory.createNull` or the factory supplied by your transformation context instead. */
7310
- const createNull: typeof factory.createNull;
7311
- /** @deprecated Use `factory.createTrue` or the factory supplied by your transformation context instead. */
7312
- const createTrue: typeof factory.createTrue;
7313
- /** @deprecated Use `factory.createFalse` or the factory supplied by your transformation context instead. */
7314
- const createFalse: typeof factory.createFalse;
7315
- /** @deprecated Use `factory.createModifier` or the factory supplied by your transformation context instead. */
7316
- const createModifier: typeof factory.createModifier;
7317
- /** @deprecated Use `factory.createModifiersFromModifierFlags` or the factory supplied by your transformation context instead. */
7318
- const createModifiersFromModifierFlags: typeof factory.createModifiersFromModifierFlags;
7319
- /** @deprecated Use `factory.createQualifiedName` or the factory supplied by your transformation context instead. */
7320
- const createQualifiedName: typeof factory.createQualifiedName;
7321
- /** @deprecated Use `factory.updateQualifiedName` or the factory supplied by your transformation context instead. */
7322
- const updateQualifiedName: typeof factory.updateQualifiedName;
7323
- /** @deprecated Use `factory.createComputedPropertyName` or the factory supplied by your transformation context instead. */
7324
- const createComputedPropertyName: typeof factory.createComputedPropertyName;
7325
- /** @deprecated Use `factory.updateComputedPropertyName` or the factory supplied by your transformation context instead. */
7326
- const updateComputedPropertyName: typeof factory.updateComputedPropertyName;
7327
- /** @deprecated Use `factory.createTypeParameterDeclaration` or the factory supplied by your transformation context instead. */
7328
- const createTypeParameterDeclaration: typeof factory.createTypeParameterDeclaration;
7329
- /** @deprecated Use `factory.updateTypeParameterDeclaration` or the factory supplied by your transformation context instead. */
7330
- const updateTypeParameterDeclaration: typeof factory.updateTypeParameterDeclaration;
7331
- /** @deprecated Use `factory.createParameterDeclaration` or the factory supplied by your transformation context instead. */
7332
- const createParameter: typeof factory.createParameterDeclaration;
7333
- /** @deprecated Use `factory.updateParameterDeclaration` or the factory supplied by your transformation context instead. */
7334
- const updateParameter: typeof factory.updateParameterDeclaration;
7335
- /** @deprecated Use `factory.createDecorator` or the factory supplied by your transformation context instead. */
7336
- const createDecorator: typeof factory.createDecorator;
7337
- /** @deprecated Use `factory.updateDecorator` or the factory supplied by your transformation context instead. */
7338
- const updateDecorator: typeof factory.updateDecorator;
7339
- /** @deprecated Use `factory.createPropertyDeclaration` or the factory supplied by your transformation context instead. */
7340
- const createProperty: typeof factory.createPropertyDeclaration;
7341
- /** @deprecated Use `factory.updatePropertyDeclaration` or the factory supplied by your transformation context instead. */
7342
- const updateProperty: typeof factory.updatePropertyDeclaration;
7343
- /** @deprecated Use `factory.createMethodDeclaration` or the factory supplied by your transformation context instead. */
7344
- const createMethod: typeof factory.createMethodDeclaration;
7345
- /** @deprecated Use `factory.updateMethodDeclaration` or the factory supplied by your transformation context instead. */
7346
- const updateMethod: typeof factory.updateMethodDeclaration;
7347
- /** @deprecated Use `factory.createConstructorDeclaration` or the factory supplied by your transformation context instead. */
7348
- const createConstructor: typeof factory.createConstructorDeclaration;
7349
- /** @deprecated Use `factory.updateConstructorDeclaration` or the factory supplied by your transformation context instead. */
7350
- const updateConstructor: typeof factory.updateConstructorDeclaration;
7351
- /** @deprecated Use `factory.createGetAccessorDeclaration` or the factory supplied by your transformation context instead. */
7352
- const createGetAccessor: typeof factory.createGetAccessorDeclaration;
7353
- /** @deprecated Use `factory.updateGetAccessorDeclaration` or the factory supplied by your transformation context instead. */
7354
- const updateGetAccessor: typeof factory.updateGetAccessorDeclaration;
7355
- /** @deprecated Use `factory.createSetAccessorDeclaration` or the factory supplied by your transformation context instead. */
7356
- const createSetAccessor: typeof factory.createSetAccessorDeclaration;
7357
- /** @deprecated Use `factory.updateSetAccessorDeclaration` or the factory supplied by your transformation context instead. */
7358
- const updateSetAccessor: typeof factory.updateSetAccessorDeclaration;
7359
- /** @deprecated Use `factory.createCallSignature` or the factory supplied by your transformation context instead. */
7360
- const createCallSignature: typeof factory.createCallSignature;
7361
- /** @deprecated Use `factory.updateCallSignature` or the factory supplied by your transformation context instead. */
7362
- const updateCallSignature: typeof factory.updateCallSignature;
7363
- /** @deprecated Use `factory.createConstructSignature` or the factory supplied by your transformation context instead. */
7364
- const createConstructSignature: typeof factory.createConstructSignature;
7365
- /** @deprecated Use `factory.updateConstructSignature` or the factory supplied by your transformation context instead. */
7366
- const updateConstructSignature: typeof factory.updateConstructSignature;
7367
- /** @deprecated Use `factory.updateIndexSignature` or the factory supplied by your transformation context instead. */
7368
- const updateIndexSignature: typeof factory.updateIndexSignature;
7369
- /** @deprecated Use `factory.createKeywordTypeNode` or the factory supplied by your transformation context instead. */
7370
- const createKeywordTypeNode: typeof factory.createKeywordTypeNode;
7371
- /** @deprecated Use `factory.createTypePredicateNode` or the factory supplied by your transformation context instead. */
7372
- const createTypePredicateNodeWithModifier: typeof factory.createTypePredicateNode;
7373
- /** @deprecated Use `factory.updateTypePredicateNode` or the factory supplied by your transformation context instead. */
7374
- const updateTypePredicateNodeWithModifier: typeof factory.updateTypePredicateNode;
7375
- /** @deprecated Use `factory.createTypeReferenceNode` or the factory supplied by your transformation context instead. */
7376
- const createTypeReferenceNode: typeof factory.createTypeReferenceNode;
7377
- /** @deprecated Use `factory.updateTypeReferenceNode` or the factory supplied by your transformation context instead. */
7378
- const updateTypeReferenceNode: typeof factory.updateTypeReferenceNode;
7379
- /** @deprecated Use `factory.createFunctionTypeNode` or the factory supplied by your transformation context instead. */
7380
- const createFunctionTypeNode: typeof factory.createFunctionTypeNode;
7381
- /** @deprecated Use `factory.updateFunctionTypeNode` or the factory supplied by your transformation context instead. */
7382
- const updateFunctionTypeNode: typeof factory.updateFunctionTypeNode;
7383
- /** @deprecated Use `factory.createConstructorTypeNode` or the factory supplied by your transformation context instead. */
7384
- const createConstructorTypeNode: (typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode) => ConstructorTypeNode;
7385
- /** @deprecated Use `factory.updateConstructorTypeNode` or the factory supplied by your transformation context instead. */
7386
- const updateConstructorTypeNode: (node: ConstructorTypeNode, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode) => ConstructorTypeNode;
7387
- /** @deprecated Use `factory.createTypeQueryNode` or the factory supplied by your transformation context instead. */
7388
- const createTypeQueryNode: typeof factory.createTypeQueryNode;
7389
- /** @deprecated Use `factory.updateTypeQueryNode` or the factory supplied by your transformation context instead. */
7390
- const updateTypeQueryNode: typeof factory.updateTypeQueryNode;
7391
- /** @deprecated Use `factory.createTypeLiteralNode` or the factory supplied by your transformation context instead. */
7392
- const createTypeLiteralNode: typeof factory.createTypeLiteralNode;
7393
- /** @deprecated Use `factory.updateTypeLiteralNode` or the factory supplied by your transformation context instead. */
7394
- const updateTypeLiteralNode: typeof factory.updateTypeLiteralNode;
7395
- /** @deprecated Use `factory.createArrayTypeNode` or the factory supplied by your transformation context instead. */
7396
- const createArrayTypeNode: typeof factory.createArrayTypeNode;
7397
- /** @deprecated Use `factory.updateArrayTypeNode` or the factory supplied by your transformation context instead. */
7398
- const updateArrayTypeNode: typeof factory.updateArrayTypeNode;
7399
- /** @deprecated Use `factory.createTupleTypeNode` or the factory supplied by your transformation context instead. */
7400
- const createTupleTypeNode: typeof factory.createTupleTypeNode;
7401
- /** @deprecated Use `factory.updateTupleTypeNode` or the factory supplied by your transformation context instead. */
7402
- const updateTupleTypeNode: typeof factory.updateTupleTypeNode;
7403
- /** @deprecated Use `factory.createOptionalTypeNode` or the factory supplied by your transformation context instead. */
7404
- const createOptionalTypeNode: typeof factory.createOptionalTypeNode;
7405
- /** @deprecated Use `factory.updateOptionalTypeNode` or the factory supplied by your transformation context instead. */
7406
- const updateOptionalTypeNode: typeof factory.updateOptionalTypeNode;
7407
- /** @deprecated Use `factory.createRestTypeNode` or the factory supplied by your transformation context instead. */
7408
- const createRestTypeNode: typeof factory.createRestTypeNode;
7409
- /** @deprecated Use `factory.updateRestTypeNode` or the factory supplied by your transformation context instead. */
7410
- const updateRestTypeNode: typeof factory.updateRestTypeNode;
7411
- /** @deprecated Use `factory.createUnionTypeNode` or the factory supplied by your transformation context instead. */
7412
- const createUnionTypeNode: typeof factory.createUnionTypeNode;
7413
- /** @deprecated Use `factory.updateUnionTypeNode` or the factory supplied by your transformation context instead. */
7414
- const updateUnionTypeNode: typeof factory.updateUnionTypeNode;
7415
- /** @deprecated Use `factory.createIntersectionTypeNode` or the factory supplied by your transformation context instead. */
7416
- const createIntersectionTypeNode: typeof factory.createIntersectionTypeNode;
7417
- /** @deprecated Use `factory.updateIntersectionTypeNode` or the factory supplied by your transformation context instead. */
7418
- const updateIntersectionTypeNode: typeof factory.updateIntersectionTypeNode;
7419
- /** @deprecated Use `factory.createConditionalTypeNode` or the factory supplied by your transformation context instead. */
7420
- const createConditionalTypeNode: typeof factory.createConditionalTypeNode;
7421
- /** @deprecated Use `factory.updateConditionalTypeNode` or the factory supplied by your transformation context instead. */
7422
- const updateConditionalTypeNode: typeof factory.updateConditionalTypeNode;
7423
- /** @deprecated Use `factory.createInferTypeNode` or the factory supplied by your transformation context instead. */
7424
- const createInferTypeNode: typeof factory.createInferTypeNode;
7425
- /** @deprecated Use `factory.updateInferTypeNode` or the factory supplied by your transformation context instead. */
7426
- const updateInferTypeNode: typeof factory.updateInferTypeNode;
7427
- /** @deprecated Use `factory.createImportTypeNode` or the factory supplied by your transformation context instead. */
7428
- const createImportTypeNode: typeof factory.createImportTypeNode;
7429
- /** @deprecated Use `factory.updateImportTypeNode` or the factory supplied by your transformation context instead. */
7430
- const updateImportTypeNode: typeof factory.updateImportTypeNode;
7431
- /** @deprecated Use `factory.createParenthesizedType` or the factory supplied by your transformation context instead. */
7432
- const createParenthesizedType: typeof factory.createParenthesizedType;
7433
- /** @deprecated Use `factory.updateParenthesizedType` or the factory supplied by your transformation context instead. */
7434
- const updateParenthesizedType: typeof factory.updateParenthesizedType;
7435
- /** @deprecated Use `factory.createThisTypeNode` or the factory supplied by your transformation context instead. */
7436
- const createThisTypeNode: typeof factory.createThisTypeNode;
7437
- /** @deprecated Use `factory.updateTypeOperatorNode` or the factory supplied by your transformation context instead. */
7438
- const updateTypeOperatorNode: typeof factory.updateTypeOperatorNode;
7439
- /** @deprecated Use `factory.createIndexedAccessTypeNode` or the factory supplied by your transformation context instead. */
7440
- const createIndexedAccessTypeNode: typeof factory.createIndexedAccessTypeNode;
7441
- /** @deprecated Use `factory.updateIndexedAccessTypeNode` or the factory supplied by your transformation context instead. */
7442
- const updateIndexedAccessTypeNode: typeof factory.updateIndexedAccessTypeNode;
7443
- /** @deprecated Use `factory.createMappedTypeNode` or the factory supplied by your transformation context instead. */
7444
- const createMappedTypeNode: typeof factory.createMappedTypeNode;
7445
- /** @deprecated Use `factory.updateMappedTypeNode` or the factory supplied by your transformation context instead. */
7446
- const updateMappedTypeNode: typeof factory.updateMappedTypeNode;
7447
- /** @deprecated Use `factory.createLiteralTypeNode` or the factory supplied by your transformation context instead. */
7448
- const createLiteralTypeNode: typeof factory.createLiteralTypeNode;
7449
- /** @deprecated Use `factory.updateLiteralTypeNode` or the factory supplied by your transformation context instead. */
7450
- const updateLiteralTypeNode: typeof factory.updateLiteralTypeNode;
7451
- /** @deprecated Use `factory.createObjectBindingPattern` or the factory supplied by your transformation context instead. */
7452
- const createObjectBindingPattern: typeof factory.createObjectBindingPattern;
7453
- /** @deprecated Use `factory.updateObjectBindingPattern` or the factory supplied by your transformation context instead. */
7454
- const updateObjectBindingPattern: typeof factory.updateObjectBindingPattern;
7455
- /** @deprecated Use `factory.createArrayBindingPattern` or the factory supplied by your transformation context instead. */
7456
- const createArrayBindingPattern: typeof factory.createArrayBindingPattern;
7457
- /** @deprecated Use `factory.updateArrayBindingPattern` or the factory supplied by your transformation context instead. */
7458
- const updateArrayBindingPattern: typeof factory.updateArrayBindingPattern;
7459
- /** @deprecated Use `factory.createBindingElement` or the factory supplied by your transformation context instead. */
7460
- const createBindingElement: typeof factory.createBindingElement;
7461
- /** @deprecated Use `factory.updateBindingElement` or the factory supplied by your transformation context instead. */
7462
- const updateBindingElement: typeof factory.updateBindingElement;
7463
- /** @deprecated Use `factory.createArrayLiteralExpression` or the factory supplied by your transformation context instead. */
7464
- const createArrayLiteral: typeof factory.createArrayLiteralExpression;
7465
- /** @deprecated Use `factory.updateArrayLiteralExpression` or the factory supplied by your transformation context instead. */
7466
- const updateArrayLiteral: typeof factory.updateArrayLiteralExpression;
7467
- /** @deprecated Use `factory.createObjectLiteralExpression` or the factory supplied by your transformation context instead. */
7468
- const createObjectLiteral: typeof factory.createObjectLiteralExpression;
7469
- /** @deprecated Use `factory.updateObjectLiteralExpression` or the factory supplied by your transformation context instead. */
7470
- const updateObjectLiteral: typeof factory.updateObjectLiteralExpression;
7471
- /** @deprecated Use `factory.createPropertyAccessExpression` or the factory supplied by your transformation context instead. */
7472
- const createPropertyAccess: typeof factory.createPropertyAccessExpression;
7473
- /** @deprecated Use `factory.updatePropertyAccessExpression` or the factory supplied by your transformation context instead. */
7474
- const updatePropertyAccess: typeof factory.updatePropertyAccessExpression;
7475
- /** @deprecated Use `factory.createPropertyAccessChain` or the factory supplied by your transformation context instead. */
7476
- const createPropertyAccessChain: typeof factory.createPropertyAccessChain;
7477
- /** @deprecated Use `factory.updatePropertyAccessChain` or the factory supplied by your transformation context instead. */
7478
- const updatePropertyAccessChain: typeof factory.updatePropertyAccessChain;
7479
- /** @deprecated Use `factory.createElementAccessExpression` or the factory supplied by your transformation context instead. */
7480
- const createElementAccess: typeof factory.createElementAccessExpression;
7481
- /** @deprecated Use `factory.updateElementAccessExpression` or the factory supplied by your transformation context instead. */
7482
- const updateElementAccess: typeof factory.updateElementAccessExpression;
7483
- /** @deprecated Use `factory.createElementAccessChain` or the factory supplied by your transformation context instead. */
7484
- const createElementAccessChain: typeof factory.createElementAccessChain;
7485
- /** @deprecated Use `factory.updateElementAccessChain` or the factory supplied by your transformation context instead. */
7486
- const updateElementAccessChain: typeof factory.updateElementAccessChain;
7487
- /** @deprecated Use `factory.createCallExpression` or the factory supplied by your transformation context instead. */
7488
- const createCall: typeof factory.createCallExpression;
7489
- /** @deprecated Use `factory.updateCallExpression` or the factory supplied by your transformation context instead. */
7490
- const updateCall: typeof factory.updateCallExpression;
7491
- /** @deprecated Use `factory.createCallChain` or the factory supplied by your transformation context instead. */
7492
- const createCallChain: typeof factory.createCallChain;
7493
- /** @deprecated Use `factory.updateCallChain` or the factory supplied by your transformation context instead. */
7494
- const updateCallChain: typeof factory.updateCallChain;
7495
- /** @deprecated Use `factory.createNewExpression` or the factory supplied by your transformation context instead. */
7496
- const createNew: typeof factory.createNewExpression;
7497
- /** @deprecated Use `factory.updateNewExpression` or the factory supplied by your transformation context instead. */
7498
- const updateNew: typeof factory.updateNewExpression;
7499
- /** @deprecated Use `factory.createTypeAssertion` or the factory supplied by your transformation context instead. */
7500
- const createTypeAssertion: typeof factory.createTypeAssertion;
7501
- /** @deprecated Use `factory.updateTypeAssertion` or the factory supplied by your transformation context instead. */
7502
- const updateTypeAssertion: typeof factory.updateTypeAssertion;
7503
- /** @deprecated Use `factory.createParenthesizedExpression` or the factory supplied by your transformation context instead. */
7504
- const createParen: typeof factory.createParenthesizedExpression;
7505
- /** @deprecated Use `factory.updateParenthesizedExpression` or the factory supplied by your transformation context instead. */
7506
- const updateParen: typeof factory.updateParenthesizedExpression;
7507
- /** @deprecated Use `factory.createFunctionExpression` or the factory supplied by your transformation context instead. */
7508
- const createFunctionExpression: typeof factory.createFunctionExpression;
7509
- /** @deprecated Use `factory.updateFunctionExpression` or the factory supplied by your transformation context instead. */
7510
- const updateFunctionExpression: typeof factory.updateFunctionExpression;
7511
- /** @deprecated Use `factory.createDeleteExpression` or the factory supplied by your transformation context instead. */
7512
- const createDelete: typeof factory.createDeleteExpression;
7513
- /** @deprecated Use `factory.updateDeleteExpression` or the factory supplied by your transformation context instead. */
7514
- const updateDelete: typeof factory.updateDeleteExpression;
7515
- /** @deprecated Use `factory.createTypeOfExpression` or the factory supplied by your transformation context instead. */
7516
- const createTypeOf: typeof factory.createTypeOfExpression;
7517
- /** @deprecated Use `factory.updateTypeOfExpression` or the factory supplied by your transformation context instead. */
7518
- const updateTypeOf: typeof factory.updateTypeOfExpression;
7519
- /** @deprecated Use `factory.createVoidExpression` or the factory supplied by your transformation context instead. */
7520
- const createVoid: typeof factory.createVoidExpression;
7521
- /** @deprecated Use `factory.updateVoidExpression` or the factory supplied by your transformation context instead. */
7522
- const updateVoid: typeof factory.updateVoidExpression;
7523
- /** @deprecated Use `factory.createAwaitExpression` or the factory supplied by your transformation context instead. */
7524
- const createAwait: typeof factory.createAwaitExpression;
7525
- /** @deprecated Use `factory.updateAwaitExpression` or the factory supplied by your transformation context instead. */
7526
- const updateAwait: typeof factory.updateAwaitExpression;
7527
- /** @deprecated Use `factory.createPrefixExpression` or the factory supplied by your transformation context instead. */
7528
- const createPrefix: typeof factory.createPrefixUnaryExpression;
7529
- /** @deprecated Use `factory.updatePrefixExpression` or the factory supplied by your transformation context instead. */
7530
- const updatePrefix: typeof factory.updatePrefixUnaryExpression;
7531
- /** @deprecated Use `factory.createPostfixUnaryExpression` or the factory supplied by your transformation context instead. */
7532
- const createPostfix: typeof factory.createPostfixUnaryExpression;
7533
- /** @deprecated Use `factory.updatePostfixUnaryExpression` or the factory supplied by your transformation context instead. */
7534
- const updatePostfix: typeof factory.updatePostfixUnaryExpression;
7535
- /** @deprecated Use `factory.createBinaryExpression` or the factory supplied by your transformation context instead. */
7536
- const createBinary: typeof factory.createBinaryExpression;
7537
- /** @deprecated Use `factory.updateConditionalExpression` or the factory supplied by your transformation context instead. */
7538
- const updateConditional: typeof factory.updateConditionalExpression;
7539
- /** @deprecated Use `factory.createTemplateExpression` or the factory supplied by your transformation context instead. */
7540
- const createTemplateExpression: typeof factory.createTemplateExpression;
7541
- /** @deprecated Use `factory.updateTemplateExpression` or the factory supplied by your transformation context instead. */
7542
- const updateTemplateExpression: typeof factory.updateTemplateExpression;
7543
- /** @deprecated Use `factory.createTemplateHead` or the factory supplied by your transformation context instead. */
7544
- const createTemplateHead: typeof factory.createTemplateHead;
7545
- /** @deprecated Use `factory.createTemplateMiddle` or the factory supplied by your transformation context instead. */
7546
- const createTemplateMiddle: typeof factory.createTemplateMiddle;
7547
- /** @deprecated Use `factory.createTemplateTail` or the factory supplied by your transformation context instead. */
7548
- const createTemplateTail: typeof factory.createTemplateTail;
7549
- /** @deprecated Use `factory.createNoSubstitutionTemplateLiteral` or the factory supplied by your transformation context instead. */
7550
- const createNoSubstitutionTemplateLiteral: typeof factory.createNoSubstitutionTemplateLiteral;
7551
- /** @deprecated Use `factory.updateYieldExpression` or the factory supplied by your transformation context instead. */
7552
- const updateYield: typeof factory.updateYieldExpression;
7553
- /** @deprecated Use `factory.createSpreadExpression` or the factory supplied by your transformation context instead. */
7554
- const createSpread: typeof factory.createSpreadElement;
7555
- /** @deprecated Use `factory.updateSpreadExpression` or the factory supplied by your transformation context instead. */
7556
- const updateSpread: typeof factory.updateSpreadElement;
7557
- /** @deprecated Use `factory.createOmittedExpression` or the factory supplied by your transformation context instead. */
7558
- const createOmittedExpression: typeof factory.createOmittedExpression;
7559
- /** @deprecated Use `factory.createAsExpression` or the factory supplied by your transformation context instead. */
7560
- const createAsExpression: typeof factory.createAsExpression;
7561
- /** @deprecated Use `factory.updateAsExpression` or the factory supplied by your transformation context instead. */
7562
- const updateAsExpression: typeof factory.updateAsExpression;
7563
- /** @deprecated Use `factory.createNonNullExpression` or the factory supplied by your transformation context instead. */
7564
- const createNonNullExpression: typeof factory.createNonNullExpression;
7565
- /** @deprecated Use `factory.updateNonNullExpression` or the factory supplied by your transformation context instead. */
7566
- const updateNonNullExpression: typeof factory.updateNonNullExpression;
7567
- /** @deprecated Use `factory.createNonNullChain` or the factory supplied by your transformation context instead. */
7568
- const createNonNullChain: typeof factory.createNonNullChain;
7569
- /** @deprecated Use `factory.updateNonNullChain` or the factory supplied by your transformation context instead. */
7570
- const updateNonNullChain: typeof factory.updateNonNullChain;
7571
- /** @deprecated Use `factory.createMetaProperty` or the factory supplied by your transformation context instead. */
7572
- const createMetaProperty: typeof factory.createMetaProperty;
7573
- /** @deprecated Use `factory.updateMetaProperty` or the factory supplied by your transformation context instead. */
7574
- const updateMetaProperty: typeof factory.updateMetaProperty;
7575
- /** @deprecated Use `factory.createTemplateSpan` or the factory supplied by your transformation context instead. */
7576
- const createTemplateSpan: typeof factory.createTemplateSpan;
7577
- /** @deprecated Use `factory.updateTemplateSpan` or the factory supplied by your transformation context instead. */
7578
- const updateTemplateSpan: typeof factory.updateTemplateSpan;
7579
- /** @deprecated Use `factory.createSemicolonClassElement` or the factory supplied by your transformation context instead. */
7580
- const createSemicolonClassElement: typeof factory.createSemicolonClassElement;
7581
- /** @deprecated Use `factory.createBlock` or the factory supplied by your transformation context instead. */
7582
- const createBlock: typeof factory.createBlock;
7583
- /** @deprecated Use `factory.updateBlock` or the factory supplied by your transformation context instead. */
7584
- const updateBlock: typeof factory.updateBlock;
7585
- /** @deprecated Use `factory.createVariableStatement` or the factory supplied by your transformation context instead. */
7586
- const createVariableStatement: typeof factory.createVariableStatement;
7587
- /** @deprecated Use `factory.updateVariableStatement` or the factory supplied by your transformation context instead. */
7588
- const updateVariableStatement: typeof factory.updateVariableStatement;
7589
- /** @deprecated Use `factory.createEmptyStatement` or the factory supplied by your transformation context instead. */
7590
- const createEmptyStatement: typeof factory.createEmptyStatement;
7591
- /** @deprecated Use `factory.createExpressionStatement` or the factory supplied by your transformation context instead. */
7592
- const createExpressionStatement: typeof factory.createExpressionStatement;
7593
- /** @deprecated Use `factory.updateExpressionStatement` or the factory supplied by your transformation context instead. */
7594
- const updateExpressionStatement: typeof factory.updateExpressionStatement;
7595
- /** @deprecated Use `factory.createExpressionStatement` or the factory supplied by your transformation context instead. */
7596
- const createStatement: typeof factory.createExpressionStatement;
7597
- /** @deprecated Use `factory.updateExpressionStatement` or the factory supplied by your transformation context instead. */
7598
- const updateStatement: typeof factory.updateExpressionStatement;
7599
- /** @deprecated Use `factory.createIfStatement` or the factory supplied by your transformation context instead. */
7600
- const createIf: typeof factory.createIfStatement;
7601
- /** @deprecated Use `factory.updateIfStatement` or the factory supplied by your transformation context instead. */
7602
- const updateIf: typeof factory.updateIfStatement;
7603
- /** @deprecated Use `factory.createDoStatement` or the factory supplied by your transformation context instead. */
7604
- const createDo: typeof factory.createDoStatement;
7605
- /** @deprecated Use `factory.updateDoStatement` or the factory supplied by your transformation context instead. */
7606
- const updateDo: typeof factory.updateDoStatement;
7607
- /** @deprecated Use `factory.createWhileStatement` or the factory supplied by your transformation context instead. */
7608
- const createWhile: typeof factory.createWhileStatement;
7609
- /** @deprecated Use `factory.updateWhileStatement` or the factory supplied by your transformation context instead. */
7610
- const updateWhile: typeof factory.updateWhileStatement;
7611
- /** @deprecated Use `factory.createForStatement` or the factory supplied by your transformation context instead. */
7612
- const createFor: typeof factory.createForStatement;
7613
- /** @deprecated Use `factory.updateForStatement` or the factory supplied by your transformation context instead. */
7614
- const updateFor: typeof factory.updateForStatement;
7615
- /** @deprecated Use `factory.createForInStatement` or the factory supplied by your transformation context instead. */
7616
- const createForIn: typeof factory.createForInStatement;
7617
- /** @deprecated Use `factory.updateForInStatement` or the factory supplied by your transformation context instead. */
7618
- const updateForIn: typeof factory.updateForInStatement;
7619
- /** @deprecated Use `factory.createForOfStatement` or the factory supplied by your transformation context instead. */
7620
- const createForOf: typeof factory.createForOfStatement;
7621
- /** @deprecated Use `factory.updateForOfStatement` or the factory supplied by your transformation context instead. */
7622
- const updateForOf: typeof factory.updateForOfStatement;
7623
- /** @deprecated Use `factory.createContinueStatement` or the factory supplied by your transformation context instead. */
7624
- const createContinue: typeof factory.createContinueStatement;
7625
- /** @deprecated Use `factory.updateContinueStatement` or the factory supplied by your transformation context instead. */
7626
- const updateContinue: typeof factory.updateContinueStatement;
7627
- /** @deprecated Use `factory.createBreakStatement` or the factory supplied by your transformation context instead. */
7628
- const createBreak: typeof factory.createBreakStatement;
7629
- /** @deprecated Use `factory.updateBreakStatement` or the factory supplied by your transformation context instead. */
7630
- const updateBreak: typeof factory.updateBreakStatement;
7631
- /** @deprecated Use `factory.createReturnStatement` or the factory supplied by your transformation context instead. */
7632
- const createReturn: typeof factory.createReturnStatement;
7633
- /** @deprecated Use `factory.updateReturnStatement` or the factory supplied by your transformation context instead. */
7634
- const updateReturn: typeof factory.updateReturnStatement;
7635
- /** @deprecated Use `factory.createWithStatement` or the factory supplied by your transformation context instead. */
7636
- const createWith: typeof factory.createWithStatement;
7637
- /** @deprecated Use `factory.updateWithStatement` or the factory supplied by your transformation context instead. */
7638
- const updateWith: typeof factory.updateWithStatement;
7639
- /** @deprecated Use `factory.createSwitchStatement` or the factory supplied by your transformation context instead. */
7640
- const createSwitch: typeof factory.createSwitchStatement;
7641
- /** @deprecated Use `factory.updateSwitchStatement` or the factory supplied by your transformation context instead. */
7642
- const updateSwitch: typeof factory.updateSwitchStatement;
7643
- /** @deprecated Use `factory.createLabelStatement` or the factory supplied by your transformation context instead. */
7644
- const createLabel: typeof factory.createLabeledStatement;
7645
- /** @deprecated Use `factory.updateLabelStatement` or the factory supplied by your transformation context instead. */
7646
- const updateLabel: typeof factory.updateLabeledStatement;
7647
- /** @deprecated Use `factory.createThrowStatement` or the factory supplied by your transformation context instead. */
7648
- const createThrow: typeof factory.createThrowStatement;
7649
- /** @deprecated Use `factory.updateThrowStatement` or the factory supplied by your transformation context instead. */
7650
- const updateThrow: typeof factory.updateThrowStatement;
7651
- /** @deprecated Use `factory.createTryStatement` or the factory supplied by your transformation context instead. */
7652
- const createTry: typeof factory.createTryStatement;
7653
- /** @deprecated Use `factory.updateTryStatement` or the factory supplied by your transformation context instead. */
7654
- const updateTry: typeof factory.updateTryStatement;
7655
- /** @deprecated Use `factory.createDebuggerStatement` or the factory supplied by your transformation context instead. */
7656
- const createDebuggerStatement: typeof factory.createDebuggerStatement;
7657
- /** @deprecated Use `factory.createVariableDeclarationList` or the factory supplied by your transformation context instead. */
7658
- const createVariableDeclarationList: typeof factory.createVariableDeclarationList;
7659
- /** @deprecated Use `factory.updateVariableDeclarationList` or the factory supplied by your transformation context instead. */
7660
- const updateVariableDeclarationList: typeof factory.updateVariableDeclarationList;
7661
- /** @deprecated Use `factory.createFunctionDeclaration` or the factory supplied by your transformation context instead. */
7662
- const createFunctionDeclaration: typeof factory.createFunctionDeclaration;
7663
- /** @deprecated Use `factory.updateFunctionDeclaration` or the factory supplied by your transformation context instead. */
7664
- const updateFunctionDeclaration: typeof factory.updateFunctionDeclaration;
7665
- /** @deprecated Use `factory.createClassDeclaration` or the factory supplied by your transformation context instead. */
7666
- const createClassDeclaration: typeof factory.createClassDeclaration;
7667
- /** @deprecated Use `factory.updateClassDeclaration` or the factory supplied by your transformation context instead. */
7668
- const updateClassDeclaration: typeof factory.updateClassDeclaration;
7669
- /** @deprecated Use `factory.createInterfaceDeclaration` or the factory supplied by your transformation context instead. */
7670
- const createInterfaceDeclaration: typeof factory.createInterfaceDeclaration;
7671
- /** @deprecated Use `factory.updateInterfaceDeclaration` or the factory supplied by your transformation context instead. */
7672
- const updateInterfaceDeclaration: typeof factory.updateInterfaceDeclaration;
7673
- /** @deprecated Use `factory.createTypeAliasDeclaration` or the factory supplied by your transformation context instead. */
7674
- const createTypeAliasDeclaration: typeof factory.createTypeAliasDeclaration;
7675
- /** @deprecated Use `factory.updateTypeAliasDeclaration` or the factory supplied by your transformation context instead. */
7676
- const updateTypeAliasDeclaration: typeof factory.updateTypeAliasDeclaration;
7677
- /** @deprecated Use `factory.createEnumDeclaration` or the factory supplied by your transformation context instead. */
7678
- const createEnumDeclaration: typeof factory.createEnumDeclaration;
7679
- /** @deprecated Use `factory.updateEnumDeclaration` or the factory supplied by your transformation context instead. */
7680
- const updateEnumDeclaration: typeof factory.updateEnumDeclaration;
7681
- /** @deprecated Use `factory.createModuleDeclaration` or the factory supplied by your transformation context instead. */
7682
- const createModuleDeclaration: typeof factory.createModuleDeclaration;
7683
- /** @deprecated Use `factory.updateModuleDeclaration` or the factory supplied by your transformation context instead. */
7684
- const updateModuleDeclaration: typeof factory.updateModuleDeclaration;
7685
- /** @deprecated Use `factory.createModuleBlock` or the factory supplied by your transformation context instead. */
7686
- const createModuleBlock: typeof factory.createModuleBlock;
7687
- /** @deprecated Use `factory.updateModuleBlock` or the factory supplied by your transformation context instead. */
7688
- const updateModuleBlock: typeof factory.updateModuleBlock;
7689
- /** @deprecated Use `factory.createCaseBlock` or the factory supplied by your transformation context instead. */
7690
- const createCaseBlock: typeof factory.createCaseBlock;
7691
- /** @deprecated Use `factory.updateCaseBlock` or the factory supplied by your transformation context instead. */
7692
- const updateCaseBlock: typeof factory.updateCaseBlock;
7693
- /** @deprecated Use `factory.createNamespaceExportDeclaration` or the factory supplied by your transformation context instead. */
7694
- const createNamespaceExportDeclaration: typeof factory.createNamespaceExportDeclaration;
7695
- /** @deprecated Use `factory.updateNamespaceExportDeclaration` or the factory supplied by your transformation context instead. */
7696
- const updateNamespaceExportDeclaration: typeof factory.updateNamespaceExportDeclaration;
7697
- /** @deprecated Use `factory.createImportEqualsDeclaration` or the factory supplied by your transformation context instead. */
7698
- const createImportEqualsDeclaration: typeof factory.createImportEqualsDeclaration;
7699
- /** @deprecated Use `factory.updateImportEqualsDeclaration` or the factory supplied by your transformation context instead. */
7700
- const updateImportEqualsDeclaration: typeof factory.updateImportEqualsDeclaration;
7701
- /** @deprecated Use `factory.createImportDeclaration` or the factory supplied by your transformation context instead. */
7702
- const createImportDeclaration: typeof factory.createImportDeclaration;
7703
- /** @deprecated Use `factory.updateImportDeclaration` or the factory supplied by your transformation context instead. */
7704
- const updateImportDeclaration: typeof factory.updateImportDeclaration;
7705
- /** @deprecated Use `factory.createNamespaceImport` or the factory supplied by your transformation context instead. */
7706
- const createNamespaceImport: typeof factory.createNamespaceImport;
7707
- /** @deprecated Use `factory.updateNamespaceImport` or the factory supplied by your transformation context instead. */
7708
- const updateNamespaceImport: typeof factory.updateNamespaceImport;
7709
- /** @deprecated Use `factory.createNamedImports` or the factory supplied by your transformation context instead. */
7710
- const createNamedImports: typeof factory.createNamedImports;
7711
- /** @deprecated Use `factory.updateNamedImports` or the factory supplied by your transformation context instead. */
7712
- const updateNamedImports: typeof factory.updateNamedImports;
7713
- /** @deprecated Use `factory.createImportSpecifier` or the factory supplied by your transformation context instead. */
7714
- const createImportSpecifier: typeof factory.createImportSpecifier;
7715
- /** @deprecated Use `factory.updateImportSpecifier` or the factory supplied by your transformation context instead. */
7716
- const updateImportSpecifier: typeof factory.updateImportSpecifier;
7717
- /** @deprecated Use `factory.createExportAssignment` or the factory supplied by your transformation context instead. */
7718
- const createExportAssignment: typeof factory.createExportAssignment;
7719
- /** @deprecated Use `factory.updateExportAssignment` or the factory supplied by your transformation context instead. */
7720
- const updateExportAssignment: typeof factory.updateExportAssignment;
7721
- /** @deprecated Use `factory.createNamedExports` or the factory supplied by your transformation context instead. */
7722
- const createNamedExports: typeof factory.createNamedExports;
7723
- /** @deprecated Use `factory.updateNamedExports` or the factory supplied by your transformation context instead. */
7724
- const updateNamedExports: typeof factory.updateNamedExports;
7725
- /** @deprecated Use `factory.createExportSpecifier` or the factory supplied by your transformation context instead. */
7726
- const createExportSpecifier: typeof factory.createExportSpecifier;
7727
- /** @deprecated Use `factory.updateExportSpecifier` or the factory supplied by your transformation context instead. */
7728
- const updateExportSpecifier: typeof factory.updateExportSpecifier;
7729
- /** @deprecated Use `factory.createExternalModuleReference` or the factory supplied by your transformation context instead. */
7730
- const createExternalModuleReference: typeof factory.createExternalModuleReference;
7731
- /** @deprecated Use `factory.updateExternalModuleReference` or the factory supplied by your transformation context instead. */
7732
- const updateExternalModuleReference: typeof factory.updateExternalModuleReference;
7733
- /** @deprecated Use `factory.createJSDocTypeExpression` or the factory supplied by your transformation context instead. */
7734
- const createJSDocTypeExpression: typeof factory.createJSDocTypeExpression;
7735
- /** @deprecated Use `factory.createJSDocTypeTag` or the factory supplied by your transformation context instead. */
7736
- const createJSDocTypeTag: typeof factory.createJSDocTypeTag;
7737
- /** @deprecated Use `factory.createJSDocReturnTag` or the factory supplied by your transformation context instead. */
7738
- const createJSDocReturnTag: typeof factory.createJSDocReturnTag;
7739
- /** @deprecated Use `factory.createJSDocThisTag` or the factory supplied by your transformation context instead. */
7740
- const createJSDocThisTag: typeof factory.createJSDocThisTag;
7741
- /** @deprecated Use `factory.createJSDocComment` or the factory supplied by your transformation context instead. */
7742
- const createJSDocComment: typeof factory.createJSDocComment;
7743
- /** @deprecated Use `factory.createJSDocParameterTag` or the factory supplied by your transformation context instead. */
7744
- const createJSDocParameterTag: typeof factory.createJSDocParameterTag;
7745
- /** @deprecated Use `factory.createJSDocClassTag` or the factory supplied by your transformation context instead. */
7746
- const createJSDocClassTag: typeof factory.createJSDocClassTag;
7747
- /** @deprecated Use `factory.createJSDocAugmentsTag` or the factory supplied by your transformation context instead. */
7748
- const createJSDocAugmentsTag: typeof factory.createJSDocAugmentsTag;
7749
- /** @deprecated Use `factory.createJSDocEnumTag` or the factory supplied by your transformation context instead. */
7750
- const createJSDocEnumTag: typeof factory.createJSDocEnumTag;
7751
- /** @deprecated Use `factory.createJSDocTemplateTag` or the factory supplied by your transformation context instead. */
7752
- const createJSDocTemplateTag: typeof factory.createJSDocTemplateTag;
7753
- /** @deprecated Use `factory.createJSDocTypedefTag` or the factory supplied by your transformation context instead. */
7754
- const createJSDocTypedefTag: typeof factory.createJSDocTypedefTag;
7755
- /** @deprecated Use `factory.createJSDocCallbackTag` or the factory supplied by your transformation context instead. */
7756
- const createJSDocCallbackTag: typeof factory.createJSDocCallbackTag;
7757
- /** @deprecated Use `factory.createJSDocSignature` or the factory supplied by your transformation context instead. */
7758
- const createJSDocSignature: typeof factory.createJSDocSignature;
7759
- /** @deprecated Use `factory.createJSDocPropertyTag` or the factory supplied by your transformation context instead. */
7760
- const createJSDocPropertyTag: typeof factory.createJSDocPropertyTag;
7761
- /** @deprecated Use `factory.createJSDocTypeLiteral` or the factory supplied by your transformation context instead. */
7762
- const createJSDocTypeLiteral: typeof factory.createJSDocTypeLiteral;
7763
- /** @deprecated Use `factory.createJSDocImplementsTag` or the factory supplied by your transformation context instead. */
7764
- const createJSDocImplementsTag: typeof factory.createJSDocImplementsTag;
7765
- /** @deprecated Use `factory.createJSDocAuthorTag` or the factory supplied by your transformation context instead. */
7766
- const createJSDocAuthorTag: typeof factory.createJSDocAuthorTag;
7767
- /** @deprecated Use `factory.createJSDocPublicTag` or the factory supplied by your transformation context instead. */
7768
- const createJSDocPublicTag: typeof factory.createJSDocPublicTag;
7769
- /** @deprecated Use `factory.createJSDocPrivateTag` or the factory supplied by your transformation context instead. */
7770
- const createJSDocPrivateTag: typeof factory.createJSDocPrivateTag;
7771
- /** @deprecated Use `factory.createJSDocProtectedTag` or the factory supplied by your transformation context instead. */
7772
- const createJSDocProtectedTag: typeof factory.createJSDocProtectedTag;
7773
- /** @deprecated Use `factory.createJSDocReadonlyTag` or the factory supplied by your transformation context instead. */
7774
- const createJSDocReadonlyTag: typeof factory.createJSDocReadonlyTag;
7775
- /** @deprecated Use `factory.createJSDocUnknownTag` or the factory supplied by your transformation context instead. */
7776
- const createJSDocTag: typeof factory.createJSDocUnknownTag;
7777
- /** @deprecated Use `factory.createJsxElement` or the factory supplied by your transformation context instead. */
7778
- const createJsxElement: typeof factory.createJsxElement;
7779
- /** @deprecated Use `factory.updateJsxElement` or the factory supplied by your transformation context instead. */
7780
- const updateJsxElement: typeof factory.updateJsxElement;
7781
- /** @deprecated Use `factory.createJsxSelfClosingElement` or the factory supplied by your transformation context instead. */
7782
- const createJsxSelfClosingElement: typeof factory.createJsxSelfClosingElement;
7783
- /** @deprecated Use `factory.updateJsxSelfClosingElement` or the factory supplied by your transformation context instead. */
7784
- const updateJsxSelfClosingElement: typeof factory.updateJsxSelfClosingElement;
7785
- /** @deprecated Use `factory.createJsxOpeningElement` or the factory supplied by your transformation context instead. */
7786
- const createJsxOpeningElement: typeof factory.createJsxOpeningElement;
7787
- /** @deprecated Use `factory.updateJsxOpeningElement` or the factory supplied by your transformation context instead. */
7788
- const updateJsxOpeningElement: typeof factory.updateJsxOpeningElement;
7789
- /** @deprecated Use `factory.createJsxClosingElement` or the factory supplied by your transformation context instead. */
7790
- const createJsxClosingElement: typeof factory.createJsxClosingElement;
7791
- /** @deprecated Use `factory.updateJsxClosingElement` or the factory supplied by your transformation context instead. */
7792
- const updateJsxClosingElement: typeof factory.updateJsxClosingElement;
7793
- /** @deprecated Use `factory.createJsxFragment` or the factory supplied by your transformation context instead. */
7794
- const createJsxFragment: typeof factory.createJsxFragment;
7795
- /** @deprecated Use `factory.createJsxText` or the factory supplied by your transformation context instead. */
7796
- const createJsxText: typeof factory.createJsxText;
7797
- /** @deprecated Use `factory.updateJsxText` or the factory supplied by your transformation context instead. */
7798
- const updateJsxText: typeof factory.updateJsxText;
7799
- /** @deprecated Use `factory.createJsxOpeningFragment` or the factory supplied by your transformation context instead. */
7800
- const createJsxOpeningFragment: typeof factory.createJsxOpeningFragment;
7801
- /** @deprecated Use `factory.createJsxJsxClosingFragment` or the factory supplied by your transformation context instead. */
7802
- const createJsxJsxClosingFragment: typeof factory.createJsxJsxClosingFragment;
7803
- /** @deprecated Use `factory.updateJsxFragment` or the factory supplied by your transformation context instead. */
7804
- const updateJsxFragment: typeof factory.updateJsxFragment;
7805
- /** @deprecated Use `factory.createJsxAttribute` or the factory supplied by your transformation context instead. */
7806
- const createJsxAttribute: typeof factory.createJsxAttribute;
7807
- /** @deprecated Use `factory.updateJsxAttribute` or the factory supplied by your transformation context instead. */
7808
- const updateJsxAttribute: typeof factory.updateJsxAttribute;
7809
- /** @deprecated Use `factory.createJsxAttributes` or the factory supplied by your transformation context instead. */
7810
- const createJsxAttributes: typeof factory.createJsxAttributes;
7811
- /** @deprecated Use `factory.updateJsxAttributes` or the factory supplied by your transformation context instead. */
7812
- const updateJsxAttributes: typeof factory.updateJsxAttributes;
7813
- /** @deprecated Use `factory.createJsxSpreadAttribute` or the factory supplied by your transformation context instead. */
7814
- const createJsxSpreadAttribute: typeof factory.createJsxSpreadAttribute;
7815
- /** @deprecated Use `factory.updateJsxSpreadAttribute` or the factory supplied by your transformation context instead. */
7816
- const updateJsxSpreadAttribute: typeof factory.updateJsxSpreadAttribute;
7817
- /** @deprecated Use `factory.createJsxExpression` or the factory supplied by your transformation context instead. */
7818
- const createJsxExpression: typeof factory.createJsxExpression;
7819
- /** @deprecated Use `factory.updateJsxExpression` or the factory supplied by your transformation context instead. */
7820
- const updateJsxExpression: typeof factory.updateJsxExpression;
7821
- /** @deprecated Use `factory.createCaseClause` or the factory supplied by your transformation context instead. */
7822
- const createCaseClause: typeof factory.createCaseClause;
7823
- /** @deprecated Use `factory.updateCaseClause` or the factory supplied by your transformation context instead. */
7824
- const updateCaseClause: typeof factory.updateCaseClause;
7825
- /** @deprecated Use `factory.createDefaultClause` or the factory supplied by your transformation context instead. */
7826
- const createDefaultClause: typeof factory.createDefaultClause;
7827
- /** @deprecated Use `factory.updateDefaultClause` or the factory supplied by your transformation context instead. */
7828
- const updateDefaultClause: typeof factory.updateDefaultClause;
7829
- /** @deprecated Use `factory.createHeritageClause` or the factory supplied by your transformation context instead. */
7830
- const createHeritageClause: typeof factory.createHeritageClause;
7831
- /** @deprecated Use `factory.updateHeritageClause` or the factory supplied by your transformation context instead. */
7832
- const updateHeritageClause: typeof factory.updateHeritageClause;
7833
- /** @deprecated Use `factory.createCatchClause` or the factory supplied by your transformation context instead. */
7834
- const createCatchClause: typeof factory.createCatchClause;
7835
- /** @deprecated Use `factory.updateCatchClause` or the factory supplied by your transformation context instead. */
7836
- const updateCatchClause: typeof factory.updateCatchClause;
7837
- /** @deprecated Use `factory.createPropertyAssignment` or the factory supplied by your transformation context instead. */
7838
- const createPropertyAssignment: typeof factory.createPropertyAssignment;
7839
- /** @deprecated Use `factory.updatePropertyAssignment` or the factory supplied by your transformation context instead. */
7840
- const updatePropertyAssignment: typeof factory.updatePropertyAssignment;
7841
- /** @deprecated Use `factory.createShorthandPropertyAssignment` or the factory supplied by your transformation context instead. */
7842
- const createShorthandPropertyAssignment: typeof factory.createShorthandPropertyAssignment;
7843
- /** @deprecated Use `factory.updateShorthandPropertyAssignment` or the factory supplied by your transformation context instead. */
7844
- const updateShorthandPropertyAssignment: typeof factory.updateShorthandPropertyAssignment;
7845
- /** @deprecated Use `factory.createSpreadAssignment` or the factory supplied by your transformation context instead. */
7846
- const createSpreadAssignment: typeof factory.createSpreadAssignment;
7847
- /** @deprecated Use `factory.updateSpreadAssignment` or the factory supplied by your transformation context instead. */
7848
- const updateSpreadAssignment: typeof factory.updateSpreadAssignment;
7849
- /** @deprecated Use `factory.createEnumMember` or the factory supplied by your transformation context instead. */
7850
- const createEnumMember: typeof factory.createEnumMember;
7851
- /** @deprecated Use `factory.updateEnumMember` or the factory supplied by your transformation context instead. */
7852
- const updateEnumMember: typeof factory.updateEnumMember;
7853
- /** @deprecated Use `factory.updateSourceFile` or the factory supplied by your transformation context instead. */
7854
- const updateSourceFileNode: typeof factory.updateSourceFile;
7855
- /** @deprecated Use `factory.createNotEmittedStatement` or the factory supplied by your transformation context instead. */
7856
- const createNotEmittedStatement: typeof factory.createNotEmittedStatement;
7857
- /** @deprecated Use `factory.createPartiallyEmittedExpression` or the factory supplied by your transformation context instead. */
7858
- const createPartiallyEmittedExpression: typeof factory.createPartiallyEmittedExpression;
7859
- /** @deprecated Use `factory.updatePartiallyEmittedExpression` or the factory supplied by your transformation context instead. */
7860
- const updatePartiallyEmittedExpression: typeof factory.updatePartiallyEmittedExpression;
7861
- /** @deprecated Use `factory.createCommaListExpression` or the factory supplied by your transformation context instead. */
7862
- const createCommaList: typeof factory.createCommaListExpression;
7863
- /** @deprecated Use `factory.updateCommaListExpression` or the factory supplied by your transformation context instead. */
7864
- const updateCommaList: typeof factory.updateCommaListExpression;
7865
- /** @deprecated Use `factory.createBundle` or the factory supplied by your transformation context instead. */
7866
- const createBundle: typeof factory.createBundle;
7867
- /** @deprecated Use `factory.updateBundle` or the factory supplied by your transformation context instead. */
7868
- const updateBundle: typeof factory.updateBundle;
7869
- /** @deprecated Use `factory.createImmediatelyInvokedFunctionExpression` or the factory supplied by your transformation context instead. */
7870
- const createImmediatelyInvokedFunctionExpression: typeof factory.createImmediatelyInvokedFunctionExpression;
7871
- /** @deprecated Use `factory.createImmediatelyInvokedArrowFunction` or the factory supplied by your transformation context instead. */
7872
- const createImmediatelyInvokedArrowFunction: typeof factory.createImmediatelyInvokedArrowFunction;
7873
- /** @deprecated Use `factory.createVoidZero` or the factory supplied by your transformation context instead. */
7874
- const createVoidZero: typeof factory.createVoidZero;
7875
- /** @deprecated Use `factory.createExportDefault` or the factory supplied by your transformation context instead. */
7876
- const createExportDefault: typeof factory.createExportDefault;
7877
- /** @deprecated Use `factory.createExternalModuleExport` or the factory supplied by your transformation context instead. */
7878
- const createExternalModuleExport: typeof factory.createExternalModuleExport;
7879
- /** @deprecated Use `factory.createNamespaceExport` or the factory supplied by your transformation context instead. */
7880
- const createNamespaceExport: typeof factory.createNamespaceExport;
7881
- /** @deprecated Use `factory.updateNamespaceExport` or the factory supplied by your transformation context instead. */
7882
- const updateNamespaceExport: typeof factory.updateNamespaceExport;
7883
- /** @deprecated Use `factory.createToken` or the factory supplied by your transformation context instead. */
7884
- const createToken: <TKind extends SyntaxKind>(kind: TKind) => Token<TKind>;
7885
- /** @deprecated Use `factory.createIdentifier` or the factory supplied by your transformation context instead. */
7886
- const createIdentifier: (text: string) => Identifier;
7887
- /** @deprecated Use `factory.createTempVariable` or the factory supplied by your transformation context instead. */
7888
- const createTempVariable: (recordTempVariable: ((node: Identifier) => void) | undefined) => Identifier;
7889
- /** @deprecated Use `factory.getGeneratedNameForNode` or the factory supplied by your transformation context instead. */
7890
- const getGeneratedNameForNode: (node: Node | undefined) => Identifier;
7891
- /** @deprecated Use `factory.createUniqueName(text, GeneratedIdentifierFlags.Optimistic)` or the factory supplied by your transformation context instead. */
7892
- const createOptimisticUniqueName: (text: string) => Identifier;
7893
- /** @deprecated Use `factory.createUniqueName(text, GeneratedIdentifierFlags.Optimistic | GeneratedIdentifierFlags.FileLevel)` or the factory supplied by your transformation context instead. */
7894
- const createFileLevelUniqueName: (text: string) => Identifier;
7895
- /** @deprecated Use `factory.createIndexSignature` or the factory supplied by your transformation context instead. */
7896
- const createIndexSignature: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode) => IndexSignatureDeclaration;
7897
- /** @deprecated Use `factory.createTypePredicateNode` or the factory supplied by your transformation context instead. */
7898
- const createTypePredicateNode: (parameterName: Identifier | ThisTypeNode | string, type: TypeNode) => TypePredicateNode;
7899
- /** @deprecated Use `factory.updateTypePredicateNode` or the factory supplied by your transformation context instead. */
7900
- const updateTypePredicateNode: (node: TypePredicateNode, parameterName: Identifier | ThisTypeNode, type: TypeNode) => TypePredicateNode;
7901
- /** @deprecated Use `factory.createStringLiteral`, `factory.createStringLiteralFromNode`, `factory.createNumericLiteral`, `factory.createBigIntLiteral`, `factory.createTrue`, `factory.createFalse`, or the factory supplied by your transformation context instead. */
7902
- const createLiteral: {
7903
- (value: string | StringLiteral | NoSubstitutionTemplateLiteral | NumericLiteral | Identifier): StringLiteral;
7904
- (value: number | PseudoBigInt): NumericLiteral;
7905
- (value: boolean): BooleanLiteral;
7906
- (value: string | number | PseudoBigInt | boolean): PrimaryExpression;
7907
- };
7908
- /** @deprecated Use `factory.createMethodSignature` or the factory supplied by your transformation context instead. */
7909
- const createMethodSignature: (typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, name: string | PropertyName, questionToken: QuestionToken | undefined) => MethodSignature;
7910
- /** @deprecated Use `factory.updateMethodSignature` or the factory supplied by your transformation context instead. */
7911
- const updateMethodSignature: (node: MethodSignature, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode | undefined, name: PropertyName, questionToken: QuestionToken | undefined) => MethodSignature;
7912
- /** @deprecated Use `factory.createTypeOperatorNode` or the factory supplied by your transformation context instead. */
7913
- const createTypeOperatorNode: {
7914
- (type: TypeNode): TypeOperatorNode;
7915
- (operator: SyntaxKind.KeyOfKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.ReadonlyKeyword, type: TypeNode): TypeOperatorNode;
7916
- };
7917
- /** @deprecated Use `factory.createTaggedTemplate` or the factory supplied by your transformation context instead. */
7918
- const createTaggedTemplate: {
7919
- (tag: Expression, template: TemplateLiteral): TaggedTemplateExpression;
7920
- (tag: Expression, typeArguments: readonly TypeNode[] | undefined, template: TemplateLiteral): TaggedTemplateExpression;
7921
- };
7922
- /** @deprecated Use `factory.updateTaggedTemplate` or the factory supplied by your transformation context instead. */
7923
- const updateTaggedTemplate: {
7924
- (node: TaggedTemplateExpression, tag: Expression, template: TemplateLiteral): TaggedTemplateExpression;
7925
- (node: TaggedTemplateExpression, tag: Expression, typeArguments: readonly TypeNode[] | undefined, template: TemplateLiteral): TaggedTemplateExpression;
7926
- };
7927
- /** @deprecated Use `factory.updateBinary` or the factory supplied by your transformation context instead. */
7928
- const updateBinary: (node: BinaryExpression, left: Expression, right: Expression, operator?: BinaryOperator | BinaryOperatorToken) => BinaryExpression;
7929
- /** @deprecated Use `factory.createConditional` or the factory supplied by your transformation context instead. */
7930
- const createConditional: {
7931
- (condition: Expression, whenTrue: Expression, whenFalse: Expression): ConditionalExpression;
7932
- (condition: Expression, questionToken: QuestionToken, whenTrue: Expression, colonToken: ColonToken, whenFalse: Expression): ConditionalExpression;
7933
- };
7934
- /** @deprecated Use `factory.createYield` or the factory supplied by your transformation context instead. */
7935
- const createYield: {
7936
- (expression?: Expression | undefined): YieldExpression;
7937
- (asteriskToken: AsteriskToken | undefined, expression: Expression): YieldExpression;
7938
- };
7939
- /** @deprecated Use `factory.createClassExpression` or the factory supplied by your transformation context instead. */
7940
- const createClassExpression: (modifiers: readonly Modifier[] | undefined, name: string | Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]) => ClassExpression;
7941
- /** @deprecated Use `factory.updateClassExpression` or the factory supplied by your transformation context instead. */
7942
- const updateClassExpression: (node: ClassExpression, modifiers: readonly Modifier[] | undefined, name: Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]) => ClassExpression;
7943
- /** @deprecated Use `factory.createPropertySignature` or the factory supplied by your transformation context instead. */
7944
- const createPropertySignature: (modifiers: readonly Modifier[] | undefined, name: PropertyName | string, questionToken: QuestionToken | undefined, type: TypeNode | undefined, initializer?: Expression | undefined) => PropertySignature;
7945
- /** @deprecated Use `factory.updatePropertySignature` or the factory supplied by your transformation context instead. */
7946
- const updatePropertySignature: (node: PropertySignature, modifiers: readonly Modifier[] | undefined, name: PropertyName, questionToken: QuestionToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined) => PropertySignature;
7947
- /** @deprecated Use `factory.createExpressionWithTypeArguments` or the factory supplied by your transformation context instead. */
7948
- const createExpressionWithTypeArguments: (typeArguments: readonly TypeNode[] | undefined, expression: Expression) => ExpressionWithTypeArguments;
7949
- /** @deprecated Use `factory.updateExpressionWithTypeArguments` or the factory supplied by your transformation context instead. */
7950
- const updateExpressionWithTypeArguments: (node: ExpressionWithTypeArguments, typeArguments: readonly TypeNode[] | undefined, expression: Expression) => ExpressionWithTypeArguments;
7951
- /** @deprecated Use `factory.createArrowFunction` or the factory supplied by your transformation context instead. */
7952
- const createArrowFunction: {
7953
- (modifiers: readonly Modifier[] | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, equalsGreaterThanToken: EqualsGreaterThanToken | undefined, body: ConciseBody): ArrowFunction;
7954
- (modifiers: readonly Modifier[] | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: ConciseBody): ArrowFunction;
7955
- };
7956
- /** @deprecated Use `factory.updateArrowFunction` or the factory supplied by your transformation context instead. */
7957
- const updateArrowFunction: {
7958
- (node: ArrowFunction, modifiers: readonly Modifier[] | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, equalsGreaterThanToken: EqualsGreaterThanToken, body: ConciseBody): ArrowFunction;
7959
- (node: ArrowFunction, modifiers: readonly Modifier[] | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: ConciseBody): ArrowFunction;
7960
- };
7961
- /** @deprecated Use `factory.createVariableDeclaration` or the factory supplied by your transformation context instead. */
7962
- const createVariableDeclaration: {
7963
- (name: string | BindingName, type?: TypeNode | undefined, initializer?: Expression | undefined): VariableDeclaration;
7964
- (name: string | BindingName, exclamationToken: ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): VariableDeclaration;
7965
- };
7966
- /** @deprecated Use `factory.updateVariableDeclaration` or the factory supplied by your transformation context instead. */
7967
- const updateVariableDeclaration: {
7968
- (node: VariableDeclaration, name: BindingName, type: TypeNode | undefined, initializer: Expression | undefined): VariableDeclaration;
7969
- (node: VariableDeclaration, name: BindingName, exclamationToken: ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): VariableDeclaration;
7970
- };
7971
- /** @deprecated Use `factory.createImportClause` or the factory supplied by your transformation context instead. */
7972
- const createImportClause: (name: Identifier | undefined, namedBindings: NamedImportBindings | undefined, isTypeOnly?: any) => ImportClause;
7973
- /** @deprecated Use `factory.updateImportClause` or the factory supplied by your transformation context instead. */
7974
- const updateImportClause: (node: ImportClause, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined, isTypeOnly: boolean) => ImportClause;
7975
- /** @deprecated Use `factory.createExportDeclaration` or the factory supplied by your transformation context instead. */
7976
- const createExportDeclaration: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression | undefined, isTypeOnly?: any) => ExportDeclaration;
7977
- /** @deprecated Use `factory.updateExportDeclaration` or the factory supplied by your transformation context instead. */
7978
- const updateExportDeclaration: (node: ExportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, exportClause: NamedExportBindings | undefined, moduleSpecifier: Expression | undefined, isTypeOnly: boolean) => ExportDeclaration;
7979
- /** @deprecated Use `factory.createJSDocParameterTag` or the factory supplied by your transformation context instead. */
7980
- const createJSDocParamTag: (name: EntityName, isBracketed: boolean, typeExpression?: JSDocTypeExpression | undefined, comment?: string | undefined) => JSDocParameterTag;
7981
- /** @deprecated Use `factory.createComma` or the factory supplied by your transformation context instead. */
7982
- const createComma: (left: Expression, right: Expression) => Expression;
7983
- /** @deprecated Use `factory.createLessThan` or the factory supplied by your transformation context instead. */
7984
- const createLessThan: (left: Expression, right: Expression) => Expression;
7985
- /** @deprecated Use `factory.createAssignment` or the factory supplied by your transformation context instead. */
7986
- const createAssignment: (left: Expression, right: Expression) => BinaryExpression;
7987
- /** @deprecated Use `factory.createStrictEquality` or the factory supplied by your transformation context instead. */
7988
- const createStrictEquality: (left: Expression, right: Expression) => BinaryExpression;
7989
- /** @deprecated Use `factory.createStrictInequality` or the factory supplied by your transformation context instead. */
7990
- const createStrictInequality: (left: Expression, right: Expression) => BinaryExpression;
7991
- /** @deprecated Use `factory.createAdd` or the factory supplied by your transformation context instead. */
7992
- const createAdd: (left: Expression, right: Expression) => BinaryExpression;
7993
- /** @deprecated Use `factory.createSubtract` or the factory supplied by your transformation context instead. */
7994
- const createSubtract: (left: Expression, right: Expression) => BinaryExpression;
7995
- /** @deprecated Use `factory.createLogicalAnd` or the factory supplied by your transformation context instead. */
7996
- const createLogicalAnd: (left: Expression, right: Expression) => BinaryExpression;
7997
- /** @deprecated Use `factory.createLogicalOr` or the factory supplied by your transformation context instead. */
7998
- const createLogicalOr: (left: Expression, right: Expression) => BinaryExpression;
7999
- /** @deprecated Use `factory.createPostfixIncrement` or the factory supplied by your transformation context instead. */
8000
- const createPostfixIncrement: (operand: Expression) => PostfixUnaryExpression;
8001
- /** @deprecated Use `factory.createLogicalNot` or the factory supplied by your transformation context instead. */
8002
- const createLogicalNot: (operand: Expression) => PrefixUnaryExpression;
8003
- /** @deprecated Use an appropriate `factory` method instead. */
8004
- const createNode: (kind: SyntaxKind, pos?: any, end?: any) => Node;
8005
- /**
8006
- * Creates a shallow, memberwise clone of a node ~for mutation~ with its `pos`, `end`, and `parent` set.
8007
- *
8008
- * NOTE: It is unsafe to change any properties of a `Node` that relate to its AST children, as those changes won't be
8009
- * captured with respect to transformations.
8010
- *
8011
- * @deprecated Use an appropriate `factory.update...` method instead, use `setCommentRange` or `setSourceMapRange`, and avoid setting `parent`.
8012
- */
8013
- const getMutableClone: <T extends Node>(node: T) => T;
8014
- /** @deprecated Use `isTypeAssertionExpression` instead. */
8015
- const isTypeAssertion: (node: Node) => node is TypeAssertion;
8016
- /**
8017
- * @deprecated Use `isMemberName` instead.
8018
- */
8019
- const isIdentifierOrPrivateIdentifier: (node: Node) => node is MemberName;
8020
7123
  }
8021
7124
  export = ts;