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.
@@ -7912,9 +7912,27 @@ declare namespace ts {
7912
7912
  }
7913
7913
  declare namespace ts {
7914
7914
  interface Node {
7915
- /** @deprecated `decorators` has been merged with `modifiers` on the declarations that support decorators. */
7916
- readonly decorators?: NodeArray<Decorator> | undefined;
7917
- /** @deprecated `modifiers` has been removed from `Node` and moved to the specific `Node` subtypes that support them. */
7915
+ /**
7916
+ * @deprecated `decorators` has been removed from `Node` and merged with `modifiers` on the `Node` subtypes that support them.
7917
+ * Use `ts.canHaveDecorators()` to test whether a `Node` can have decorators.
7918
+ * Use `ts.getDecorators()` to get the decorators of a `Node`.
7919
+ *
7920
+ * For example:
7921
+ * ```ts
7922
+ * const decorators = ts.canHaveDecorators(node) ? ts.getDecorators(node) : undefined;
7923
+ * ```
7924
+ */
7925
+ readonly decorators?: undefined;
7926
+ /**
7927
+ * @deprecated `modifiers` has been removed from `Node` and moved to the `Node` subtypes that support them.
7928
+ * Use `ts.canHaveModifiers()` to test whether a `Node` can have modifiers.
7929
+ * Use `ts.getModifiers()` to get the modifiers of a `Node`.
7930
+ *
7931
+ * For example:
7932
+ * ```ts
7933
+ * const modifiers = ts.canHaveModifiers(node) ? ts.getModifiers(node) : undefined;
7934
+ * ```
7935
+ */
7918
7936
  readonly modifiers?: NodeArray<ModifierLike> | undefined;
7919
7937
  }
7920
7938
  interface PropertySignature {
@@ -7941,231 +7959,155 @@ declare namespace ts {
7941
7959
  }
7942
7960
  interface NodeFactory {
7943
7961
  /**
7944
- * @deprecated Decorators have been combined with modifiers. Callers should pass
7945
- * `null` to the `decorators` parameter so that a future update can introduce
7946
- * an overload that removes the parameter entirely.
7962
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
7947
7963
  */
7948
7964
  createParameterDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken?: QuestionToken, type?: TypeNode, initializer?: Expression): ParameterDeclaration;
7949
7965
  /**
7950
- * @deprecated Decorators have been combined with modifiers. Callers should pass
7951
- * `null` to the `decorators` parameter so that a future update can introduce
7952
- * an overload that removes the parameter entirely.
7966
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
7953
7967
  */
7954
7968
  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;
7955
7969
  /**
7956
- * @deprecated Decorators have been combined with modifiers. Callers should pass
7957
- * `null` to the `decorators` parameter so that a future update can introduce
7958
- * an overload that removes the parameter entirely.
7970
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
7959
7971
  */
7960
7972
  createPropertyDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, questionOrExclamationToken: QuestionToken | ExclamationToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): PropertyDeclaration;
7961
7973
  /**
7962
- * @deprecated Decorators have been combined with modifiers. Callers should pass
7963
- * `null` to the `decorators` parameter so that a future update can introduce
7964
- * an overload that removes the parameter entirely.
7974
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
7965
7975
  */
7966
7976
  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;
7967
7977
  /**
7968
- * @deprecated Decorators have been combined with modifiers. Callers should pass
7969
- * `null` to the `decorators` parameter so that a future update can introduce
7970
- * an overload that removes the parameter entirely.
7978
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
7971
7979
  */
7972
7980
  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;
7973
7981
  /**
7974
- * @deprecated Decorators have been combined with modifiers. Callers should pass
7975
- * `null` to the `decorators` parameter so that a future update can introduce
7976
- * an overload that removes the parameter entirely.
7982
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
7977
7983
  */
7978
7984
  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;
7979
7985
  /**
7980
- * @deprecated Decorators have been combined with modifiers. Callers should pass
7981
- * `null` to the `decorators` parameter so that a future update can introduce
7982
- * an overload that removes the parameter entirely.
7986
+ * @deprecated This node does not support Decorators. Callers should use an overload that does not accept a `decorators` parameter.
7983
7987
  */
7984
7988
  createConstructorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
7985
7989
  /**
7986
- * @deprecated Decorators have been combined with modifiers. Callers should pass
7987
- * `null` to the `decorators` parameter so that a future update can introduce
7988
- * an overload that removes the parameter entirely.
7990
+ * @deprecated This node does not support Decorators. Callers should use an overload that does not accept a `decorators` parameter.
7989
7991
  */
7990
7992
  updateConstructorDeclaration(node: ConstructorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], body: Block | undefined): ConstructorDeclaration;
