@typescript-deploys/pr-build 5.9.0-pr-61746-2 → 5.9.0-pr-61683-9
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/_tsc.js +5705 -5500
- package/lib/cs/diagnosticMessages.generated.json +1 -1
- package/lib/de/diagnosticMessages.generated.json +1 -1
- package/lib/es/diagnosticMessages.generated.json +1 -1
- package/lib/fr/diagnosticMessages.generated.json +1 -1
- package/lib/it/diagnosticMessages.generated.json +1 -1
- package/lib/ja/diagnosticMessages.generated.json +1 -1
- package/lib/ko/diagnosticMessages.generated.json +1 -1
- package/lib/lib.esnext.d.ts +2 -0
- package/lib/lib.esnext.error.d.ts +24 -0
- package/lib/lib.esnext.sharedmemory.d.ts +25 -0
- package/lib/pl/diagnosticMessages.generated.json +1 -1
- package/lib/pt-br/diagnosticMessages.generated.json +1 -1
- package/lib/ru/diagnosticMessages.generated.json +1 -1
- package/lib/tr/diagnosticMessages.generated.json +1 -1
- package/lib/typescript.d.ts +226 -211
- package/lib/typescript.js +7696 -7500
- package/lib/zh-cn/diagnosticMessages.generated.json +1 -1
- package/lib/zh-tw/diagnosticMessages.generated.json +1 -1
- package/package.json +1 -1
package/lib/typescript.d.ts
CHANGED
|
@@ -2520,6 +2520,7 @@ declare namespace ts {
|
|
|
2520
2520
|
ESNext = "esnext",
|
|
2521
2521
|
Node16 = "node16",
|
|
2522
2522
|
Node18 = "node18",
|
|
2523
|
+
Node20 = "node20",
|
|
2523
2524
|
NodeNext = "nodenext",
|
|
2524
2525
|
Preserve = "preserve",
|
|
2525
2526
|
}
|
|
@@ -3841,203 +3842,204 @@ declare namespace ts {
|
|
|
3841
3842
|
BigIntKeyword = 163,
|
|
3842
3843
|
OverrideKeyword = 164,
|
|
3843
3844
|
OfKeyword = 165,
|
|
3844
|
-
|
|
3845
|
-
|
|
3846
|
-
|
|
3847
|
-
|
|
3848
|
-
|
|
3849
|
-
|
|
3850
|
-
|
|
3851
|
-
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
|
|
3858
|
-
|
|
3859
|
-
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
|
|
3870
|
-
|
|
3871
|
-
|
|
3872
|
-
|
|
3873
|
-
|
|
3874
|
-
|
|
3875
|
-
|
|
3876
|
-
|
|
3877
|
-
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
|
|
3881
|
-
|
|
3882
|
-
|
|
3883
|
-
|
|
3884
|
-
|
|
3885
|
-
|
|
3886
|
-
|
|
3887
|
-
|
|
3888
|
-
|
|
3889
|
-
|
|
3890
|
-
|
|
3891
|
-
|
|
3892
|
-
|
|
3893
|
-
|
|
3894
|
-
|
|
3895
|
-
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
|
|
3900
|
-
|
|
3901
|
-
|
|
3902
|
-
|
|
3903
|
-
|
|
3904
|
-
|
|
3905
|
-
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
|
|
3909
|
-
|
|
3910
|
-
|
|
3911
|
-
|
|
3912
|
-
|
|
3913
|
-
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
|
|
3917
|
-
|
|
3918
|
-
|
|
3919
|
-
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3923
|
-
|
|
3924
|
-
|
|
3925
|
-
|
|
3926
|
-
|
|
3927
|
-
|
|
3928
|
-
|
|
3929
|
-
|
|
3930
|
-
|
|
3931
|
-
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3935
|
-
|
|
3936
|
-
|
|
3937
|
-
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3943
|
-
|
|
3944
|
-
|
|
3945
|
-
|
|
3946
|
-
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
|
|
3950
|
-
|
|
3951
|
-
|
|
3952
|
-
|
|
3953
|
-
|
|
3954
|
-
|
|
3955
|
-
|
|
3956
|
-
|
|
3957
|
-
|
|
3958
|
-
|
|
3959
|
-
|
|
3960
|
-
|
|
3961
|
-
|
|
3962
|
-
|
|
3963
|
-
|
|
3964
|
-
|
|
3965
|
-
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
|
|
3969
|
-
|
|
3970
|
-
|
|
3971
|
-
|
|
3972
|
-
|
|
3973
|
-
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
|
|
3980
|
-
|
|
3981
|
-
/** @deprecated */
|
|
3982
|
-
/** @deprecated */
|
|
3983
|
-
|
|
3984
|
-
|
|
3985
|
-
|
|
3986
|
-
|
|
3987
|
-
|
|
3988
|
-
|
|
3989
|
-
|
|
3990
|
-
|
|
3991
|
-
|
|
3992
|
-
|
|
3993
|
-
|
|
3994
|
-
|
|
3995
|
-
|
|
3996
|
-
|
|
3997
|
-
|
|
3998
|
-
|
|
3999
|
-
|
|
4000
|
-
|
|
3845
|
+
DeferKeyword = 166,
|
|
3846
|
+
QualifiedName = 167,
|
|
3847
|
+
ComputedPropertyName = 168,
|
|
3848
|
+
TypeParameter = 169,
|
|
3849
|
+
Parameter = 170,
|
|
3850
|
+
Decorator = 171,
|
|
3851
|
+
PropertySignature = 172,
|
|
3852
|
+
PropertyDeclaration = 173,
|
|
3853
|
+
MethodSignature = 174,
|
|
3854
|
+
MethodDeclaration = 175,
|
|
3855
|
+
ClassStaticBlockDeclaration = 176,
|
|
3856
|
+
Constructor = 177,
|
|
3857
|
+
GetAccessor = 178,
|
|
3858
|
+
SetAccessor = 179,
|
|
3859
|
+
CallSignature = 180,
|
|
3860
|
+
ConstructSignature = 181,
|
|
3861
|
+
IndexSignature = 182,
|
|
3862
|
+
TypePredicate = 183,
|
|
3863
|
+
TypeReference = 184,
|
|
3864
|
+
FunctionType = 185,
|
|
3865
|
+
ConstructorType = 186,
|
|
3866
|
+
TypeQuery = 187,
|
|
3867
|
+
TypeLiteral = 188,
|
|
3868
|
+
ArrayType = 189,
|
|
3869
|
+
TupleType = 190,
|
|
3870
|
+
OptionalType = 191,
|
|
3871
|
+
RestType = 192,
|
|
3872
|
+
UnionType = 193,
|
|
3873
|
+
IntersectionType = 194,
|
|
3874
|
+
ConditionalType = 195,
|
|
3875
|
+
InferType = 196,
|
|
3876
|
+
ParenthesizedType = 197,
|
|
3877
|
+
ThisType = 198,
|
|
3878
|
+
TypeOperator = 199,
|
|
3879
|
+
IndexedAccessType = 200,
|
|
3880
|
+
MappedType = 201,
|
|
3881
|
+
LiteralType = 202,
|
|
3882
|
+
NamedTupleMember = 203,
|
|
3883
|
+
TemplateLiteralType = 204,
|
|
3884
|
+
TemplateLiteralTypeSpan = 205,
|
|
3885
|
+
ImportType = 206,
|
|
3886
|
+
ObjectBindingPattern = 207,
|
|
3887
|
+
ArrayBindingPattern = 208,
|
|
3888
|
+
BindingElement = 209,
|
|
3889
|
+
ArrayLiteralExpression = 210,
|
|
3890
|
+
ObjectLiteralExpression = 211,
|
|
3891
|
+
PropertyAccessExpression = 212,
|
|
3892
|
+
ElementAccessExpression = 213,
|
|
3893
|
+
CallExpression = 214,
|
|
3894
|
+
NewExpression = 215,
|
|
3895
|
+
TaggedTemplateExpression = 216,
|
|
3896
|
+
TypeAssertionExpression = 217,
|
|
3897
|
+
ParenthesizedExpression = 218,
|
|
3898
|
+
FunctionExpression = 219,
|
|
3899
|
+
ArrowFunction = 220,
|
|
3900
|
+
DeleteExpression = 221,
|
|
3901
|
+
TypeOfExpression = 222,
|
|
3902
|
+
VoidExpression = 223,
|
|
3903
|
+
AwaitExpression = 224,
|
|
3904
|
+
PrefixUnaryExpression = 225,
|
|
3905
|
+
PostfixUnaryExpression = 226,
|
|
3906
|
+
BinaryExpression = 227,
|
|
3907
|
+
ConditionalExpression = 228,
|
|
3908
|
+
TemplateExpression = 229,
|
|
3909
|
+
YieldExpression = 230,
|
|
3910
|
+
SpreadElement = 231,
|
|
3911
|
+
ClassExpression = 232,
|
|
3912
|
+
OmittedExpression = 233,
|
|
3913
|
+
ExpressionWithTypeArguments = 234,
|
|
3914
|
+
AsExpression = 235,
|
|
3915
|
+
NonNullExpression = 236,
|
|
3916
|
+
MetaProperty = 237,
|
|
3917
|
+
SyntheticExpression = 238,
|
|
3918
|
+
SatisfiesExpression = 239,
|
|
3919
|
+
TemplateSpan = 240,
|
|
3920
|
+
SemicolonClassElement = 241,
|
|
3921
|
+
Block = 242,
|
|
3922
|
+
EmptyStatement = 243,
|
|
3923
|
+
VariableStatement = 244,
|
|
3924
|
+
ExpressionStatement = 245,
|
|
3925
|
+
IfStatement = 246,
|
|
3926
|
+
DoStatement = 247,
|
|
3927
|
+
WhileStatement = 248,
|
|
3928
|
+
ForStatement = 249,
|
|
3929
|
+
ForInStatement = 250,
|
|
3930
|
+
ForOfStatement = 251,
|
|
3931
|
+
ContinueStatement = 252,
|
|
3932
|
+
BreakStatement = 253,
|
|
3933
|
+
ReturnStatement = 254,
|
|
3934
|
+
WithStatement = 255,
|
|
3935
|
+
SwitchStatement = 256,
|
|
3936
|
+
LabeledStatement = 257,
|
|
3937
|
+
ThrowStatement = 258,
|
|
3938
|
+
TryStatement = 259,
|
|
3939
|
+
DebuggerStatement = 260,
|
|
3940
|
+
VariableDeclaration = 261,
|
|
3941
|
+
VariableDeclarationList = 262,
|
|
3942
|
+
FunctionDeclaration = 263,
|
|
3943
|
+
ClassDeclaration = 264,
|
|
3944
|
+
InterfaceDeclaration = 265,
|
|
3945
|
+
TypeAliasDeclaration = 266,
|
|
3946
|
+
EnumDeclaration = 267,
|
|
3947
|
+
ModuleDeclaration = 268,
|
|
3948
|
+
ModuleBlock = 269,
|
|
3949
|
+
CaseBlock = 270,
|
|
3950
|
+
NamespaceExportDeclaration = 271,
|
|
3951
|
+
ImportEqualsDeclaration = 272,
|
|
3952
|
+
ImportDeclaration = 273,
|
|
3953
|
+
ImportClause = 274,
|
|
3954
|
+
NamespaceImport = 275,
|
|
3955
|
+
NamedImports = 276,
|
|
3956
|
+
ImportSpecifier = 277,
|
|
3957
|
+
ExportAssignment = 278,
|
|
3958
|
+
ExportDeclaration = 279,
|
|
3959
|
+
NamedExports = 280,
|
|
3960
|
+
NamespaceExport = 281,
|
|
3961
|
+
ExportSpecifier = 282,
|
|
3962
|
+
MissingDeclaration = 283,
|
|
3963
|
+
ExternalModuleReference = 284,
|
|
3964
|
+
JsxElement = 285,
|
|
3965
|
+
JsxSelfClosingElement = 286,
|
|
3966
|
+
JsxOpeningElement = 287,
|
|
3967
|
+
JsxClosingElement = 288,
|
|
3968
|
+
JsxFragment = 289,
|
|
3969
|
+
JsxOpeningFragment = 290,
|
|
3970
|
+
JsxClosingFragment = 291,
|
|
3971
|
+
JsxAttribute = 292,
|
|
3972
|
+
JsxAttributes = 293,
|
|
3973
|
+
JsxSpreadAttribute = 294,
|
|
3974
|
+
JsxExpression = 295,
|
|
3975
|
+
JsxNamespacedName = 296,
|
|
3976
|
+
CaseClause = 297,
|
|
3977
|
+
DefaultClause = 298,
|
|
3978
|
+
HeritageClause = 299,
|
|
3979
|
+
CatchClause = 300,
|
|
3980
|
+
ImportAttributes = 301,
|
|
3981
|
+
ImportAttribute = 302,
|
|
3982
|
+
/** @deprecated */ AssertClause = 301,
|
|
3983
|
+
/** @deprecated */ AssertEntry = 302,
|
|
3984
|
+
/** @deprecated */ ImportTypeAssertionContainer = 303,
|
|
3985
|
+
PropertyAssignment = 304,
|
|
3986
|
+
ShorthandPropertyAssignment = 305,
|
|
3987
|
+
SpreadAssignment = 306,
|
|
3988
|
+
EnumMember = 307,
|
|
3989
|
+
SourceFile = 308,
|
|
3990
|
+
Bundle = 309,
|
|
3991
|
+
JSDocTypeExpression = 310,
|
|
3992
|
+
JSDocNameReference = 311,
|
|
3993
|
+
JSDocMemberName = 312,
|
|
3994
|
+
JSDocAllType = 313,
|
|
3995
|
+
JSDocUnknownType = 314,
|
|
3996
|
+
JSDocNullableType = 315,
|
|
3997
|
+
JSDocNonNullableType = 316,
|
|
3998
|
+
JSDocOptionalType = 317,
|
|
3999
|
+
JSDocFunctionType = 318,
|
|
4000
|
+
JSDocVariadicType = 319,
|
|
4001
|
+
JSDocNamepathType = 320,
|
|
4002
|
+
JSDoc = 321,
|
|
4001
4003
|
/** @deprecated Use SyntaxKind.JSDoc */
|
|
4002
|
-
JSDocComment =
|
|
4003
|
-
JSDocText =
|
|
4004
|
-
JSDocTypeLiteral =
|
|
4005
|
-
JSDocSignature =
|
|
4006
|
-
JSDocLink =
|
|
4007
|
-
JSDocLinkCode =
|
|
4008
|
-
JSDocLinkPlain =
|
|
4009
|
-
JSDocTag =
|
|
4010
|
-
JSDocAugmentsTag =
|
|
4011
|
-
JSDocImplementsTag =
|
|
4012
|
-
JSDocAuthorTag =
|
|
4013
|
-
JSDocDeprecatedTag =
|
|
4014
|
-
JSDocClassTag =
|
|
4015
|
-
JSDocPublicTag =
|
|
4016
|
-
JSDocPrivateTag =
|
|
4017
|
-
JSDocProtectedTag =
|
|
4018
|
-
JSDocReadonlyTag =
|
|
4019
|
-
JSDocOverrideTag =
|
|
4020
|
-
JSDocCallbackTag =
|
|
4021
|
-
JSDocOverloadTag =
|
|
4022
|
-
JSDocEnumTag =
|
|
4023
|
-
JSDocParameterTag =
|
|
4024
|
-
JSDocReturnTag =
|
|
4025
|
-
JSDocThisTag =
|
|
4026
|
-
JSDocTypeTag =
|
|
4027
|
-
JSDocTemplateTag =
|
|
4028
|
-
JSDocTypedefTag =
|
|
4029
|
-
JSDocSeeTag =
|
|
4030
|
-
JSDocPropertyTag =
|
|
4031
|
-
JSDocThrowsTag =
|
|
4032
|
-
JSDocSatisfiesTag =
|
|
4033
|
-
JSDocImportTag =
|
|
4034
|
-
SyntaxList =
|
|
4035
|
-
NotEmittedStatement =
|
|
4036
|
-
NotEmittedTypeElement =
|
|
4037
|
-
PartiallyEmittedExpression =
|
|
4038
|
-
CommaListExpression =
|
|
4039
|
-
SyntheticReferenceExpression =
|
|
4040
|
-
Count =
|
|
4004
|
+
JSDocComment = 321,
|
|
4005
|
+
JSDocText = 322,
|
|
4006
|
+
JSDocTypeLiteral = 323,
|
|
4007
|
+
JSDocSignature = 324,
|
|
4008
|
+
JSDocLink = 325,
|
|
4009
|
+
JSDocLinkCode = 326,
|
|
4010
|
+
JSDocLinkPlain = 327,
|
|
4011
|
+
JSDocTag = 328,
|
|
4012
|
+
JSDocAugmentsTag = 329,
|
|
4013
|
+
JSDocImplementsTag = 330,
|
|
4014
|
+
JSDocAuthorTag = 331,
|
|
4015
|
+
JSDocDeprecatedTag = 332,
|
|
4016
|
+
JSDocClassTag = 333,
|
|
4017
|
+
JSDocPublicTag = 334,
|
|
4018
|
+
JSDocPrivateTag = 335,
|
|
4019
|
+
JSDocProtectedTag = 336,
|
|
4020
|
+
JSDocReadonlyTag = 337,
|
|
4021
|
+
JSDocOverrideTag = 338,
|
|
4022
|
+
JSDocCallbackTag = 339,
|
|
4023
|
+
JSDocOverloadTag = 340,
|
|
4024
|
+
JSDocEnumTag = 341,
|
|
4025
|
+
JSDocParameterTag = 342,
|
|
4026
|
+
JSDocReturnTag = 343,
|
|
4027
|
+
JSDocThisTag = 344,
|
|
4028
|
+
JSDocTypeTag = 345,
|
|
4029
|
+
JSDocTemplateTag = 346,
|
|
4030
|
+
JSDocTypedefTag = 347,
|
|
4031
|
+
JSDocSeeTag = 348,
|
|
4032
|
+
JSDocPropertyTag = 349,
|
|
4033
|
+
JSDocThrowsTag = 350,
|
|
4034
|
+
JSDocSatisfiesTag = 351,
|
|
4035
|
+
JSDocImportTag = 352,
|
|
4036
|
+
SyntaxList = 353,
|
|
4037
|
+
NotEmittedStatement = 354,
|
|
4038
|
+
NotEmittedTypeElement = 355,
|
|
4039
|
+
PartiallyEmittedExpression = 356,
|
|
4040
|
+
CommaListExpression = 357,
|
|
4041
|
+
SyntheticReferenceExpression = 358,
|
|
4042
|
+
Count = 359,
|
|
4041
4043
|
FirstAssignment = 64,
|
|
4042
4044
|
LastAssignment = 79,
|
|
4043
4045
|
FirstCompoundAssignment = 65,
|
|
@@ -4045,15 +4047,15 @@ declare namespace ts {
|
|
|
4045
4047
|
FirstReservedWord = 83,
|
|
4046
4048
|
LastReservedWord = 118,
|
|
4047
4049
|
FirstKeyword = 83,
|
|
4048
|
-
LastKeyword =
|
|
4050
|
+
LastKeyword = 166,
|
|
4049
4051
|
FirstFutureReservedWord = 119,
|
|
4050
4052
|
LastFutureReservedWord = 127,
|
|
4051
|
-
FirstTypeNode =
|
|
4052
|
-
LastTypeNode =
|
|
4053
|
+
FirstTypeNode = 183,
|
|
4054
|
+
LastTypeNode = 206,
|
|
4053
4055
|
FirstPunctuation = 19,
|
|
4054
4056
|
LastPunctuation = 79,
|
|
4055
4057
|
FirstToken = 0,
|
|
4056
|
-
LastToken =
|
|
4058
|
+
LastToken = 166,
|
|
4057
4059
|
FirstTriviaToken = 2,
|
|
4058
4060
|
LastTriviaToken = 7,
|
|
4059
4061
|
FirstLiteralToken = 9,
|
|
@@ -4062,13 +4064,13 @@ declare namespace ts {
|
|
|
4062
4064
|
LastTemplateToken = 18,
|
|
4063
4065
|
FirstBinaryOperator = 30,
|
|
4064
4066
|
LastBinaryOperator = 79,
|
|
4065
|
-
FirstStatement =
|
|
4066
|
-
LastStatement =
|
|
4067
|
-
FirstNode =
|
|
4068
|
-
FirstJSDocNode =
|
|
4069
|
-
LastJSDocNode =
|
|
4070
|
-
FirstJSDocTagNode =
|
|
4071
|
-
LastJSDocTagNode =
|
|
4067
|
+
FirstStatement = 244,
|
|
4068
|
+
LastStatement = 260,
|
|
4069
|
+
FirstNode = 167,
|
|
4070
|
+
FirstJSDocNode = 310,
|
|
4071
|
+
LastJSDocNode = 352,
|
|
4072
|
+
FirstJSDocTagNode = 328,
|
|
4073
|
+
LastJSDocTagNode = 352,
|
|
4072
4074
|
}
|
|
4073
4075
|
type TriviaSyntaxKind = SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia;
|
|
4074
4076
|
type LiteralSyntaxKind = SyntaxKind.NumericLiteral | SyntaxKind.BigIntLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral;
|
|
@@ -4156,6 +4158,7 @@ declare namespace ts {
|
|
|
4156
4158
|
| SyntaxKind.DebuggerKeyword
|
|
4157
4159
|
| SyntaxKind.DeclareKeyword
|
|
4158
4160
|
| SyntaxKind.DefaultKeyword
|
|
4161
|
+
| SyntaxKind.DeferKeyword
|
|
4159
4162
|
| SyntaxKind.DeleteKeyword
|
|
4160
4163
|
| SyntaxKind.DoKeyword
|
|
4161
4164
|
| SyntaxKind.ElseKeyword
|
|
@@ -5128,7 +5131,7 @@ declare namespace ts {
|
|
|
5128
5131
|
readonly expression: SuperExpression;
|
|
5129
5132
|
}
|
|
5130
5133
|
interface ImportCall extends CallExpression {
|
|
5131
|
-
readonly expression: ImportExpression;
|
|
5134
|
+
readonly expression: ImportExpression | ImportDeferProperty;
|
|
5132
5135
|
}
|
|
5133
5136
|
interface ExpressionWithTypeArguments extends MemberExpression, NodeWithTypeArguments {
|
|
5134
5137
|
readonly kind: SyntaxKind.ExpressionWithTypeArguments;
|
|
@@ -5178,6 +5181,12 @@ declare namespace ts {
|
|
|
5178
5181
|
readonly keywordToken: SyntaxKind.NewKeyword | SyntaxKind.ImportKeyword;
|
|
5179
5182
|
readonly name: Identifier;
|
|
5180
5183
|
}
|
|
5184
|
+
interface ImportDeferProperty extends MetaProperty {
|
|
5185
|
+
readonly keywordToken: SyntaxKind.ImportKeyword;
|
|
5186
|
+
readonly name: Identifier & {
|
|
5187
|
+
readonly escapedText: __String & "defer";
|
|
5188
|
+
};
|
|
5189
|
+
}
|
|
5181
5190
|
interface JsxElement extends PrimaryExpression {
|
|
5182
5191
|
readonly kind: SyntaxKind.JsxElement;
|
|
5183
5192
|
readonly openingElement: JsxOpeningElement;
|
|
@@ -5517,10 +5526,13 @@ declare namespace ts {
|
|
|
5517
5526
|
interface ImportClause extends NamedDeclaration {
|
|
5518
5527
|
readonly kind: SyntaxKind.ImportClause;
|
|
5519
5528
|
readonly parent: ImportDeclaration | JSDocImportTag;
|
|
5529
|
+
/** @deprecated Use `phaseModifier` instead */
|
|
5520
5530
|
readonly isTypeOnly: boolean;
|
|
5531
|
+
readonly phaseModifier: undefined | ImportPhaseModifierSyntaxKind;
|
|
5521
5532
|
readonly name?: Identifier;
|
|
5522
5533
|
readonly namedBindings?: NamedImportBindings;
|
|
5523
5534
|
}
|
|
5535
|
+
type ImportPhaseModifierSyntaxKind = SyntaxKind.TypeKeyword | SyntaxKind.DeferKeyword;
|
|
5524
5536
|
/** @deprecated */
|
|
5525
5537
|
type AssertionKey = ImportAttributeName;
|
|
5526
5538
|
/** @deprecated */
|
|
@@ -6705,11 +6717,11 @@ declare namespace ts {
|
|
|
6705
6717
|
JSLiteral = 4096,
|
|
6706
6718
|
FreshLiteral = 8192,
|
|
6707
6719
|
ArrayLiteral = 16384,
|
|
6720
|
+
SingleSignatureType = 134217728,
|
|
6708
6721
|
ClassOrInterface = 3,
|
|
6709
6722
|
ContainsSpread = 2097152,
|
|
6710
6723
|
ObjectRestType = 4194304,
|
|
6711
6724
|
InstantiationExpressionType = 8388608,
|
|
6712
|
-
SingleSignatureType = 134217728,
|
|
6713
6725
|
}
|
|
6714
6726
|
interface ObjectType extends Type {
|
|
6715
6727
|
objectFlags: ObjectFlags;
|
|
@@ -7148,6 +7160,7 @@ declare namespace ts {
|
|
|
7148
7160
|
ESNext = 99,
|
|
7149
7161
|
Node16 = 100,
|
|
7150
7162
|
Node18 = 101,
|
|
7163
|
+
Node20 = 102,
|
|
7151
7164
|
NodeNext = 199,
|
|
7152
7165
|
Preserve = 200,
|
|
7153
7166
|
}
|
|
@@ -7728,8 +7741,10 @@ declare namespace ts {
|
|
|
7728
7741
|
updateImportEqualsDeclaration(node: ImportEqualsDeclaration, modifiers: readonly ModifierLike[] | undefined, isTypeOnly: boolean, name: Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
|
|
7729
7742
|
createImportDeclaration(modifiers: readonly ModifierLike[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, attributes?: ImportAttributes): ImportDeclaration;
|
|
7730
7743
|
updateImportDeclaration(node: ImportDeclaration, modifiers: readonly ModifierLike[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, attributes: ImportAttributes | undefined): ImportDeclaration;
|
|
7731
|
-
createImportClause(
|
|
7732
|
-
|
|
7744
|
+
createImportClause(phaseModifier: ImportPhaseModifierSyntaxKind | undefined, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
|
|
7745
|
+
/** @deprecated */ createImportClause(isTypeOnly: boolean, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
|
|
7746
|
+
updateImportClause(node: ImportClause, phaseModifier: ImportPhaseModifierSyntaxKind | undefined, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
|
|
7747
|
+
/** @deprecated */ updateImportClause(node: ImportClause, isTypeOnly: boolean, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
|
|
7733
7748
|
/** @deprecated */ createAssertClause(elements: NodeArray<AssertEntry>, multiLine?: boolean): AssertClause;
|
|
7734
7749
|
/** @deprecated */ updateAssertClause(node: AssertClause, elements: NodeArray<AssertEntry>, multiLine?: boolean): AssertClause;
|
|
7735
7750
|
/** @deprecated */ createAssertEntry(name: AssertionKey, value: Expression): AssertEntry;
|