typescript 4.8.0-dev.20220608 → 4.8.0-dev.20220611

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.
@@ -425,6 +425,7 @@ declare namespace ts {
425
425
  JSDocFunctionType = 317,
426
426
  JSDocVariadicType = 318,
427
427
  JSDocNamepathType = 319,
428
+ JSDoc = 320,
428
429
  /** @deprecated Use SyntaxKind.JSDoc */
429
430
  JSDocComment = 320,
430
431
  JSDocText = 321,
@@ -493,7 +494,6 @@ declare namespace ts {
493
494
  LastJSDocNode = 347,
494
495
  FirstJSDocTagNode = 327,
495
496
  LastJSDocTagNode = 347,
496
- JSDoc = 320
497
497
  }
498
498
  export type TriviaSyntaxKind = SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia;
499
499
  export type LiteralSyntaxKind = SyntaxKind.NumericLiteral | SyntaxKind.BigIntLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral;
@@ -554,13 +554,15 @@ declare namespace ts {
554
554
  Override = 16384,
555
555
  In = 32768,
556
556
  Out = 65536,
557
+ Decorator = 131072,
557
558
  HasComputedFlags = 536870912,
558
559
  AccessibilityModifier = 28,
559
560
  ParameterPropertyModifier = 16476,
560
561
  NonPublicAccessibilityModifier = 24,
561
562
  TypeScriptModifier = 116958,
562
563
  ExportDefault = 513,
563
- All = 125951
564
+ All = 257023,
565
+ Modifier = 125951
564
566
  }
565
567
  export enum JsxFlags {
566
568
  None = 0,
@@ -573,8 +575,6 @@ declare namespace ts {
573
575
  export interface Node extends ReadonlyTextRange {
574
576
  readonly kind: SyntaxKind;
575
577
  readonly flags: NodeFlags;
576
- readonly decorators?: NodeArray<Decorator>;
577
- readonly modifiers?: ModifiersArray;
578
578
  readonly parent: Node;
579
579
  }
580
580
  export interface JSDocContainer {
@@ -583,7 +583,9 @@ declare namespace ts {
583
583
  export type HasType = SignatureDeclaration | VariableDeclaration | ParameterDeclaration | PropertySignature | PropertyDeclaration | TypePredicateNode | ParenthesizedTypeNode | TypeOperatorNode | MappedTypeNode | AssertionExpression | TypeAliasDeclaration | JSDocTypeExpression | JSDocNonNullableType | JSDocNullableType | JSDocOptionalType | JSDocVariadicType;
584
584
  export type HasTypeArguments = CallExpression | NewExpression | TaggedTemplateExpression | JsxOpeningElement | JsxSelfClosingElement;
585
585
  export type HasInitializer = HasExpressionInitializer | ForStatement | ForInStatement | ForOfStatement | JsxAttribute;
586
- export type HasExpressionInitializer = VariableDeclaration | ParameterDeclaration | BindingElement | PropertySignature | PropertyDeclaration | PropertyAssignment | EnumMember;
586
+ export type HasExpressionInitializer = VariableDeclaration | ParameterDeclaration | BindingElement | PropertyDeclaration | PropertyAssignment | EnumMember;
587
+ export type HasDecorators = ParameterDeclaration | PropertyDeclaration | MethodDeclaration | GetAccessorDeclaration | SetAccessorDeclaration | ClassExpression | ClassDeclaration;
588
+ export type HasModifiers = TypeParameterDeclaration | ParameterDeclaration | ConstructorTypeNode | PropertySignature | PropertyDeclaration | MethodSignature | MethodDeclaration | ConstructorDeclaration | GetAccessorDeclaration | SetAccessorDeclaration | IndexSignatureDeclaration | FunctionExpression | ArrowFunction | ClassExpression | VariableStatement | FunctionDeclaration | ClassDeclaration | InterfaceDeclaration | TypeAliasDeclaration | EnumDeclaration | ModuleDeclaration | ImportEqualsDeclaration | ImportDeclaration | ExportAssignment | ExportDeclaration;
587
589
  export interface NodeArray<T extends Node> extends ReadonlyArray<T>, ReadonlyTextRange {
588
590
  readonly hasTrailingComma: boolean;
589
591
  }
@@ -632,6 +634,7 @@ declare namespace ts {
632
634
  /** @deprecated Use `ReadonlyKeyword` instead. */
633
635
  export type ReadonlyToken = ReadonlyKeyword;
634
636
  export type Modifier = AbstractKeyword | AsyncKeyword | ConstKeyword | DeclareKeyword | DefaultKeyword | ExportKeyword | InKeyword | PrivateKeyword | ProtectedKeyword | PublicKeyword | OutKeyword | OverrideKeyword | ReadonlyKeyword | StaticKeyword;
637
+ export type ModifierLike = Modifier | Decorator;
635
638
  export type AccessibilityModifier = PublicKeyword | PrivateKeyword | ProtectedKeyword;
636
639
  export type ParameterPropertyModifier = AccessibilityModifier | ReadonlyKeyword;
637
640
  export type ClassMemberModifier = AccessibilityModifier | ReadonlyKeyword | StaticKeyword;
@@ -691,6 +694,7 @@ declare namespace ts {
691
694
  export interface TypeParameterDeclaration extends NamedDeclaration {
692
695
  readonly kind: SyntaxKind.TypeParameter;
693
696
  readonly parent: DeclarationWithTypeParameterChildren | InferTypeNode;
697
+ readonly modifiers?: NodeArray<Modifier>;
694
698
  readonly name: Identifier;
695
699
  /** Note: Consider calling `getEffectiveConstraintOfTypeParameter` */
696
700
  readonly constraint?: TypeNode;
@@ -700,9 +704,9 @@ declare namespace ts {
700
704
  export interface SignatureDeclarationBase extends NamedDeclaration, JSDocContainer {
701
705
  readonly kind: SignatureDeclaration["kind"];
702
706
  readonly name?: PropertyName;
703
- readonly typeParameters?: NodeArray<TypeParameterDeclaration>;
707
+ readonly typeParameters?: NodeArray<TypeParameterDeclaration> | undefined;
704
708
  readonly parameters: NodeArray<ParameterDeclaration>;
705
- readonly type?: TypeNode;
709
+ readonly type?: TypeNode | undefined;
706
710
  }
707
711
  export type SignatureDeclaration = CallSignatureDeclaration | ConstructSignatureDeclaration | MethodSignature | IndexSignatureDeclaration | FunctionTypeNode | ConstructorTypeNode | JSDocFunctionType | FunctionDeclaration | MethodDeclaration | ConstructorDeclaration | AccessorDeclaration | FunctionExpression | ArrowFunction;
708
712
  export interface CallSignatureDeclaration extends SignatureDeclarationBase, TypeElement {
@@ -728,6 +732,7 @@ declare namespace ts {
728
732
  export interface ParameterDeclaration extends NamedDeclaration, JSDocContainer {
729
733
  readonly kind: SyntaxKind.Parameter;
730
734
  readonly parent: SignatureDeclaration;
735
+ readonly modifiers?: NodeArray<ModifierLike>;
731
736
  readonly dotDotDotToken?: DotDotDotToken;
732
737
  readonly name: BindingName;
733
738
  readonly questionToken?: QuestionToken;
@@ -744,14 +749,15 @@ declare namespace ts {
744
749
  }
745
750
  export interface PropertySignature extends TypeElement, JSDocContainer {
746
751
  readonly kind: SyntaxKind.PropertySignature;
752
+ readonly modifiers?: NodeArray<Modifier>;
747
753
  readonly name: PropertyName;
748
754
  readonly questionToken?: QuestionToken;
749
755
  readonly type?: TypeNode;
750
- initializer?: Expression;
751
756
  }
752
757
  export interface PropertyDeclaration extends ClassElement, JSDocContainer {
753
758
  readonly kind: SyntaxKind.PropertyDeclaration;
754
759
  readonly parent: ClassLikeDeclaration;
760
+ readonly modifiers?: NodeArray<ModifierLike>;
755
761
  readonly name: PropertyName;
756
762
  readonly questionToken?: QuestionToken;
757
763
  readonly exclamationToken?: ExclamationToken;
@@ -768,16 +774,12 @@ declare namespace ts {
768
774
  readonly kind: SyntaxKind.PropertyAssignment;
769
775
  readonly parent: ObjectLiteralExpression;
770
776
  readonly name: PropertyName;
771
- readonly questionToken?: QuestionToken;
772
- readonly exclamationToken?: ExclamationToken;
773
777
  readonly initializer: Expression;
774
778
  }
775
779
  export interface ShorthandPropertyAssignment extends ObjectLiteralElement, JSDocContainer {
776
780
  readonly kind: SyntaxKind.ShorthandPropertyAssignment;
777
781
  readonly parent: ObjectLiteralExpression;
778
782
  readonly name: Identifier;
779
- readonly questionToken?: QuestionToken;
780
- readonly exclamationToken?: ExclamationToken;
781
783
  readonly equalsToken?: EqualsToken;
782
784
  readonly objectAssignmentInitializer?: Expression;
783
785
  }
@@ -812,34 +814,38 @@ declare namespace ts {
812
814
  */
813
815
  export interface FunctionLikeDeclarationBase extends SignatureDeclarationBase {
814
816
  _functionLikeDeclarationBrand: any;
815
- readonly asteriskToken?: AsteriskToken;
816
- readonly questionToken?: QuestionToken;
817
- readonly exclamationToken?: ExclamationToken;
818
- readonly body?: Block | Expression;
817
+ readonly asteriskToken?: AsteriskToken | undefined;
818
+ readonly questionToken?: QuestionToken | undefined;
819
+ readonly exclamationToken?: ExclamationToken | undefined;
820
+ readonly body?: Block | Expression | undefined;
819
821
  }
820
822
  export type FunctionLikeDeclaration = FunctionDeclaration | MethodDeclaration | GetAccessorDeclaration | SetAccessorDeclaration | ConstructorDeclaration | FunctionExpression | ArrowFunction;
821
823
  /** @deprecated Use SignatureDeclaration */
822
824
  export type FunctionLike = SignatureDeclaration;
823
825
  export interface FunctionDeclaration extends FunctionLikeDeclarationBase, DeclarationStatement {
824
826
  readonly kind: SyntaxKind.FunctionDeclaration;
827
+ readonly modifiers?: NodeArray<Modifier>;
825
828
  readonly name?: Identifier;
826
829
  readonly body?: FunctionBody;
827
830
  }
828
831
  export interface MethodSignature extends SignatureDeclarationBase, TypeElement {
829
832
  readonly kind: SyntaxKind.MethodSignature;
830
833
  readonly parent: ObjectTypeDeclaration;
834
+ readonly modifiers?: NodeArray<Modifier>;
831
835
  readonly name: PropertyName;
832
836
  }
833
837
  export interface MethodDeclaration extends FunctionLikeDeclarationBase, ClassElement, ObjectLiteralElement, JSDocContainer {
834
838
  readonly kind: SyntaxKind.MethodDeclaration;
835
839
  readonly parent: ClassLikeDeclaration | ObjectLiteralExpression;
840
+ readonly modifiers?: NodeArray<ModifierLike> | undefined;
836
841
  readonly name: PropertyName;
837
- readonly body?: FunctionBody;
842
+ readonly body?: FunctionBody | undefined;
838
843
  }
839
844
  export interface ConstructorDeclaration extends FunctionLikeDeclarationBase, ClassElement, JSDocContainer {
840
845
  readonly kind: SyntaxKind.Constructor;
841
846
  readonly parent: ClassLikeDeclaration;
842
- readonly body?: FunctionBody;
847
+ readonly modifiers?: NodeArray<Modifier> | undefined;
848
+ readonly body?: FunctionBody | undefined;
843
849
  }
844
850
  /** For when we encounter a semicolon in a class declaration. ES6 allows these as class elements. */
845
851
  export interface SemicolonClassElement extends ClassElement {
@@ -849,12 +855,14 @@ declare namespace ts {
849
855
  export interface GetAccessorDeclaration extends FunctionLikeDeclarationBase, ClassElement, TypeElement, ObjectLiteralElement, JSDocContainer {
850
856
  readonly kind: SyntaxKind.GetAccessor;
851
857
  readonly parent: ClassLikeDeclaration | ObjectLiteralExpression | TypeLiteralNode | InterfaceDeclaration;
858
+ readonly modifiers?: NodeArray<ModifierLike>;
852
859
  readonly name: PropertyName;
853
860
  readonly body?: FunctionBody;
854
861
  }
855
862
  export interface SetAccessorDeclaration extends FunctionLikeDeclarationBase, ClassElement, TypeElement, ObjectLiteralElement, JSDocContainer {
856
863
  readonly kind: SyntaxKind.SetAccessor;
857
864
  readonly parent: ClassLikeDeclaration | ObjectLiteralExpression | TypeLiteralNode | InterfaceDeclaration;
865
+ readonly modifiers?: NodeArray<ModifierLike>;
858
866
  readonly name: PropertyName;
859
867
  readonly body?: FunctionBody;
860
868
  }
@@ -862,6 +870,7 @@ declare namespace ts {
862
870
  export interface IndexSignatureDeclaration extends SignatureDeclarationBase, ClassElement, TypeElement {
863
871
  readonly kind: SyntaxKind.IndexSignature;
864
872
  readonly parent: ObjectTypeDeclaration;
873
+ readonly modifiers?: NodeArray<Modifier>;
865
874
  readonly type: TypeNode;
866
875
  }
867
876
  export interface ClassStaticBlockDeclaration extends ClassElement, JSDocContainer {
@@ -901,6 +910,7 @@ declare namespace ts {
901
910
  }
902
911
  export interface ConstructorTypeNode extends FunctionOrConstructorTypeNodeBase {
903
912
  readonly kind: SyntaxKind.ConstructorType;
913
+ readonly modifiers?: NodeArray<Modifier>;
904
914
  }
905
915
  export interface NodeWithTypeArguments extends TypeNode {
906
916
  readonly typeArguments?: NodeArray<TypeNode>;
@@ -1157,11 +1167,13 @@ declare namespace ts {
1157
1167
  export type ConciseBody = FunctionBody | Expression;
1158
1168
  export interface FunctionExpression extends PrimaryExpression, FunctionLikeDeclarationBase, JSDocContainer {
1159
1169
  readonly kind: SyntaxKind.FunctionExpression;
1170
+ readonly modifiers?: NodeArray<Modifier>;
1160
1171
  readonly name?: Identifier;
1161
1172
  readonly body: FunctionBody;
1162
1173
  }
1163
1174
  export interface ArrowFunction extends Expression, FunctionLikeDeclarationBase, JSDocContainer {
1164
1175
  readonly kind: SyntaxKind.ArrowFunction;
1176
+ readonly modifiers?: NodeArray<Modifier>;
1165
1177
  readonly equalsGreaterThanToken: EqualsGreaterThanToken;
1166
1178
  readonly body: ConciseBody;
1167
1179
  readonly name: never;
@@ -1443,6 +1455,7 @@ declare namespace ts {
1443
1455
  }
1444
1456
  export interface VariableStatement extends Statement {
1445
1457
  readonly kind: SyntaxKind.VariableStatement;
1458
+ readonly modifiers?: NodeArray<Modifier>;
1446
1459
  readonly declarationList: VariableDeclarationList;
1447
1460
  }
1448
1461
  export interface ExpressionStatement extends Statement {
@@ -1559,11 +1572,13 @@ declare namespace ts {
1559
1572
  }
1560
1573
  export interface ClassDeclaration extends ClassLikeDeclarationBase, DeclarationStatement {
1561
1574
  readonly kind: SyntaxKind.ClassDeclaration;
1575
+ readonly modifiers?: NodeArray<ModifierLike>;
1562
1576
  /** May be undefined in `export default class { ... }`. */
1563
1577
  readonly name?: Identifier;
1564
1578
  }
1565
1579
  export interface ClassExpression extends ClassLikeDeclarationBase, PrimaryExpression {
1566
1580
  readonly kind: SyntaxKind.ClassExpression;
1581
+ readonly modifiers?: NodeArray<ModifierLike>;
1567
1582
  }
1568
1583
  export type ClassLikeDeclaration = ClassDeclaration | ClassExpression;
1569
1584
  export interface ClassElement extends NamedDeclaration {
@@ -1573,10 +1588,11 @@ declare namespace ts {
1573
1588
  export interface TypeElement extends NamedDeclaration {
1574
1589
  _typeElementBrand: any;
1575
1590
  readonly name?: PropertyName;
1576
- readonly questionToken?: QuestionToken;
1591
+ readonly questionToken?: QuestionToken | undefined;
1577
1592
  }
1578
1593
  export interface InterfaceDeclaration extends DeclarationStatement, JSDocContainer {
1579
1594
  readonly kind: SyntaxKind.InterfaceDeclaration;
1595
+ readonly modifiers?: NodeArray<Modifier>;
1580
1596
  readonly name: Identifier;
1581
1597
  readonly typeParameters?: NodeArray<TypeParameterDeclaration>;
1582
1598
  readonly heritageClauses?: NodeArray<HeritageClause>;
@@ -1590,6 +1606,7 @@ declare namespace ts {
1590
1606
  }
1591
1607
  export interface TypeAliasDeclaration extends DeclarationStatement, JSDocContainer {
1592
1608
  readonly kind: SyntaxKind.TypeAliasDeclaration;
1609
+ readonly modifiers?: NodeArray<Modifier>;
1593
1610
  readonly name: Identifier;
1594
1611
  readonly typeParameters?: NodeArray<TypeParameterDeclaration>;
1595
1612
  readonly type: TypeNode;
@@ -1602,6 +1619,7 @@ declare namespace ts {
1602
1619
  }
1603
1620
  export interface EnumDeclaration extends DeclarationStatement, JSDocContainer {
1604
1621
  readonly kind: SyntaxKind.EnumDeclaration;
1622
+ readonly modifiers?: NodeArray<Modifier>;
1605
1623
  readonly name: Identifier;
1606
1624
  readonly members: NodeArray<EnumMember>;
1607
1625
  }
@@ -1610,6 +1628,7 @@ declare namespace ts {
1610
1628
  export interface ModuleDeclaration extends DeclarationStatement, JSDocContainer {
1611
1629
  readonly kind: SyntaxKind.ModuleDeclaration;
1612
1630
  readonly parent: ModuleBody | SourceFile;
1631
+ readonly modifiers?: NodeArray<Modifier>;
1613
1632
  readonly name: ModuleName;
1614
1633
  readonly body?: ModuleBody | JSDocNamespaceDeclaration;
1615
1634
  }
@@ -1637,6 +1656,7 @@ declare namespace ts {
1637
1656
  export interface ImportEqualsDeclaration extends DeclarationStatement, JSDocContainer {
1638
1657
  readonly kind: SyntaxKind.ImportEqualsDeclaration;
1639
1658
  readonly parent: SourceFile | ModuleBlock;
1659
+ readonly modifiers?: NodeArray<Modifier>;
1640
1660
  readonly name: Identifier;
1641
1661
  readonly isTypeOnly: boolean;
1642
1662
  readonly moduleReference: ModuleReference;
@@ -1649,6 +1669,7 @@ declare namespace ts {
1649
1669
  export interface ImportDeclaration extends Statement {
1650
1670
  readonly kind: SyntaxKind.ImportDeclaration;
1651
1671
  readonly parent: SourceFile | ModuleBlock;
1672
+ readonly modifiers?: NodeArray<Modifier>;
1652
1673
  readonly importClause?: ImportClause;
1653
1674
  /** If this is not a StringLiteral it will be a grammar error. */
1654
1675
  readonly moduleSpecifier: Expression;
@@ -1693,6 +1714,7 @@ declare namespace ts {
1693
1714
  export interface ExportDeclaration extends DeclarationStatement, JSDocContainer {
1694
1715
  readonly kind: SyntaxKind.ExportDeclaration;
1695
1716
  readonly parent: SourceFile | ModuleBlock;
1717
+ readonly modifiers?: NodeArray<Modifier>;
1696
1718
  readonly isTypeOnly: boolean;
1697
1719
  /** Will not be assigned in the case of `export * from "foo";` */
1698
1720
  readonly exportClause?: NamedExportBindings;
@@ -1760,6 +1782,7 @@ declare namespace ts {
1760
1782
  export interface ExportAssignment extends DeclarationStatement, JSDocContainer {
1761
1783
  readonly kind: SyntaxKind.ExportAssignment;
1762
1784
  readonly parent: SourceFile;
1785
+ readonly modifiers?: NodeArray<Modifier>;
1763
1786
  readonly isExportEquals?: boolean;
1764
1787
  readonly expression: Expression;
1765
1788
  }
@@ -3403,39 +3426,35 @@ declare namespace ts {
3403
3426
  createComputedPropertyName(expression: Expression): ComputedPropertyName;
3404
3427
  updateComputedPropertyName(node: ComputedPropertyName, expression: Expression): ComputedPropertyName;
3405
3428
  createTypeParameterDeclaration(modifiers: readonly Modifier[] | undefined, name: string | Identifier, constraint?: TypeNode, defaultType?: TypeNode): TypeParameterDeclaration;
3406
- /** @deprecated */
3407
- createTypeParameterDeclaration(name: string | Identifier, constraint?: TypeNode, defaultType?: TypeNode): TypeParameterDeclaration;
3408
3429
  updateTypeParameterDeclaration(node: TypeParameterDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined): TypeParameterDeclaration;
3409
- /** @deprecated */
3410
- updateTypeParameterDeclaration(node: TypeParameterDeclaration, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined): TypeParameterDeclaration;
3411
- createParameterDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken?: QuestionToken, type?: TypeNode, initializer?: Expression): ParameterDeclaration;
3412
- 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;
3430
+ createParameterDeclaration(modifiers: readonly ModifierLike[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken?: QuestionToken, type?: TypeNode, initializer?: Expression): ParameterDeclaration;
3431
+ updateParameterDeclaration(node: ParameterDeclaration, modifiers: readonly ModifierLike[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken: QuestionToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): ParameterDeclaration;
3413
3432
  createDecorator(expression: Expression): Decorator;
3414
3433
  updateDecorator(node: Decorator, expression: Expression): Decorator;
3415
3434
  createPropertySignature(modifiers: readonly Modifier[] | undefined, name: PropertyName | string, questionToken: QuestionToken | undefined, type: TypeNode | undefined): PropertySignature;
3416
3435
  updatePropertySignature(node: PropertySignature, modifiers: readonly Modifier[] | undefined, name: PropertyName, questionToken: QuestionToken | undefined, type: TypeNode | undefined): PropertySignature;
3417
- createPropertyDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): PropertyDeclaration;
3418
- 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;
3436
+ createPropertyDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): PropertyDeclaration;
3437
+ updatePropertyDeclaration(node: PropertyDeclaration, modifiers: readonly ModifierLike[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): PropertyDeclaration;
3419
3438
  createMethodSignature(modifiers: readonly Modifier[] | undefined, name: string | PropertyName, questionToken: QuestionToken | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined): MethodSignature;
3420
3439
  updateMethodSignature(node: MethodSignature, modifiers: readonly Modifier[] | undefined, name: PropertyName, questionToken: QuestionToken | undefined, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode | undefined): MethodSignature;
3421
- 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;
3422
- 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;
3423
- createConstructorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
3424
- updateConstructorDeclaration(node: ConstructorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
3425
- createGetAccessorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
3426
- updateGetAccessorDeclaration(node: GetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
3427
- createSetAccessorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
3428
- updateSetAccessorDeclaration(node: SetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
3440
+ 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;
3441
+ 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;
3442
+ createConstructorDeclaration(modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
3443
+ updateConstructorDeclaration(node: ConstructorDeclaration, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
3444
+ createGetAccessorDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
3445
+ updateGetAccessorDeclaration(node: GetAccessorDeclaration, modifiers: readonly ModifierLike[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
3446
+ createSetAccessorDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
3447
+ updateSetAccessorDeclaration(node: SetAccessorDeclaration, modifiers: readonly ModifierLike[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
3429
3448
  createCallSignature(typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined): CallSignatureDeclaration;
3430
3449
  updateCallSignature(node: CallSignatureDeclaration, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode | undefined): CallSignatureDeclaration;
3431
3450
  createConstructSignature(typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined): ConstructSignatureDeclaration;
3432
3451
  updateConstructSignature(node: ConstructSignatureDeclaration, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode | undefined): ConstructSignatureDeclaration;
3433
- createIndexSignature(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
3434
- updateIndexSignature(node: IndexSignatureDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
3452
+ createIndexSignature(modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
3453
+ updateIndexSignature(node: IndexSignatureDeclaration, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
3435
3454
  createTemplateLiteralTypeSpan(type: TypeNode, literal: TemplateMiddle | TemplateTail): TemplateLiteralTypeSpan;
3436
3455
  updateTemplateLiteralTypeSpan(node: TemplateLiteralTypeSpan, type: TypeNode, literal: TemplateMiddle | TemplateTail): TemplateLiteralTypeSpan;
3437
- createClassStaticBlockDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, body: Block): ClassStaticBlockDeclaration;
3438
- updateClassStaticBlockDeclaration(node: ClassStaticBlockDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, body: Block): ClassStaticBlockDeclaration;
3456
+ createClassStaticBlockDeclaration(body: Block): ClassStaticBlockDeclaration;
3457
+ updateClassStaticBlockDeclaration(node: ClassStaticBlockDeclaration, body: Block): ClassStaticBlockDeclaration;
3439
3458
  createKeywordTypeNode<TKind extends KeywordTypeSyntaxKind>(kind: TKind): KeywordTypeNode<TKind>;
3440
3459
  createTypePredicateNode(assertsModifier: AssertsKeyword | undefined, parameterName: Identifier | ThisTypeNode | string, type: TypeNode | undefined): TypePredicateNode;
3441
3460
  updateTypePredicateNode(node: TypePredicateNode, assertsModifier: AssertsKeyword | undefined, parameterName: Identifier | ThisTypeNode, type: TypeNode | undefined): TypePredicateNode;
@@ -3444,11 +3463,7 @@ declare namespace ts {
3444
3463
  createFunctionTypeNode(typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): FunctionTypeNode;
3445
3464
  updateFunctionTypeNode(node: FunctionTypeNode, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode): FunctionTypeNode;
3446
3465
  createConstructorTypeNode(modifiers: readonly Modifier[] | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): ConstructorTypeNode;
3447
- /** @deprecated */
3448
- createConstructorTypeNode(typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): ConstructorTypeNode;
3449
3466
  updateConstructorTypeNode(node: ConstructorTypeNode, modifiers: readonly Modifier[] | undefined, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode): ConstructorTypeNode;
3450
- /** @deprecated */
3451
- updateConstructorTypeNode(node: ConstructorTypeNode, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode): ConstructorTypeNode;
3452
3467
  createTypeQueryNode(exprName: EntityName, typeArguments?: readonly TypeNode[]): TypeQueryNode;
3453
3468
  updateTypeQueryNode(node: TypeQueryNode, exprName: EntityName, typeArguments?: readonly TypeNode[]): TypeQueryNode;
3454
3469
  createTypeLiteralNode(members: readonly TypeElement[] | undefined): TypeLiteralNode;
@@ -3471,9 +3486,7 @@ declare namespace ts {
3471
3486
  updateConditionalTypeNode(node: ConditionalTypeNode, checkType: TypeNode, extendsType: TypeNode, trueType: TypeNode, falseType: TypeNode): ConditionalTypeNode;
3472
3487
  createInferTypeNode(typeParameter: TypeParameterDeclaration): InferTypeNode;
3473
3488
  updateInferTypeNode(node: InferTypeNode, typeParameter: TypeParameterDeclaration): InferTypeNode;
3474
- createImportTypeNode(argument: TypeNode, qualifier?: EntityName, typeArguments?: readonly TypeNode[], isTypeOf?: boolean): ImportTypeNode;
3475
3489
  createImportTypeNode(argument: TypeNode, assertions?: ImportTypeAssertionContainer, qualifier?: EntityName, typeArguments?: readonly TypeNode[], isTypeOf?: boolean): ImportTypeNode;
3476
- updateImportTypeNode(node: ImportTypeNode, argument: TypeNode, qualifier: EntityName | undefined, typeArguments: readonly TypeNode[] | undefined, isTypeOf?: boolean): ImportTypeNode;
3477
3490
  updateImportTypeNode(node: ImportTypeNode, argument: TypeNode, assertions: ImportTypeAssertionContainer | undefined, qualifier: EntityName | undefined, typeArguments: readonly TypeNode[] | undefined, isTypeOf?: boolean): ImportTypeNode;
3478
3491
  createParenthesizedType(type: TypeNode): ParenthesizedTypeNode;
3479
3492
  updateParenthesizedType(node: ParenthesizedTypeNode, type: TypeNode): ParenthesizedTypeNode;
@@ -3553,8 +3566,8 @@ declare namespace ts {
3553
3566
  updateYieldExpression(node: YieldExpression, asteriskToken: AsteriskToken | undefined, expression: Expression | undefined): YieldExpression;
3554
3567
  createSpreadElement(expression: Expression): SpreadElement;
3555
3568
  updateSpreadElement(node: SpreadElement, expression: Expression): SpreadElement;
3556
- 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;
3557
- 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;
3569
+ createClassExpression(modifiers: readonly ModifierLike[] | undefined, name: string | Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): ClassExpression;
3570
+ updateClassExpression(node: ClassExpression, modifiers: readonly ModifierLike[] | undefined, name: Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): ClassExpression;
3558
3571
  createOmittedExpression(): OmittedExpression;
3559
3572
  createExpressionWithTypeArguments(expression: Expression, typeArguments: readonly TypeNode[] | undefined): ExpressionWithTypeArguments;
3560
3573
  updateExpressionWithTypeArguments(node: ExpressionWithTypeArguments, expression: Expression, typeArguments: readonly TypeNode[] | undefined): ExpressionWithTypeArguments;
@@ -3609,28 +3622,28 @@ declare namespace ts {
3609
3622
  updateVariableDeclaration(node: VariableDeclaration, name: BindingName, exclamationToken: ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): VariableDeclaration;
3610
3623
  createVariableDeclarationList(declarations: readonly VariableDeclaration[], flags?: NodeFlags): VariableDeclarationList;
3611
3624
  updateVariableDeclarationList(node: VariableDeclarationList, declarations: readonly VariableDeclaration[]): VariableDeclarationList;
3612
- 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;
3613
- 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;
3614
- 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;
3615
- 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;
3616
- createInterfaceDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
3617
- 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;
3618
- createTypeAliasDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
3619
- updateTypeAliasDeclaration(node: TypeAliasDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
3620
- createEnumDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, members: readonly EnumMember[]): EnumDeclaration;
3621
- updateEnumDeclaration(node: EnumDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, members: readonly EnumMember[]): EnumDeclaration;
3622
- createModuleDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined, flags?: NodeFlags): ModuleDeclaration;
3623
- updateModuleDeclaration(node: ModuleDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined): ModuleDeclaration;
3625
+ createFunctionDeclaration(modifiers: readonly ModifierLike[] | undefined, asteriskToken: AsteriskToken | undefined, name: string | Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): FunctionDeclaration;
3626
+ 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;
3627
+ createClassDeclaration(modifiers: readonly ModifierLike[] | undefined, name: string | Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): ClassDeclaration;
3628
+ updateClassDeclaration(node: ClassDeclaration, modifiers: readonly ModifierLike[] | undefined, name: Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): ClassDeclaration;
3629
+ createInterfaceDeclaration(modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
3630
+ updateInterfaceDeclaration(node: InterfaceDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
3631
+ createTypeAliasDeclaration(modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
3632
+ updateTypeAliasDeclaration(node: TypeAliasDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
3633
+ createEnumDeclaration(modifiers: readonly Modifier[] | undefined, name: string | Identifier, members: readonly EnumMember[]): EnumDeclaration;
3634
+ updateEnumDeclaration(node: EnumDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, members: readonly EnumMember[]): EnumDeclaration;
3635
+ createModuleDeclaration(modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined, flags?: NodeFlags): ModuleDeclaration;
3636
+ updateModuleDeclaration(node: ModuleDeclaration, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined): ModuleDeclaration;
3624
3637
  createModuleBlock(statements: readonly Statement[]): ModuleBlock;
3625
3638
  updateModuleBlock(node: ModuleBlock, statements: readonly Statement[]): ModuleBlock;
3626
3639
  createCaseBlock(clauses: readonly CaseOrDefaultClause[]): CaseBlock;
3627
3640
  updateCaseBlock(node: CaseBlock, clauses: readonly CaseOrDefaultClause[]): CaseBlock;
3628
3641
  createNamespaceExportDeclaration(name: string | Identifier): NamespaceExportDeclaration;
3629
3642
  updateNamespaceExportDeclaration(node: NamespaceExportDeclaration, name: Identifier): NamespaceExportDeclaration;
3630
- createImportEqualsDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: string | Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
3631
- updateImportEqualsDeclaration(node: ImportEqualsDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
3632
- createImportDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause?: AssertClause): ImportDeclaration;
3633
- updateImportDeclaration(node: ImportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration;
3643
+ createImportEqualsDeclaration(modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: string | Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
3644
+ updateImportEqualsDeclaration(node: ImportEqualsDeclaration, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
3645
+ createImportDeclaration(modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause?: AssertClause): ImportDeclaration;
3646
+ updateImportDeclaration(node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration;
3634
3647
  createImportClause(isTypeOnly: boolean, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
3635
3648
  updateImportClause(node: ImportClause, isTypeOnly: boolean, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
3636
3649
  createAssertClause(elements: NodeArray<AssertEntry>, multiLine?: boolean): AssertClause;
@@ -3647,10 +3660,10 @@ declare namespace ts {
3647
3660
  updateNamedImports(node: NamedImports, elements: readonly ImportSpecifier[]): NamedImports;
3648
3661
  createImportSpecifier(isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier): ImportSpecifier;
3649
3662
  updateImportSpecifier(node: ImportSpecifier, isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier): ImportSpecifier;
3650
- createExportAssignment(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression): ExportAssignment;
3651
- updateExportAssignment(node: ExportAssignment, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, expression: Expression): ExportAssignment;
3652
- createExportDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression, assertClause?: AssertClause): ExportDeclaration;
3653
- updateExportDeclaration(node: ExportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier: Expression | undefined, assertClause: AssertClause | undefined): ExportDeclaration;
3663
+ createExportAssignment(modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression): ExportAssignment;
3664
+ updateExportAssignment(node: ExportAssignment, modifiers: readonly Modifier[] | undefined, expression: Expression): ExportAssignment;
3665
+ createExportDeclaration(modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression, assertClause?: AssertClause): ExportDeclaration;
3666
+ updateExportDeclaration(node: ExportDeclaration, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier: Expression | undefined, assertClause: AssertClause | undefined): ExportDeclaration;
3654
3667
  createNamedExports(elements: readonly ExportSpecifier[]): NamedExports;
3655
3668
  updateNamedExports(node: NamedExports, elements: readonly ExportSpecifier[]): NamedExports;
3656
3669
  createExportSpecifier(isTypeOnly: boolean, propertyName: string | Identifier | undefined, name: string | Identifier): ExportSpecifier;
@@ -4056,7 +4069,7 @@ declare namespace ts {
4056
4069
  NoSpaceIfEmpty = 524288,
4057
4070
  SingleElement = 1048576,
4058
4071
  SpaceAfterList = 2097152,
4059
- Modifiers = 262656,
4072
+ Modifiers = 2359808,
4060
4073
  HeritageClauses = 512,
4061
4074
  SingleLineTypeLiteralMembers = 768,
4062
4075
  MultiLineTypeLiteralMembers = 32897,
@@ -4140,7 +4153,7 @@ declare namespace ts {
4140
4153
  Changed = 1,
4141
4154
  Deleted = 2
4142
4155
  }
4143
- export type FileWatcherCallback = (fileName: string, eventKind: FileWatcherEventKind) => void;
4156
+ export type FileWatcherCallback = (fileName: string, eventKind: FileWatcherEventKind, modifiedTime?: Date) => void;
4144
4157
  export type DirectoryWatcherCallback = (fileName: string) => void;
4145
4158
  export interface System {
4146
4159
  args: string[];
@@ -4351,6 +4364,8 @@ declare namespace ts {
4351
4364
  function symbolName(symbol: Symbol): string;
4352
4365
  function getNameOfJSDocTypedef(declaration: JSDocTypedefTag): Identifier | PrivateIdentifier | undefined;
4353
4366
  function getNameOfDeclaration(declaration: Declaration | Expression | undefined): DeclarationName | undefined;
4367
+ function getDecorators(node: HasDecorators): readonly Decorator[] | undefined;
4368
+ function getModifiers(node: HasModifiers): readonly Modifier[] | undefined;
4354
4369
  /**
4355
4370
  * Gets the JSDoc parameter tags for the node if present.
4356
4371
  *
@@ -4484,6 +4499,7 @@ declare namespace ts {
4484
4499
  function isClassElement(node: Node): node is ClassElement;
4485
4500
  function isClassLike(node: Node): node is ClassLikeDeclaration;
4486
4501
  function isAccessor(node: Node): node is AccessorDeclaration;
4502
+ function isModifierLike(node: Node): node is ModifierLike;
4487
4503
  function isTypeElement(node: Node): node is TypeElement;
4488
4504
  function isClassOrTypeElement(node: Node): node is ClassElement | TypeElement;
4489
4505
  function isObjectLiteralElementLike(node: Node): node is ObjectLiteralElementLike;
@@ -10872,33 +10888,69 @@ declare namespace ts {
10872
10888
  (node: TypeParameterDeclaration, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined): TypeParameterDeclaration;
10873
10889
  };
10874
10890
  /** @deprecated Use `factory.createParameterDeclaration` or the factory supplied by your transformation context instead. */
10875
- const createParameter: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken?: QuestionToken | undefined, type?: TypeNode | undefined, initializer?: Expression | undefined) => ParameterDeclaration;
10891
+ const createParameter: {
10892
+ (modifiers: readonly ModifierLike[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken?: QuestionToken | undefined, type?: TypeNode | undefined, initializer?: Expression | undefined): ParameterDeclaration;
10893
+ (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken?: QuestionToken | undefined, type?: TypeNode | undefined, initializer?: Expression | undefined): ParameterDeclaration;
10894
+ };
10876
10895
  /** @deprecated Use `factory.updateParameterDeclaration` or the factory supplied by your transformation context instead. */
10877
- const updateParameter: (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;
10896
+ const updateParameter: {
10897
+ (node: ParameterDeclaration, modifiers: readonly ModifierLike[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken: QuestionToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): ParameterDeclaration;
10898
+ (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;
10899
+ };
10878
10900
  /** @deprecated Use `factory.createDecorator` or the factory supplied by your transformation context instead. */
10879
10901
  const createDecorator: (expression: Expression) => Decorator;
10880
10902
  /** @deprecated Use `factory.updateDecorator` or the factory supplied by your transformation context instead. */
10881
10903
  const updateDecorator: (node: Decorator, expression: Expression) => Decorator;
10882
10904
  /** @deprecated Use `factory.createPropertyDeclaration` or the factory supplied by your transformation context instead. */
10883
- const createProperty: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined) => PropertyDeclaration;
10905
+ const createProperty: {
10906
+ (modifiers: readonly ModifierLike[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): PropertyDeclaration;
10907
+ (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): PropertyDeclaration;
10908
+ };
10884
10909
  /** @deprecated Use `factory.updatePropertyDeclaration` or the factory supplied by your transformation context instead. */
10885
- const updateProperty: (node: PropertyDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined) => PropertyDeclaration;
10910
+ const updateProperty: {
10911
+ (node: PropertyDeclaration, modifiers: readonly ModifierLike[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): PropertyDeclaration;
10912
+ (node: PropertyDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): PropertyDeclaration;
10913
+ };
10886
10914
  /** @deprecated Use `factory.createMethodDeclaration` or the factory supplied by your transformation context instead. */
10887
- const createMethod: (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;
10915
+ const createMethod: {
10916
+ (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;
10917
+ (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;
10918
+ };
10888
10919
  /** @deprecated Use `factory.updateMethodDeclaration` or the factory supplied by your transformation context instead. */
10889
- const updateMethod: (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;
10920
+ const updateMethod: {
10921
+ (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;
10922
+ (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;
10923
+ };
10890
10924
  /** @deprecated Use `factory.createConstructorDeclaration` or the factory supplied by your transformation context instead. */
10891
- const createConstructor: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined) => ConstructorDeclaration;
10925
+ const createConstructor: {
10926
+ (modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
10927
+ (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
10928
+ };
10892
10929
  /** @deprecated Use `factory.updateConstructorDeclaration` or the factory supplied by your transformation context instead. */
10893
- const updateConstructor: (node: ConstructorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined) => ConstructorDeclaration;
10930
+ const updateConstructor: {
10931
+ (node: ConstructorDeclaration, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
10932
+ (node: ConstructorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
10933
+ };
10894
10934
  /** @deprecated Use `factory.createGetAccessorDeclaration` or the factory supplied by your transformation context instead. */
10895
- const createGetAccessor: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined) => GetAccessorDeclaration;
10935
+ const createGetAccessor: {
10936
+ (modifiers: readonly ModifierLike[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
10937
+ (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
10938
+ };
10896
10939
  /** @deprecated Use `factory.updateGetAccessorDeclaration` or the factory supplied by your transformation context instead. */
10897
- const updateGetAccessor: (node: GetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined) => GetAccessorDeclaration;
10940
+ const updateGetAccessor: {
10941
+ (node: GetAccessorDeclaration, modifiers: readonly ModifierLike[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
10942
+ (node: GetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
10943
+ };
10898
10944
  /** @deprecated Use `factory.createSetAccessorDeclaration` or the factory supplied by your transformation context instead. */
10899
- const createSetAccessor: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined) => SetAccessorDeclaration;
10945
+ const createSetAccessor: {
10946
+ (modifiers: readonly ModifierLike[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
10947
+ (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
10948
+ };
10900
10949
  /** @deprecated Use `factory.updateSetAccessorDeclaration` or the factory supplied by your transformation context instead. */
10901
- const updateSetAccessor: (node: SetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined) => SetAccessorDeclaration;
10950
+ const updateSetAccessor: {
10951
+ (node: SetAccessorDeclaration, modifiers: readonly ModifierLike[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
10952
+ (node: SetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
10953
+ };
10902
10954
  /** @deprecated Use `factory.createCallSignature` or the factory supplied by your transformation context instead. */
10903
10955
  const createCallSignature: (typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined) => CallSignatureDeclaration;
10904
10956
  /** @deprecated Use `factory.updateCallSignature` or the factory supplied by your transformation context instead. */
@@ -10908,7 +10960,10 @@ declare namespace ts {
10908
10960
  /** @deprecated Use `factory.updateConstructSignature` or the factory supplied by your transformation context instead. */
10909
10961
  const updateConstructSignature: (node: ConstructSignatureDeclaration, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode | undefined) => ConstructSignatureDeclaration;
10910
10962
  /** @deprecated Use `factory.updateIndexSignature` or the factory supplied by your transformation context instead. */
10911
- const updateIndexSignature: (node: IndexSignatureDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode) => IndexSignatureDeclaration;
10963
+ const updateIndexSignature: {
10964
+ (node: IndexSignatureDeclaration, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
10965
+ (node: IndexSignatureDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
10966
+ };
10912
10967
  /** @deprecated Use `factory.createKeywordTypeNode` or the factory supplied by your transformation context instead. */
10913
10968
  const createKeywordTypeNode: <TKind extends KeywordTypeSyntaxKind>(kind: TKind) => KeywordTypeNode<TKind>;
10914
10969
  /** @deprecated Use `factory.createTypePredicateNode` or the factory supplied by your transformation context instead. */
@@ -10969,13 +11024,14 @@ declare namespace ts {
10969
11024
  const updateInferTypeNode: (node: InferTypeNode, typeParameter: TypeParameterDeclaration) => InferTypeNode;
10970
11025
  /** @deprecated Use `factory.createImportTypeNode` or the factory supplied by your transformation context instead. */
10971
11026
  const createImportTypeNode: {
10972
- (argument: TypeNode, qualifier?: EntityName | undefined, typeArguments?: readonly TypeNode[] | undefined, isTypeOf?: boolean | undefined): ImportTypeNode;
10973
11027
  (argument: TypeNode, assertions?: ImportTypeAssertionContainer | undefined, qualifier?: EntityName | undefined, typeArguments?: readonly TypeNode[] | undefined, isTypeOf?: boolean | undefined): ImportTypeNode;
11028
+ (argument: TypeNode, assertions?: ImportTypeAssertionContainer | undefined, qualifier?: EntityName | undefined, typeArguments?: readonly TypeNode[] | undefined, isTypeOf?: boolean | undefined): ImportTypeNode;
11029
+ (argument: TypeNode, qualifier?: EntityName | undefined, typeArguments?: readonly TypeNode[] | undefined, isTypeOf?: boolean | undefined): ImportTypeNode;
10974
11030
  };
10975
11031
  /** @deprecated Use `factory.updateImportTypeNode` or the factory supplied by your transformation context instead. */
10976
11032
  const updateImportTypeNode: {
10977
- (node: ImportTypeNode, argument: TypeNode, qualifier: EntityName | undefined, typeArguments: readonly TypeNode[] | undefined, isTypeOf?: boolean | undefined): ImportTypeNode;
10978
11033
  (node: ImportTypeNode, argument: TypeNode, assertions: ImportTypeAssertionContainer | undefined, qualifier: EntityName | undefined, typeArguments: readonly TypeNode[] | undefined, isTypeOf?: boolean | undefined): ImportTypeNode;
11034
+ (node: ImportTypeNode, argument: TypeNode, qualifier: EntityName | undefined, typeArguments: readonly TypeNode[] | undefined, isTypeOf?: boolean | undefined): ImportTypeNode;
10979
11035
  };
10980
11036
  /** @deprecated Use `factory.createParenthesizedType` or the factory supplied by your transformation context instead. */
10981
11037
  const createParenthesizedType: (type: TypeNode) => ParenthesizedTypeNode;
@@ -11220,29 +11276,65 @@ declare namespace ts {
11220
11276
  /** @deprecated Use `factory.updateVariableDeclarationList` or the factory supplied by your transformation context instead. */
11221
11277
  const updateVariableDeclarationList: (node: VariableDeclarationList, declarations: readonly VariableDeclaration[]) => VariableDeclarationList;
11222
11278
  /** @deprecated Use `factory.createFunctionDeclaration` or the factory supplied by your transformation context instead. */
11223
- const 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;
11279
+ const createFunctionDeclaration: {
11280
+ (modifiers: readonly ModifierLike[] | undefined, asteriskToken: AsteriskToken | undefined, name: string | Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): FunctionDeclaration;
11281
+ (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;
11282
+ };
11224
11283
  /** @deprecated Use `factory.updateFunctionDeclaration` or the factory supplied by your transformation context instead. */
11225
- const 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;
11284
+ const updateFunctionDeclaration: {
11285
+ (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;
11286
+ (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;
11287
+ };
11226
11288
  /** @deprecated Use `factory.createClassDeclaration` or the factory supplied by your transformation context instead. */
11227
- const 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;
11289
+ const createClassDeclaration: {
11290
+ (modifiers: readonly ModifierLike[] | undefined, name: string | Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): ClassDeclaration;
11291
+ (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): ClassDeclaration;
11292
+ };
11228
11293
  /** @deprecated Use `factory.updateClassDeclaration` or the factory supplied by your transformation context instead. */
11229
- const 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;
11294
+ const updateClassDeclaration: {
11295
+ (node: ClassDeclaration, modifiers: readonly ModifierLike[] | undefined, name: Identifier | undefined, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly ClassElement[]): ClassDeclaration;
11296
+ (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;
11297
+ };
11230
11298
  /** @deprecated Use `factory.createInterfaceDeclaration` or the factory supplied by your transformation context instead. */
11231
- const createInterfaceDeclaration: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]) => InterfaceDeclaration;
11299
+ const createInterfaceDeclaration: {
11300
+ (modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
11301
+ (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
11302
+ };
11232
11303
  /** @deprecated Use `factory.updateInterfaceDeclaration` or the factory supplied by your transformation context instead. */
11233
- const 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;
11304
+ const updateInterfaceDeclaration: {
11305
+ (node: InterfaceDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
11306
+ (node: InterfaceDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
11307
+ };
11234
11308
  /** @deprecated Use `factory.createTypeAliasDeclaration` or the factory supplied by your transformation context instead. */
11235
- const createTypeAliasDeclaration: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode) => TypeAliasDeclaration;
11309
+ const createTypeAliasDeclaration: {
11310
+ (modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
11311
+ (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
11312
+ };
11236
11313
  /** @deprecated Use `factory.updateTypeAliasDeclaration` or the factory supplied by your transformation context instead. */
11237
- const updateTypeAliasDeclaration: (node: TypeAliasDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode) => TypeAliasDeclaration;
11314
+ const updateTypeAliasDeclaration: {
11315
+ (node: TypeAliasDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
11316
+ (node: TypeAliasDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
11317
+ };
11238
11318
  /** @deprecated Use `factory.createEnumDeclaration` or the factory supplied by your transformation context instead. */
11239
- const createEnumDeclaration: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, members: readonly EnumMember[]) => EnumDeclaration;
11319
+ const createEnumDeclaration: {
11320
+ (modifiers: readonly Modifier[] | undefined, name: string | Identifier, members: readonly EnumMember[]): EnumDeclaration;
11321
+ (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, members: readonly EnumMember[]): EnumDeclaration;
11322
+ };
11240
11323
  /** @deprecated Use `factory.updateEnumDeclaration` or the factory supplied by your transformation context instead. */
11241
- const updateEnumDeclaration: (node: EnumDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, members: readonly EnumMember[]) => EnumDeclaration;
11324
+ const updateEnumDeclaration: {
11325
+ (node: EnumDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, members: readonly EnumMember[]): EnumDeclaration;
11326
+ (node: EnumDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, members: readonly EnumMember[]): EnumDeclaration;
11327
+ };
11242
11328
  /** @deprecated Use `factory.createModuleDeclaration` or the factory supplied by your transformation context instead. */
11243
- const createModuleDeclaration: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined, flags?: NodeFlags | undefined) => ModuleDeclaration;
11329
+ const createModuleDeclaration: {
11330
+ (modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined, flags?: NodeFlags | undefined): ModuleDeclaration;
11331
+ (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined, flags?: NodeFlags | undefined): ModuleDeclaration;
11332
+ };
11244
11333
  /** @deprecated Use `factory.updateModuleDeclaration` or the factory supplied by your transformation context instead. */
11245
- const updateModuleDeclaration: (node: ModuleDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined) => ModuleDeclaration;
11334
+ const updateModuleDeclaration: {
11335
+ (node: ModuleDeclaration, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined): ModuleDeclaration;
11336
+ (node: ModuleDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined): ModuleDeclaration;
11337
+ };
11246
11338
  /** @deprecated Use `factory.createModuleBlock` or the factory supplied by your transformation context instead. */
11247
11339
  const createModuleBlock: (statements: readonly Statement[]) => ModuleBlock;
11248
11340
  /** @deprecated Use `factory.updateModuleBlock` or the factory supplied by your transformation context instead. */
@@ -11256,13 +11348,25 @@ declare namespace ts {
11256
11348
  /** @deprecated Use `factory.updateNamespaceExportDeclaration` or the factory supplied by your transformation context instead. */
11257
11349
  const updateNamespaceExportDeclaration: (node: NamespaceExportDeclaration, name: Identifier) => NamespaceExportDeclaration;
11258
11350
  /** @deprecated Use `factory.createImportEqualsDeclaration` or the factory supplied by your transformation context instead. */
11259
- const createImportEqualsDeclaration: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: string | Identifier, moduleReference: ModuleReference) => ImportEqualsDeclaration;
11351
+ const createImportEqualsDeclaration: {
11352
+ (modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: string | Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
11353
+ (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: string | Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
11354
+ };
11260
11355
  /** @deprecated Use `factory.updateImportEqualsDeclaration` or the factory supplied by your transformation context instead. */
11261
- const updateImportEqualsDeclaration: (node: ImportEqualsDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: Identifier, moduleReference: ModuleReference) => ImportEqualsDeclaration;
11356
+ const updateImportEqualsDeclaration: {
11357
+ (node: ImportEqualsDeclaration, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
11358
+ (node: ImportEqualsDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
11359
+ };
11262
11360
  /** @deprecated Use `factory.createImportDeclaration` or the factory supplied by your transformation context instead. */
11263
- const createImportDeclaration: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause?: AssertClause | undefined) => ImportDeclaration;
11361
+ const createImportDeclaration: {
11362
+ (modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause?: AssertClause | undefined): ImportDeclaration;
11363
+ (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause?: AssertClause | undefined): ImportDeclaration;
11364
+ };
11264
11365
  /** @deprecated Use `factory.updateImportDeclaration` or the factory supplied by your transformation context instead. */
11265
- const updateImportDeclaration: (node: ImportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined) => ImportDeclaration;
11366
+ const updateImportDeclaration: {
11367
+ (node: ImportDeclaration, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration;
11368
+ (node: ImportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration;
11369
+ };
11266
11370
  /** @deprecated Use `factory.createNamespaceImport` or the factory supplied by your transformation context instead. */
11267
11371
  const createNamespaceImport: (name: Identifier) => NamespaceImport;
11268
11372
  /** @deprecated Use `factory.updateNamespaceImport` or the factory supplied by your transformation context instead. */
@@ -11276,9 +11380,15 @@ declare namespace ts {
11276
11380
  /** @deprecated Use `factory.updateImportSpecifier` or the factory supplied by your transformation context instead. */
11277
11381
  const updateImportSpecifier: (node: ImportSpecifier, isTypeOnly: boolean, propertyName: Identifier | undefined, name: Identifier) => ImportSpecifier;
11278
11382
  /** @deprecated Use `factory.createExportAssignment` or the factory supplied by your transformation context instead. */
11279
- const createExportAssignment: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression) => ExportAssignment;
11383
+ const createExportAssignment: {
11384
+ (modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression): ExportAssignment;
11385
+ (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression): ExportAssignment;
11386
+ };
11280
11387
  /** @deprecated Use `factory.updateExportAssignment` or the factory supplied by your transformation context instead. */
11281
- const updateExportAssignment: (node: ExportAssignment, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, expression: Expression) => ExportAssignment;
11388
+ const updateExportAssignment: {
11389
+ (node: ExportAssignment, modifiers: readonly Modifier[] | undefined, expression: Expression): ExportAssignment;
11390
+ (node: ExportAssignment, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, expression: Expression): ExportAssignment;
11391
+ };
11282
11392
  /** @deprecated Use `factory.createNamedExports` or the factory supplied by your transformation context instead. */
11283
11393
  const createNamedExports: (elements: readonly ExportSpecifier[]) => NamedExports;
11284
11394
  /** @deprecated Use `factory.updateNamedExports` or the factory supplied by your transformation context instead. */
@@ -11582,8 +11692,12 @@ declare namespace ts {
11582
11692
  * @deprecated Use an appropriate `factory.update...` method instead, use `setCommentRange` or `setSourceMapRange`, and avoid setting `parent`.
11583
11693
  */
11584
11694
  const getMutableClone: <T extends Node>(node: T) => T;
11695
+ }
11696
+ declare namespace ts {
11585
11697
  /** @deprecated Use `isTypeAssertionExpression` instead. */
11586
11698
  const isTypeAssertion: (node: Node) => node is TypeAssertion;
11699
+ }
11700
+ declare namespace ts {
11587
11701
  /**
11588
11702
  * @deprecated Use `ts.ReadonlyESMap<K, V>` instead.
11589
11703
  */
@@ -11594,11 +11708,298 @@ declare namespace ts {
11594
11708
  */
11595
11709
  interface Map<T> extends ESMap<string, T> {
11596
11710
  }
11711
+ }
11712
+ declare namespace ts {
11597
11713
  /**
11598
11714
  * @deprecated Use `isMemberName` instead.
11599
11715
  */
11600
11716
  const isIdentifierOrPrivateIdentifier: (node: Node) => node is MemberName;
11601
11717
  }
11718
+ declare namespace ts {
11719
+ interface NodeFactory {
11720
+ /** @deprecated Use the overload that accepts 'modifiers' */
11721
+ createConstructorTypeNode(typeParameters: readonly TypeParameterDeclaration[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): ConstructorTypeNode;
11722
+ /** @deprecated Use the overload that accepts 'modifiers' */
11723
+ updateConstructorTypeNode(node: ConstructorTypeNode, typeParameters: NodeArray<TypeParameterDeclaration> | undefined, parameters: NodeArray<ParameterDeclaration>, type: TypeNode): ConstructorTypeNode;
11724
+ }
11725
+ }
11726
+ declare namespace ts {
11727
+ interface NodeFactory {
11728
+ createImportTypeNode(argument: TypeNode, assertions?: ImportTypeAssertionContainer, qualifier?: EntityName, typeArguments?: readonly TypeNode[], isTypeOf?: boolean): ImportTypeNode;
11729
+ /** @deprecated Use the overload that accepts 'assertions' */
11730
+ createImportTypeNode(argument: TypeNode, qualifier?: EntityName, typeArguments?: readonly TypeNode[], isTypeOf?: boolean): ImportTypeNode;
11731
+ /** @deprecated Use the overload that accepts 'assertions' */
11732
+ updateImportTypeNode(node: ImportTypeNode, argument: TypeNode, qualifier: EntityName | undefined, typeArguments: readonly TypeNode[] | undefined, isTypeOf?: boolean): ImportTypeNode;
11733
+ }
11734
+ }
11735
+ declare namespace ts {
11736
+ interface NodeFactory {
11737
+ /** @deprecated Use the overload that accepts 'modifiers' */
11738
+ createTypeParameterDeclaration(name: string | Identifier, constraint?: TypeNode, defaultType?: TypeNode): TypeParameterDeclaration;
11739
+ /** @deprecated Use the overload that accepts 'modifiers' */
11740
+ updateTypeParameterDeclaration(node: TypeParameterDeclaration, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined): TypeParameterDeclaration;
11741
+ }
11742
+ }
11743
+ declare namespace ts {
11744
+ interface Node {
11745
+ /** @deprecated `decorators` has been merged with `modifiers` on the declarations that support decorators. */
11746
+ readonly decorators?: NodeArray<Decorator> | undefined;
11747
+ /** @deprecated `modifiers` has been removed from `Node` and moved to the specific `Node` subtypes that support them. */
11748
+ readonly modifiers?: NodeArray<ModifierLike> | undefined;
11749
+ }
11750
+ interface PropertySignature {
11751
+ /** @deprecated A property signature cannot have an initializer */
11752
+ readonly initializer?: Expression | undefined;
11753
+ }
11754
+ interface PropertyAssignment {
11755
+ /** @deprecated A property assignment cannot have a question token */
11756
+ readonly questionToken?: QuestionToken | undefined;
11757
+ /** @deprecated A property assignment cannot have an exclamation token */
11758
+ readonly exclamationToken?: ExclamationToken | undefined;
11759
+ }
11760
+ interface ShorthandPropertyAssignment {
11761
+ /** @deprecated A shorthand property assignment cannot have modifiers */
11762
+ readonly modifiers?: NodeArray<Modifier> | undefined;
11763
+ /** @deprecated A shorthand property assignment cannot have a question token */
11764
+ readonly questionToken?: QuestionToken | undefined;
11765
+ /** @deprecated A shorthand property assignment cannot have an exclamation token */
11766
+ readonly exclamationToken?: ExclamationToken | undefined;
11767
+ }
11768
+ interface FunctionTypeNode {
11769
+ /** @deprecated A function type cannot have modifiers */
11770
+ readonly modifiers?: NodeArray<Modifier> | undefined;
11771
+ }
11772
+ interface NodeFactory {
11773
+ /**
11774
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11775
+ * `null` to the `decorators` parameter so that a future update can introduce
11776
+ * an overload that removes the parameter entirely.
11777
+ */
11778
+ createParameterDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken?: QuestionToken, type?: TypeNode, initializer?: Expression): ParameterDeclaration;
11779
+ /**
11780
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11781
+ * `null` to the `decorators` parameter so that a future update can introduce
11782
+ * an overload that removes the parameter entirely.
11783
+ */
11784
+ 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;
11785
+ /**
11786
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11787
+ * `null` to the `decorators` parameter so that a future update can introduce
11788
+ * an overload that removes the parameter entirely.
11789
+ */
11790
+ createPropertyDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): PropertyDeclaration;
11791
+ /**
11792
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11793
+ * `null` to the `decorators` parameter so that a future update can introduce
11794
+ * an overload that removes the parameter entirely.
11795
+ */
11796
+ 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;
11797
+ /**
11798
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11799
+ * `null` to the `decorators` parameter so that a future update can introduce
11800
+ * an overload that removes the parameter entirely.
11801
+ */
11802
+ 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;
11803
+ /**
11804
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11805
+ * `null` to the `decorators` parameter so that a future update can introduce
11806
+ * an overload that removes the parameter entirely.
11807
+ */
11808
+ 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;
11809
+ /**
11810
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11811
+ * `null` to the `decorators` parameter so that a future update can introduce
11812
+ * an overload that removes the parameter entirely.
11813
+ */
11814
+ createConstructorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
11815
+ /**
11816
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11817
+ * `null` to the `decorators` parameter so that a future update can introduce
11818
+ * an overload that removes the parameter entirely.
11819
+ */
11820
+ updateConstructorDeclaration(node: ConstructorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
11821
+ /**
11822
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11823
+ * `null` to the `decorators` parameter so that a future update can introduce
11824
+ * an overload that removes the parameter entirely.
11825
+ */
11826
+ createGetAccessorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
11827
+ /**
11828
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11829
+ * `null` to the `decorators` parameter so that a future update can introduce
11830
+ * an overload that removes the parameter entirely.
11831
+ */
11832
+ updateGetAccessorDeclaration(node: GetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
11833
+ /**
11834
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11835
+ * `null` to the `decorators` parameter so that a future update can introduce
11836
+ * an overload that removes the parameter entirely.
11837
+ */
11838
+ createSetAccessorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
11839
+ /**
11840
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11841
+ * `null` to the `decorators` parameter so that a future update can introduce
11842
+ * an overload that removes the parameter entirely.
11843
+ */
11844
+ updateSetAccessorDeclaration(node: SetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
11845
+ /**
11846
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11847
+ * `null` to the `decorators` parameter so that a future update can introduce
11848
+ * an overload that removes the parameter entirely.
11849
+ */
11850
+ createIndexSignature(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
11851
+ /**
11852
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11853
+ * `null` to the `decorators` parameter so that a future update can introduce
11854
+ * an overload that removes the parameter entirely.
11855
+ */
11856
+ updateIndexSignature(node: IndexSignatureDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
11857
+ /**
11858
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11859
+ * `null` to the `decorators` parameter so that a future update can introduce
11860
+ * an overload that removes the parameter entirely.
11861
+ */
11862
+ createClassStaticBlockDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, body: Block): ClassStaticBlockDeclaration;
11863
+ /**
11864
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11865
+ * `null` to the `decorators` parameter so that a future update can introduce
11866
+ * an overload that removes the parameter entirely.
11867
+ */
11868
+ updateClassStaticBlockDeclaration(node: ClassStaticBlockDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, body: Block): ClassStaticBlockDeclaration;
11869
+ /**
11870
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11871
+ * `null` to the `decorators` parameter so that a future update can introduce
11872
+ * an overload that removes the parameter entirely.
11873
+ */
11874
+ 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;
11875
+ /**
11876
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11877
+ * `null` to the `decorators` parameter so that a future update can introduce
11878
+ * an overload that removes the parameter entirely.
11879
+ */
11880
+ 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;
11881
+ /**
11882
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11883
+ * `null` to the `decorators` parameter so that a future update can introduce
11884
+ * an overload that removes the parameter entirely.
11885
+ */
11886
+ 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;
11887
+ /**
11888
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11889
+ * `null` to the `decorators` parameter so that a future update can introduce
11890
+ * an overload that removes the parameter entirely.
11891
+ */
11892
+ 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;
11893
+ /**
11894
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11895
+ * `null` to the `decorators` parameter so that a future update can introduce
11896
+ * an overload that removes the parameter entirely.
11897
+ */
11898
+ 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;
11899
+ /**
11900
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11901
+ * `null` to the `decorators` parameter so that a future update can introduce
11902
+ * an overload that removes the parameter entirely.
11903
+ */
11904
+ 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;
11905
+ /**
11906
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11907
+ * `null` to the `decorators` parameter so that a future update can introduce
11908
+ * an overload that removes the parameter entirely.
11909
+ */
11910
+ createInterfaceDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
11911
+ /**
11912
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11913
+ * `null` to the `decorators` parameter so that a future update can introduce
11914
+ * an overload that removes the parameter entirely.
11915
+ */
11916
+ 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;
11917
+ /**
11918
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11919
+ * `null` to the `decorators` parameter so that a future update can introduce
11920
+ * an overload that removes the parameter entirely.
11921
+ */
11922
+ createTypeAliasDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
11923
+ /**
11924
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11925
+ * `null` to the `decorators` parameter so that a future update can introduce
11926
+ * an overload that removes the parameter entirely.
11927
+ */
11928
+ updateTypeAliasDeclaration(node: TypeAliasDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
11929
+ /**
11930
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11931
+ * `null` to the `decorators` parameter so that a future update can introduce
11932
+ * an overload that removes the parameter entirely.
11933
+ */
11934
+ createEnumDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, members: readonly EnumMember[]): EnumDeclaration;
11935
+ /**
11936
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11937
+ * `null` to the `decorators` parameter so that a future update can introduce
11938
+ * an overload that removes the parameter entirely.
11939
+ */
11940
+ updateEnumDeclaration(node: EnumDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, members: readonly EnumMember[]): EnumDeclaration;
11941
+ /**
11942
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11943
+ * `null` to the `decorators` parameter so that a future update can introduce
11944
+ * an overload that removes the parameter entirely.
11945
+ */
11946
+ createModuleDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined, flags?: NodeFlags): ModuleDeclaration;
11947
+ /**
11948
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11949
+ * `null` to the `decorators` parameter so that a future update can introduce
11950
+ * an overload that removes the parameter entirely.
11951
+ */
11952
+ updateModuleDeclaration(node: ModuleDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined): ModuleDeclaration;
11953
+ /**
11954
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11955
+ * `null` to the `decorators` parameter so that a future update can introduce
11956
+ * an overload that removes the parameter entirely.
11957
+ */
11958
+ createImportEqualsDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: string | Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
11959
+ /**
11960
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11961
+ * `null` to the `decorators` parameter so that a future update can introduce
11962
+ * an overload that removes the parameter entirely.
11963
+ */
11964
+ updateImportEqualsDeclaration(node: ImportEqualsDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
11965
+ /**
11966
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11967
+ * `null` to the `decorators` parameter so that a future update can introduce
11968
+ * an overload that removes the parameter entirely.
11969
+ */
11970
+ createImportDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause?: AssertClause): ImportDeclaration;
11971
+ /**
11972
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11973
+ * `null` to the `decorators` parameter so that a future update can introduce
11974
+ * an overload that removes the parameter entirely.
11975
+ */
11976
+ updateImportDeclaration(node: ImportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration;
11977
+ /**
11978
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11979
+ * `null` to the `decorators` parameter so that a future update can introduce
11980
+ * an overload that removes the parameter entirely.
11981
+ */
11982
+ createExportAssignment(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression): ExportAssignment;
11983
+ /**
11984
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11985
+ * `null` to the `decorators` parameter so that a future update can introduce
11986
+ * an overload that removes the parameter entirely.
11987
+ */
11988
+ updateExportAssignment(node: ExportAssignment, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, expression: Expression): ExportAssignment;
11989
+ /**
11990
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11991
+ * `null` to the `decorators` parameter so that a future update can introduce
11992
+ * an overload that removes the parameter entirely.
11993
+ */
11994
+ createExportDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression, assertClause?: AssertClause): ExportDeclaration;
11995
+ /**
11996
+ * @deprecated Decorators have been combined with modifiers. Callers should pass
11997
+ * `null` to the `decorators` parameter so that a future update can introduce
11998
+ * an overload that removes the parameter entirely.
11999
+ */
12000
+ updateExportDeclaration(node: ExportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier: Expression | undefined, assertClause: AssertClause | undefined): ExportDeclaration;
12001
+ }
12002
+ }
11602
12003
 
11603
12004
  export = ts;
11604
12005
  export as namespace ts;