7991
7993
  /**
7992
- * @deprecated Decorators have been combined with modifiers. Callers should pass
7993
- * `null` to the `decorators` parameter so that a future update can introduce
7994
- * an overload that removes the parameter entirely.
7994
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
7995
7995
  */
7996
7996
  createGetAccessorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
7997
7997
  /**
7998
- * @deprecated Decorators have been combined with modifiers. Callers should pass
7999
- * `null` to the `decorators` parameter so that a future update can introduce
8000
- * an overload that removes the parameter entirely.
7998
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8001
7999
  */
8002
8000
  updateGetAccessorDeclaration(node: GetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], type: TypeNode | undefined, body: Block | undefined): GetAccessorDeclaration;
8003
8001
  /**
8004
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8005
- * `null` to the `decorators` parameter so that a future update can introduce
8006
- * an overload that removes the parameter entirely.
8002
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8007
8003
  */
8008
8004
  createSetAccessorDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
8009
8005
  /**
8010
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8011
- * `null` to the `decorators` parameter so that a future update can introduce
8012
- * an overload that removes the parameter entirely.
8006
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8013
8007
  */
8014
8008
  updateSetAccessorDeclaration(node: SetAccessorDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: PropertyName, parameters: readonly ParameterDeclaration[], body: Block | undefined): SetAccessorDeclaration;
8015
8009
  /**
8016
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8017
- * `null` to the `decorators` parameter so that a future update can introduce
8018
- * an overload that removes the parameter entirely.
8010
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8019
8011
  */
8020
8012
  createIndexSignature(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
8021
8013
  /**
8022
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8023
- * `null` to the `decorators` parameter so that a future update can introduce
8024
- * an overload that removes the parameter entirely.
8014
+ * @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.
8025
8015
  */
8026
8016
  updateIndexSignature(node: IndexSignatureDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, parameters: readonly ParameterDeclaration[], type: TypeNode): IndexSignatureDeclaration;
8027
8017
  /**
8028
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8029
- * `null` to the `decorators` parameter so that a future update can introduce
8030
- * an overload that removes the parameter entirely.
8018
+ * @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.
8031
8019
  */
8032
8020
  createClassStaticBlockDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, body: Block): ClassStaticBlockDeclaration;
8033
8021
  /**
8034
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8035
- * `null` to the `decorators` parameter so that a future update can introduce
8036
- * an overload that removes the parameter entirely.
8022
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8037
8023
  */
8038
8024
  updateClassStaticBlockDeclaration(node: ClassStaticBlockDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, body: Block): ClassStaticBlockDeclaration;
8039
8025
  /**
8040
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8041
- * `null` to the `decorators` parameter so that a future update can introduce
8042
- * an overload that removes the parameter entirely.
8026
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8043
8027
  */
8044
8028
  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;
8045
8029
  /**
8046
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8047
- * `null` to the `decorators` parameter so that a future update can introduce
8048
- * an overload that removes the parameter entirely.
8030
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8049
8031
  */
8050
8032
  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;
8051
8033
  /**
8052
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8053
- * `null` to the `decorators` parameter so that a future update can introduce
8054
- * an overload that removes the parameter entirely.
8034
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8055
8035
  */
8056
8036
  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;
8057
8037
  /**
8058
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8059
- * `null` to the `decorators` parameter so that a future update can introduce
8060
- * an overload that removes the parameter entirely.
8038
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8061
8039
  */
8062
8040
  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;
8063
8041
  /**
8064
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8065
- * `null` to the `decorators` parameter so that a future update can introduce
8066
- * an overload that removes the parameter entirely.
8042
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8067
8043
  */
8068
8044
  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;
8069
8045
  /**
8070
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8071
- * `null` to the `decorators` parameter so that a future update can introduce
8072
- * an overload that removes the parameter entirely.
8046
+ * @deprecated Decorators have been combined with modifiers. Callers should use an overload that does not accept a `decorators` parameter.
8073
8047
  */
8074
8048
  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;
8075
8049
  /**
8076
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8077
- * `null` to the `decorators` parameter so that a future update can introduce
8078
- * an overload that removes the parameter entirely.
8050
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8079
8051
  */
8080
8052
  createInterfaceDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, heritageClauses: readonly HeritageClause[] | undefined, members: readonly TypeElement[]): InterfaceDeclaration;
8081
8053
  /**
8082
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8083
- * `null` to the `decorators` parameter so that a future update can introduce
8084
- * an overload that removes the parameter entirely.
8054
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8085
8055
  */
