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