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