typescript 4.9.0-dev.20220817 → 4.9.0-dev.20220820

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.
@@ -11780,9 +11780,27 @@ declare namespace ts {
11780
11780
  }
11781
11781
  declare namespace ts {
11782
11782
  interface Node {
11783
- /** @deprecated `decorators` has been merged with `modifiers` on the declarations that support decorators. */
11784
- readonly decorators?: NodeArray<Decorator> | undefined;
11785
- /** @deprecated `modifiers` has been removed from `Node` and moved to the specific `Node` subtypes that support them. */
11783
+ /**
11784
+ * @deprecated `decorators` has been removed from `Node` and merged with `modifiers` on the `Node` subtypes that support them.
11785
+ * Use `ts.canHaveDecorators()` to test whether a `Node` can have decorators.
11786
+ * Use `ts.getDecorators()` to get the decorators of a `Node`.
11787
+ *
11788
+ * For example:
11789
+ * ```ts
11790
+ * const decorators = ts.canHaveDecorators(node) ? ts.getDecorators(node) : undefined;
11791
+ * ```
11792
+ */
11793
+ readonly decorators?: undefined;
11794
+ /**
11795
+ * @deprecated `modifiers` has been removed from `Node` and moved to the `Node` subtypes that support them.
11796
+ * Use `ts.canHaveModifiers()` to test whether a `Node` can have modifiers.
11797
+ * Use `ts.getModifiers()` to get the modifiers of a `Node`.
11798
+ *
11799
+ * For example:
11800
+ * ```ts
11801
+ * const modifiers = ts.canHaveModifiers(node) ? ts.getModifiers(node) : undefined;
11802
+ * ```
11803
+ */
11786
11804
  readonly modifiers?: NodeArray<ModifierLike> | undefined;
11787
11805
  }
11788
11806
  interface PropertySignature {
@@ -11809,231 +11827,155 @@ declare namespace ts {
11809
11827
  }
11810
11828
  interface NodeFactory {
11811
11829
  /**
11812
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11813
- * `null` to the `decorators` parameter so that a future update can introduce
11814
- * an overload that removes the parameter entirely.
11830
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
11815
11831
  */
11816
11832
  createParameterDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken?: QuestionToken, type?: TypeNode, initializer?: Expression): ParameterDeclaration;
11817
11833
  /**
11818
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11819
- * `null` to the `decorators` parameter so that a future update can introduce
11820
- * an overload that removes the parameter entirely.
11834
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
11821
11835
  */
11822
11836
  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;
11823
11837
  /**
11824
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11825
- * `null` to the `decorators` parameter so that a future update can introduce
11826
- * an overload that removes the parameter entirely.
11838
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
11827
11839
  */
11828
11840
  createPropertyDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): PropertyDeclaration;
11829
11841
  /**
11830
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11831
- * `null` to the `decorators` parameter so that a future update can introduce
11832
- * an overload that removes the parameter entirely.
11842
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
11833
11843
  */
11834
11844
  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;
11835
11845
  /**
11836
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11837
- * `null` to the `decorators` parameter so that a future update can introduce
11838
- * an overload that removes the parameter entirely.
11846
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
11839
11847
  */
11840
11848
  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;
11841
11849
  /**
11842
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11843
- * `null` to the `decorators` parameter so that a future update can introduce
11844
- * an overload that removes the parameter entirely.
11850
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
11845
11851
  */
11846
11852
  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;
11847
11853
  /**
11848
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11849
- * `null` to the `decorators` parameter so that a future update can introduce
11850
- * an overload that removes the parameter entirely.
11854
+ * @deprecated This node does not support Decorators. Callers should use an overload that does not accept a `decorators` parameter.
11851
11855
  */
11852
11856
  createConstructorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
11853
11857
  /**
11854
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11855
- * `null` to the `decorators` parameter so that a future update can introduce
11856
- * an overload that removes the parameter entirely.
11858
+ * @deprecated This node does not support Decorators. Callers should use an overload that does not accept a `decorators` parameter.
11857
11859
  */
11858
11860
  updateConstructorDeclaration(node: ConstructorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
11859
11861
  /**
11860
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11861
- * `null` to the `decorators` parameter so that a future update can introduce
11862
- * an overload that removes the parameter entirely.
11862
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
11863
11863
  */
11864
11864
  createGetAccessorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
11865
11865
  /**
11866
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11867
- * `null` to the `decorators` parameter so that a future update can introduce
11868
- * an overload that removes the parameter entirely.
11866
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
11869
11867
  */
11870
11868
  updateGetAccessorDeclaration(node: GetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
11871
11869
  /**
11872
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11873
- * `null` to the `decorators` parameter so that a future update can introduce
11874
- * an overload that removes the parameter entirely.
11870
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
11875
11871
  */
11876
11872
  createSetAccessorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
11877
11873
  /**
11878
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11879
- * `null` to the `decorators` parameter so that a future update can introduce
11880
- * an overload that removes the parameter entirely.
11874
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
11881
11875
  */
11882
11876
  updateSetAccessorDeclaration(node: SetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
11883
11877
  /**
11884
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11885
- * `null` to the `decorators` parameter so that a future update can introduce
11886
- * an overload that removes the parameter entirely.
11878
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
11887
11879
  */
11888
11880
  createIndexSignature(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
11889
11881
  /**
11890
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11891
- * `null` to the `decorators` parameter so that a future update can introduce
11892
- * an overload that removes the parameter entirely.
11882
+ * @deprecated Decorators and modifiers are no longer supported for this function. Callers should use an overload that does not accept the `decorators` and `modifiers` parameters.
11893
11883
  */
11894
11884
  updateIndexSignature(node: IndexSignatureDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
11895
11885
  /**
11896
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11897
- * `null` to the `decorators` parameter so that a future update can introduce
11898
- * an overload that removes the parameter entirely.
11886
+ * @deprecated Decorators and modifiers are no longer supported for this function. Callers should use an overload that does not accept the `decorators` and `modifiers` parameters.
11899
11887
  */
11900
11888
  createClassStaticBlockDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, body: Block): ClassStaticBlockDeclaration;
11901
11889
  /**
11902
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11903
- * `null` to the `decorators` parameter so that a future update can introduce
11904
- * an overload that removes the parameter entirely.
11890
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
11905
11891
  */
11906
11892
  updateClassStaticBlockDeclaration(node: ClassStaticBlockDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, body: Block): ClassStaticBlockDeclaration;
11907
11893
  /**
11908
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11909
- * `null` to the `decorators` parameter so that a future update can introduce
11910
- * an overload that removes the parameter entirely.
11894
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
11911
11895
  */
11912
11896
  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;
11913
11897
  /**
11914
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11915
- * `null` to the `decorators` parameter so that a future update can introduce
11916
- * an overload that removes the parameter entirely.
11898
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
11917
11899
  */
11918
11900
  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;
11919
11901
  /**
11920
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11921
- * `null` to the `decorators` parameter so that a future update can introduce
11922
- * an overload that removes the parameter entirely.
11902
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
11923
11903
  */
11924
11904
  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;
11925
11905
  /**
11926
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11927
- * `null` to the `decorators` parameter so that a future update can introduce
11928
- * an overload that removes the parameter entirely.
11906
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
11929
11907
  */
11930
11908
  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;
11931
11909
  /**
11932
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11933
- * `null` to the `decorators` parameter so that a future update can introduce
11934
- * an overload that removes the parameter entirely.
11910
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
11935
11911
  */
11936
11912
  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;
11937
11913
  /**
11938
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11939
- * `null` to the `decorators` parameter so that a future update can introduce
11940
- * an overload that removes the parameter entirely.
11914
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
11941
11915
  */
11942
11916
  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;
11943
11917
  /**
11944
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11945
- * `null` to the `decorators` parameter so that a future update can introduce
11946
- * an overload that removes the parameter entirely.
11918
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
11947
11919
  */
11948
11920
  createInterfaceDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
11949
11921
  /**
11950
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11951
- * `null` to the `decorators` parameter so that a future update can introduce
11952
- * an overload that removes the parameter entirely.
11922
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
11953
11923
  */
11954
11924
  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;
11955
11925
  /**
11956
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11957
- * `null` to the `decorators` parameter so that a future update can introduce
11958
- * an overload that removes the parameter entirely.
11926
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
11959
11927
  */
11960
11928
  createTypeAliasDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
11961
11929
  /**
11962
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11963
- * `null` to the `decorators` parameter so that a future update can introduce
11964
- * an overload that removes the parameter entirely.
11930
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
11965
11931
  */
11966
11932
  updateTypeAliasDeclaration(node: TypeAliasDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
11967
11933
  /**
11968
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11969
- * `null` to the `decorators` parameter so that a future update can introduce
11970
- * an overload that removes the parameter entirely.
11934
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
11971
11935
  */
11972
11936
  createEnumDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, members: readonly EnumMember[]): EnumDeclaration;
11973
11937
  /**
11974
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11975
- * `null` to the `decorators` parameter so that a future update can introduce
11976
- * an overload that removes the parameter entirely.
11938
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
11977
11939
  */
11978
11940
  updateEnumDeclaration(node: EnumDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, members: readonly EnumMember[]): EnumDeclaration;
11979
11941
  /**
11980
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11981
- * `null` to the `decorators` parameter so that a future update can introduce
11982
- * an overload that removes the parameter entirely.
11942
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
11983
11943
  */
11984
11944
  createModuleDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined, flags?: NodeFlags): ModuleDeclaration;
11985
11945
  /**
11986
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11987
- * `null` to the `decorators` parameter so that a future update can introduce
11988
- * an overload that removes the parameter entirely.
11946
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
11989
11947
  */
11990
11948
  updateModuleDeclaration(node: ModuleDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined): ModuleDeclaration;
11991
11949
  /**
11992
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11993
- * `null` to the `decorators` parameter so that a future update can introduce
11994
- * an overload that removes the parameter entirely.
11950
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
11995
11951
  */
11996
11952
  createImportEqualsDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: string | Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
11997
11953
  /**
11998
- * @deprecated Decorators have been combined with modifiers. Callers should pass
11999
- * `null` to the `decorators` parameter so that a future update can introduce
12000
- * an overload that removes the parameter entirely.
11954
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
12001
11955
  */
12002
11956
  updateImportEqualsDeclaration(node: ImportEqualsDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
12003
11957
  /**
12004
- * @deprecated Decorators have been combined with modifiers. Callers should pass
12005
- * `null` to the `decorators` parameter so that a future update can introduce
12006
- * an overload that removes the parameter entirely.
11958
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
12007
11959
  */
12008
11960
  createImportDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause?: AssertClause): ImportDeclaration;
12009
11961
  /**
12010
- * @deprecated Decorators have been combined with modifiers. Callers should pass
12011
- * `null` to the `decorators` parameter so that a future update can introduce
12012
- * an overload that removes the parameter entirely.
11962
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
12013
11963
  */
12014
11964
  updateImportDeclaration(node: ImportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration;
12015
11965
  /**
12016
- * @deprecated Decorators have been combined with modifiers. Callers should pass
12017
- * `null` to the `decorators` parameter so that a future update can introduce
12018
- * an overload that removes the parameter entirely.
11966
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
12019
11967
  */
12020
11968
  createExportAssignment(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression): ExportAssignment;
12021
11969
  /**
12022
- * @deprecated Decorators have been combined with modifiers. Callers should pass
12023
- * `null` to the `decorators` parameter so that a future update can introduce
12024
- * an overload that removes the parameter entirely.
11970
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
12025
11971
  */
12026
11972
  updateExportAssignment(node: ExportAssignment, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, expression: Expression): ExportAssignment;
12027
11973
  /**
12028
- * @deprecated Decorators have been combined with modifiers. Callers should pass
12029
- * `null` to the `decorators` parameter so that a future update can introduce
12030
- * an overload that removes the parameter entirely.
11974
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
12031
11975
  */
12032
11976
  createExportDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression, assertClause?: AssertClause): ExportDeclaration;
12033
11977
  /**
12034
- * @deprecated Decorators have been combined with modifiers. Callers should pass
12035
- * `null` to the `decorators` parameter so that a future update can introduce
12036
- * an overload that removes the parameter entirely.
11978
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
12037
11979
  */
12038
11980
  updateExportDeclaration(node: ExportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier: Expression | undefined, assertClause: AssertClause | undefined): ExportDeclaration;
12039
11981
  }