8086
8056
  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;
8087
8057
  /**
8088
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8089
- * `null` to the `decorators` parameter so that a future update can introduce
8090
- * an overload that removes the parameter entirely.
8058
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8091
8059
  */
8092
8060
  createTypeAliasDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
8093
8061
  /**
8094
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8095
- * `null` to the `decorators` parameter so that a future update can introduce
8096
- * an overload that removes the parameter entirely.
8062
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8097
8063
  */
8098
8064
  updateTypeAliasDeclaration(node: TypeAliasDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, typeParameters: readonly TypeParameterDeclaration[] | undefined, type: TypeNode): TypeAliasDeclaration;
8099
8065
  /**
8100
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8101
- * `null` to the `decorators` parameter so that a future update can introduce
8102
- * an overload that removes the parameter entirely.
8066
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8103
8067
  */
8104
8068
  createEnumDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: string | Identifier, members: readonly EnumMember[]): EnumDeclaration;
8105
8069
  /**
8106
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8107
- * `null` to the `decorators` parameter so that a future update can introduce
8108
- * an overload that removes the parameter entirely.
8070
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8109
8071
  */
8110
8072
  updateEnumDeclaration(node: EnumDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: Identifier, members: readonly EnumMember[]): EnumDeclaration;
8111
8073
  /**
8112
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8113
- * `null` to the `decorators` parameter so that a future update can introduce
8114
- * an overload that removes the parameter entirely.
8074
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8115
8075
  */
8116
8076
  createModuleDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined, flags?: NodeFlags): ModuleDeclaration;
8117
8077
  /**
8118
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8119
- * `null` to the `decorators` parameter so that a future update can introduce
8120
- * an overload that removes the parameter entirely.
8078
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8121
8079
  */
8122
8080
  updateModuleDeclaration(node: ModuleDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, name: ModuleName, body: ModuleBody | undefined): ModuleDeclaration;
8123
8081
  /**
8124
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8125
- * `null` to the `decorators` parameter so that a future update can introduce
8126
- * an overload that removes the parameter entirely.
8082
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8127
8083
  */
8128
8084
  createImportEqualsDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: string | Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
8129
8085
  /**
8130
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8131
- * `null` to the `decorators` parameter so that a future update can introduce
8132
- * an overload that removes the parameter entirely.
8086
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8133
8087
  */
8134
8088
  updateImportEqualsDeclaration(node: ImportEqualsDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, name: Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
8135
8089
  /**
8136
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8137
- * `null` to the `decorators` parameter so that a future update can introduce
8138
- * an overload that removes the parameter entirely.
8090
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8139
8091
  */
8140
8092
  createImportDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause?: AssertClause): ImportDeclaration;
8141
8093
  /**
8142
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8143
- * `null` to the `decorators` parameter so that a future update can introduce
8144
- * an overload that removes the parameter entirely.
8094
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8145
8095
  */
8146
8096
  updateImportDeclaration(node: ImportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, assertClause: AssertClause | undefined): ImportDeclaration;
8147
8097
  /**
8148
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8149
- * `null` to the `decorators` parameter so that a future update can introduce
8150
- * an overload that removes the parameter entirely.
8098
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8151
8099
  */
8152
8100
  createExportAssignment(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isExportEquals: boolean | undefined, expression: Expression): ExportAssignment;
8153
8101
  /**
8154
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8155
- * `null` to the `decorators` parameter so that a future update can introduce
8156
- * an overload that removes the parameter entirely.
8102
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8157
8103
  */
8158
8104
  updateExportAssignment(node: ExportAssignment, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, expression: Expression): ExportAssignment;
8159
8105
  /**
8160
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8161
- * `null` to the `decorators` parameter so that a future update can introduce
8162
- * an overload that removes the parameter entirely.
8106
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8163
8107
  */
8164
8108
  createExportDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier?: Expression, assertClause?: AssertClause): ExportDeclaration;
8165
8109
  /**
8166
- * @deprecated Decorators have been combined with modifiers. Callers should pass
8167
- * `null` to the `decorators` parameter so that a future update can introduce
8168
- * an overload that removes the parameter entirely.
8110
+ * @deprecated Decorators are no longer supported for this function. Callers should use an overload that does not accept a `decorators` parameter.
8169
8111
  */
8170
8112
  updateExportDeclaration(node: ExportDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, isTypeOnly: boolean, exportClause: NamedExportBindings | undefined, moduleSpecifier: Expression | undefined, assertClause: AssertClause | undefined): ExportDeclaration;
8171
8113
  }