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