typescript 5.9.0-dev.20250606 → 5.9.0-dev.20250608

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.
@@ -25,3 +25,5 @@ and limitations under the License.
25
25
  /// <reference lib="esnext.iterator" />
26
26
  /// <reference lib="esnext.promise" />
27
27
  /// <reference lib="esnext.float16" />
28
+ /// <reference lib="esnext.error" />
29
+ /// <reference lib="esnext.sharedmemory" />
@@ -0,0 +1,24 @@
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface ErrorConstructor {
20
+ /**
21
+ * Indicates whether the argument provided is a built-in Error instance or not.
22
+ */
23
+ isError(error: unknown): error is Error;
24
+ }
@@ -0,0 +1,25 @@
1
+ /*! *****************************************************************************
2
+ Copyright (c) Microsoft Corporation. All rights reserved.
3
+ Licensed under the Apache License, Version 2.0 (the "License"); you may not use
4
+ this file except in compliance with the License. You may obtain a copy of the
5
+ License at http://www.apache.org/licenses/LICENSE-2.0
6
+
7
+ THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
8
+ KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
9
+ WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
10
+ MERCHANTABLITY OR NON-INFRINGEMENT.
11
+
12
+ See the Apache Version 2.0 License for specific language governing permissions
13
+ and limitations under the License.
14
+ ***************************************************************************** */
15
+
16
+
17
+ /// <reference no-default-lib="true"/>
18
+
19
+ interface Atomics {
20
+ /**
21
+ * Performs a finite-time microwait by signaling to the operating system or
22
+ * CPU that the current executing code is in a spin-wait loop.
23
+ */
24
+ pause(n?: number): void;
25
+ }
@@ -3841,203 +3841,204 @@ declare namespace ts {
3841
3841
  BigIntKeyword = 163,
3842
3842
  OverrideKeyword = 164,
3843
3843
  OfKeyword = 165,
3844
- QualifiedName = 166,
3845
- ComputedPropertyName = 167,
3846
- TypeParameter = 168,
3847
- Parameter = 169,
3848
- Decorator = 170,
3849
- PropertySignature = 171,
3850
- PropertyDeclaration = 172,
3851
- MethodSignature = 173,
3852
- MethodDeclaration = 174,
3853
- ClassStaticBlockDeclaration = 175,
3854
- Constructor = 176,
3855
- GetAccessor = 177,
3856
- SetAccessor = 178,
3857
- CallSignature = 179,
3858
- ConstructSignature = 180,
3859
- IndexSignature = 181,
3860
- TypePredicate = 182,
3861
- TypeReference = 183,
3862
- FunctionType = 184,
3863
- ConstructorType = 185,
3864
- TypeQuery = 186,
3865
- TypeLiteral = 187,
3866
- ArrayType = 188,
3867
- TupleType = 189,
3868
- OptionalType = 190,
3869
- RestType = 191,
3870
- UnionType = 192,
3871
- IntersectionType = 193,
3872
- ConditionalType = 194,
3873
- InferType = 195,
3874
- ParenthesizedType = 196,
3875
- ThisType = 197,
3876
- TypeOperator = 198,
3877
- IndexedAccessType = 199,
3878
- MappedType = 200,
3879
- LiteralType = 201,
3880
- NamedTupleMember = 202,
3881
- TemplateLiteralType = 203,
3882
- TemplateLiteralTypeSpan = 204,
3883
- ImportType = 205,
3884
- ObjectBindingPattern = 206,
3885
- ArrayBindingPattern = 207,
3886
- BindingElement = 208,
3887
- ArrayLiteralExpression = 209,
3888
- ObjectLiteralExpression = 210,
3889
- PropertyAccessExpression = 211,
3890
- ElementAccessExpression = 212,
3891
- CallExpression = 213,
3892
- NewExpression = 214,
3893
- TaggedTemplateExpression = 215,
3894
- TypeAssertionExpression = 216,
3895
- ParenthesizedExpression = 217,
3896
- FunctionExpression = 218,
3897
- ArrowFunction = 219,
3898
- DeleteExpression = 220,
3899
- TypeOfExpression = 221,
3900
- VoidExpression = 222,
3901
- AwaitExpression = 223,
3902
- PrefixUnaryExpression = 224,
3903
- PostfixUnaryExpression = 225,
3904
- BinaryExpression = 226,
3905
- ConditionalExpression = 227,
3906
- TemplateExpression = 228,
3907
- YieldExpression = 229,
3908
- SpreadElement = 230,
3909
- ClassExpression = 231,
3910
- OmittedExpression = 232,
3911
- ExpressionWithTypeArguments = 233,
3912
- AsExpression = 234,
3913
- NonNullExpression = 235,
3914
- MetaProperty = 236,
3915
- SyntheticExpression = 237,
3916
- SatisfiesExpression = 238,
3917
- TemplateSpan = 239,
3918
- SemicolonClassElement = 240,
3919
- Block = 241,
3920
- EmptyStatement = 242,
3921
- VariableStatement = 243,
3922
- ExpressionStatement = 244,
3923
- IfStatement = 245,
3924
- DoStatement = 246,
3925
- WhileStatement = 247,
3926
- ForStatement = 248,
3927
- ForInStatement = 249,
3928
- ForOfStatement = 250,
3929
- ContinueStatement = 251,
3930
- BreakStatement = 252,
3931
- ReturnStatement = 253,
3932
- WithStatement = 254,
3933
- SwitchStatement = 255,
3934
- LabeledStatement = 256,
3935
- ThrowStatement = 257,
3936
- TryStatement = 258,
3937
- DebuggerStatement = 259,
3938
- VariableDeclaration = 260,
3939
- VariableDeclarationList = 261,
3940
- FunctionDeclaration = 262,
3941
- ClassDeclaration = 263,
3942
- InterfaceDeclaration = 264,
3943
- TypeAliasDeclaration = 265,
3944
- EnumDeclaration = 266,
3945
- ModuleDeclaration = 267,
3946
- ModuleBlock = 268,
3947
- CaseBlock = 269,
3948
- NamespaceExportDeclaration = 270,
3949
- ImportEqualsDeclaration = 271,
3950
- ImportDeclaration = 272,
3951
- ImportClause = 273,
3952
- NamespaceImport = 274,
3953
- NamedImports = 275,
3954
- ImportSpecifier = 276,
3955
- ExportAssignment = 277,
3956
- ExportDeclaration = 278,
3957
- NamedExports = 279,
3958
- NamespaceExport = 280,
3959
- ExportSpecifier = 281,
3960
- MissingDeclaration = 282,
3961
- ExternalModuleReference = 283,
3962
- JsxElement = 284,
3963
- JsxSelfClosingElement = 285,
3964
- JsxOpeningElement = 286,
3965
- JsxClosingElement = 287,
3966
- JsxFragment = 288,
3967
- JsxOpeningFragment = 289,
3968
- JsxClosingFragment = 290,
3969
- JsxAttribute = 291,
3970
- JsxAttributes = 292,
3971
- JsxSpreadAttribute = 293,
3972
- JsxExpression = 294,
3973
- JsxNamespacedName = 295,
3974
- CaseClause = 296,
3975
- DefaultClause = 297,
3976
- HeritageClause = 298,
3977
- CatchClause = 299,
3978
- ImportAttributes = 300,
3979
- ImportAttribute = 301,
3980
- /** @deprecated */ AssertClause = 300,
3981
- /** @deprecated */ AssertEntry = 301,
3982
- /** @deprecated */ ImportTypeAssertionContainer = 302,
3983
- PropertyAssignment = 303,
3984
- ShorthandPropertyAssignment = 304,
3985
- SpreadAssignment = 305,
3986
- EnumMember = 306,
3987
- SourceFile = 307,
3988
- Bundle = 308,
3989
- JSDocTypeExpression = 309,
3990
- JSDocNameReference = 310,
3991
- JSDocMemberName = 311,
3992
- JSDocAllType = 312,
3993
- JSDocUnknownType = 313,
3994
- JSDocNullableType = 314,
3995
- JSDocNonNullableType = 315,
3996
- JSDocOptionalType = 316,
3997
- JSDocFunctionType = 317,
3998
- JSDocVariadicType = 318,
3999
- JSDocNamepathType = 319,
4000
- JSDoc = 320,
3844
+ DeferKeyword = 166,
3845
+ QualifiedName = 167,
3846
+ ComputedPropertyName = 168,
3847
+ TypeParameter = 169,
3848
+ Parameter = 170,
3849
+ Decorator = 171,
3850
+ PropertySignature = 172,
3851
+ PropertyDeclaration = 173,
3852
+ MethodSignature = 174,
3853
+ MethodDeclaration = 175,
3854
+ ClassStaticBlockDeclaration = 176,
3855
+ Constructor = 177,
3856
+ GetAccessor = 178,
3857
+ SetAccessor = 179,
3858
+ CallSignature = 180,
3859
+ ConstructSignature = 181,
3860
+ IndexSignature = 182,
3861
+ TypePredicate = 183,
3862
+ TypeReference = 184,
3863
+ FunctionType = 185,
3864
+ ConstructorType = 186,
3865
+ TypeQuery = 187,
3866
+ TypeLiteral = 188,
3867
+ ArrayType = 189,
3868
+ TupleType = 190,
3869
+ OptionalType = 191,
3870
+ RestType = 192,
3871
+ UnionType = 193,
3872
+ IntersectionType = 194,
3873
+ ConditionalType = 195,
3874
+ InferType = 196,
3875
+ ParenthesizedType = 197,
3876
+ ThisType = 198,
3877
+ TypeOperator = 199,
3878
+ IndexedAccessType = 200,
3879
+ MappedType = 201,
3880
+ LiteralType = 202,
3881
+ NamedTupleMember = 203,
3882
+ TemplateLiteralType = 204,
3883
+ TemplateLiteralTypeSpan = 205,
3884
+ ImportType = 206,
3885
+ ObjectBindingPattern = 207,
3886
+ ArrayBindingPattern = 208,
3887
+ BindingElement = 209,
3888
+ ArrayLiteralExpression = 210,
3889
+ ObjectLiteralExpression = 211,
3890
+ PropertyAccessExpression = 212,
3891
+ ElementAccessExpression = 213,
3892
+ CallExpression = 214,
3893
+ NewExpression = 215,
3894
+ TaggedTemplateExpression = 216,
3895
+ TypeAssertionExpression = 217,
3896
+ ParenthesizedExpression = 218,
3897
+ FunctionExpression = 219,
3898
+ ArrowFunction = 220,
3899
+ DeleteExpression = 221,
3900
+ TypeOfExpression = 222,
3901
+ VoidExpression = 223,
3902
+ AwaitExpression = 224,
3903
+ PrefixUnaryExpression = 225,
3904
+ PostfixUnaryExpression = 226,
3905
+ BinaryExpression = 227,
3906
+ ConditionalExpression = 228,
3907
+ TemplateExpression = 229,
3908
+ YieldExpression = 230,
3909
+ SpreadElement = 231,
3910
+ ClassExpression = 232,
3911
+ OmittedExpression = 233,
3912
+ ExpressionWithTypeArguments = 234,
3913
+ AsExpression = 235,
3914
+ NonNullExpression = 236,
3915
+ MetaProperty = 237,
3916
+ SyntheticExpression = 238,
3917
+ SatisfiesExpression = 239,
3918
+ TemplateSpan = 240,
3919
+ SemicolonClassElement = 241,
3920
+ Block = 242,
3921
+ EmptyStatement = 243,
3922
+ VariableStatement = 244,
3923
+ ExpressionStatement = 245,
3924
+ IfStatement = 246,
3925
+ DoStatement = 247,
3926
+ WhileStatement = 248,
3927
+ ForStatement = 249,
3928
+ ForInStatement = 250,
3929
+ ForOfStatement = 251,
3930
+ ContinueStatement = 252,
3931
+ BreakStatement = 253,
3932
+ ReturnStatement = 254,
3933
+ WithStatement = 255,
3934
+ SwitchStatement = 256,
3935
+ LabeledStatement = 257,
3936
+ ThrowStatement = 258,
3937
+ TryStatement = 259,
3938
+ DebuggerStatement = 260,
3939
+ VariableDeclaration = 261,
3940
+ VariableDeclarationList = 262,
3941
+ FunctionDeclaration = 263,
3942
+ ClassDeclaration = 264,
3943
+ InterfaceDeclaration = 265,
3944
+ TypeAliasDeclaration = 266,
3945
+ EnumDeclaration = 267,
3946
+ ModuleDeclaration = 268,
3947
+ ModuleBlock = 269,
3948
+ CaseBlock = 270,
3949
+ NamespaceExportDeclaration = 271,
3950
+ ImportEqualsDeclaration = 272,
3951
+ ImportDeclaration = 273,
3952
+ ImportClause = 274,
3953
+ NamespaceImport = 275,
3954
+ NamedImports = 276,
3955
+ ImportSpecifier = 277,
3956
+ ExportAssignment = 278,
3957
+ ExportDeclaration = 279,
3958
+ NamedExports = 280,
3959
+ NamespaceExport = 281,
3960
+ ExportSpecifier = 282,
3961
+ MissingDeclaration = 283,
3962
+ ExternalModuleReference = 284,
3963
+ JsxElement = 285,
3964
+ JsxSelfClosingElement = 286,
3965
+ JsxOpeningElement = 287,
3966
+ JsxClosingElement = 288,
3967
+ JsxFragment = 289,
3968
+ JsxOpeningFragment = 290,
3969
+ JsxClosingFragment = 291,
3970
+ JsxAttribute = 292,
3971
+ JsxAttributes = 293,
3972
+ JsxSpreadAttribute = 294,
3973
+ JsxExpression = 295,
3974
+ JsxNamespacedName = 296,
3975
+ CaseClause = 297,
3976
+ DefaultClause = 298,
3977
+ HeritageClause = 299,
3978
+ CatchClause = 300,
3979
+ ImportAttributes = 301,
3980
+ ImportAttribute = 302,
3981
+ /** @deprecated */ AssertClause = 301,
3982
+ /** @deprecated */ AssertEntry = 302,
3983
+ /** @deprecated */ ImportTypeAssertionContainer = 303,
3984
+ PropertyAssignment = 304,
3985
+ ShorthandPropertyAssignment = 305,
3986
+ SpreadAssignment = 306,
3987
+ EnumMember = 307,
3988
+ SourceFile = 308,
3989
+ Bundle = 309,
3990
+ JSDocTypeExpression = 310,
3991
+ JSDocNameReference = 311,
3992
+ JSDocMemberName = 312,
3993
+ JSDocAllType = 313,
3994
+ JSDocUnknownType = 314,
3995
+ JSDocNullableType = 315,
3996
+ JSDocNonNullableType = 316,
3997
+ JSDocOptionalType = 317,
3998
+ JSDocFunctionType = 318,
3999
+ JSDocVariadicType = 319,
4000
+ JSDocNamepathType = 320,
4001
+ JSDoc = 321,
4001
4002
  /** @deprecated Use SyntaxKind.JSDoc */
4002
- JSDocComment = 320,
4003
- JSDocText = 321,
4004
- JSDocTypeLiteral = 322,
4005
- JSDocSignature = 323,
4006
- JSDocLink = 324,
4007
- JSDocLinkCode = 325,
4008
- JSDocLinkPlain = 326,
4009
- JSDocTag = 327,
4010
- JSDocAugmentsTag = 328,
4011
- JSDocImplementsTag = 329,
4012
- JSDocAuthorTag = 330,
4013
- JSDocDeprecatedTag = 331,
4014
- JSDocClassTag = 332,
4015
- JSDocPublicTag = 333,
4016
- JSDocPrivateTag = 334,
4017
- JSDocProtectedTag = 335,
4018
- JSDocReadonlyTag = 336,
4019
- JSDocOverrideTag = 337,
4020
- JSDocCallbackTag = 338,
4021
- JSDocOverloadTag = 339,
4022
- JSDocEnumTag = 340,
4023
- JSDocParameterTag = 341,
4024
- JSDocReturnTag = 342,
4025
- JSDocThisTag = 343,
4026
- JSDocTypeTag = 344,
4027
- JSDocTemplateTag = 345,
4028
- JSDocTypedefTag = 346,
4029
- JSDocSeeTag = 347,
4030
- JSDocPropertyTag = 348,
4031
- JSDocThrowsTag = 349,
4032
- JSDocSatisfiesTag = 350,
4033
- JSDocImportTag = 351,
4034
- SyntaxList = 352,
4035
- NotEmittedStatement = 353,
4036
- NotEmittedTypeElement = 354,
4037
- PartiallyEmittedExpression = 355,
4038
- CommaListExpression = 356,
4039
- SyntheticReferenceExpression = 357,
4040
- Count = 358,
4003
+ JSDocComment = 321,
4004
+ JSDocText = 322,
4005
+ JSDocTypeLiteral = 323,
4006
+ JSDocSignature = 324,
4007
+ JSDocLink = 325,
4008
+ JSDocLinkCode = 326,
4009
+ JSDocLinkPlain = 327,
4010
+ JSDocTag = 328,
4011
+ JSDocAugmentsTag = 329,
4012
+ JSDocImplementsTag = 330,
4013
+ JSDocAuthorTag = 331,
4014
+ JSDocDeprecatedTag = 332,
4015
+ JSDocClassTag = 333,
4016
+ JSDocPublicTag = 334,
4017
+ JSDocPrivateTag = 335,
4018
+ JSDocProtectedTag = 336,
4019
+ JSDocReadonlyTag = 337,
4020
+ JSDocOverrideTag = 338,
4021
+ JSDocCallbackTag = 339,
4022
+ JSDocOverloadTag = 340,
4023
+ JSDocEnumTag = 341,
4024
+ JSDocParameterTag = 342,
4025
+ JSDocReturnTag = 343,
4026
+ JSDocThisTag = 344,
4027
+ JSDocTypeTag = 345,
4028
+ JSDocTemplateTag = 346,
4029
+ JSDocTypedefTag = 347,
4030
+ JSDocSeeTag = 348,
4031
+ JSDocPropertyTag = 349,
4032
+ JSDocThrowsTag = 350,
4033
+ JSDocSatisfiesTag = 351,
4034
+ JSDocImportTag = 352,
4035
+ SyntaxList = 353,
4036
+ NotEmittedStatement = 354,
4037
+ NotEmittedTypeElement = 355,
4038
+ PartiallyEmittedExpression = 356,
4039
+ CommaListExpression = 357,
4040
+ SyntheticReferenceExpression = 358,
4041
+ Count = 359,
4041
4042
  FirstAssignment = 64,
4042
4043
  LastAssignment = 79,
4043
4044
  FirstCompoundAssignment = 65,
@@ -4045,15 +4046,15 @@ declare namespace ts {
4045
4046
  FirstReservedWord = 83,
4046
4047
  LastReservedWord = 118,
4047
4048
  FirstKeyword = 83,
4048
- LastKeyword = 165,
4049
+ LastKeyword = 166,
4049
4050
  FirstFutureReservedWord = 119,
4050
4051
  LastFutureReservedWord = 127,
4051
- FirstTypeNode = 182,
4052
- LastTypeNode = 205,
4052
+ FirstTypeNode = 183,
4053
+ LastTypeNode = 206,
4053
4054
  FirstPunctuation = 19,
4054
4055
  LastPunctuation = 79,
4055
4056
  FirstToken = 0,
4056
- LastToken = 165,
4057
+ LastToken = 166,
4057
4058
  FirstTriviaToken = 2,
4058
4059
  LastTriviaToken = 7,
4059
4060
  FirstLiteralToken = 9,
@@ -4062,13 +4063,13 @@ declare namespace ts {
4062
4063
  LastTemplateToken = 18,
4063
4064
  FirstBinaryOperator = 30,
4064
4065
  LastBinaryOperator = 79,
4065
- FirstStatement = 243,
4066
- LastStatement = 259,
4067
- FirstNode = 166,
4068
- FirstJSDocNode = 309,
4069
- LastJSDocNode = 351,
4070
- FirstJSDocTagNode = 327,
4071
- LastJSDocTagNode = 351,
4066
+ FirstStatement = 244,
4067
+ LastStatement = 260,
4068
+ FirstNode = 167,
4069
+ FirstJSDocNode = 310,
4070
+ LastJSDocNode = 352,
4071
+ FirstJSDocTagNode = 328,
4072
+ LastJSDocTagNode = 352,
4072
4073
  }
4073
4074
  type TriviaSyntaxKind = SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia;
4074
4075
  type LiteralSyntaxKind = SyntaxKind.NumericLiteral | SyntaxKind.BigIntLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral;
@@ -4156,6 +4157,7 @@ declare namespace ts {
4156
4157
  | SyntaxKind.DebuggerKeyword
4157
4158
  | SyntaxKind.DeclareKeyword
4158
4159
  | SyntaxKind.DefaultKeyword
4160
+ | SyntaxKind.DeferKeyword
4159
4161
  | SyntaxKind.DeleteKeyword
4160
4162
  | SyntaxKind.DoKeyword
4161
4163
  | SyntaxKind.ElseKeyword
@@ -5128,7 +5130,7 @@ declare namespace ts {
5128
5130
  readonly expression: SuperExpression;
5129
5131
  }
5130
5132
  interface ImportCall extends CallExpression {
5131
- readonly expression: ImportExpression;
5133
+ readonly expression: ImportExpression | ImportDeferProperty;
5132
5134
  }
5133
5135
  interface ExpressionWithTypeArguments extends MemberExpression, NodeWithTypeArguments {
5134
5136
  readonly kind: SyntaxKind.ExpressionWithTypeArguments;
@@ -5178,6 +5180,12 @@ declare namespace ts {
5178
5180
  readonly keywordToken: SyntaxKind.NewKeyword | SyntaxKind.ImportKeyword;
5179
5181
  readonly name: Identifier;
5180
5182
  }
5183
+ interface ImportDeferProperty extends MetaProperty {
5184
+ readonly keywordToken: SyntaxKind.ImportKeyword;
5185
+ readonly name: Identifier & {
5186
+ readonly escapedText: __String & "defer";
5187
+ };
5188
+ }
5181
5189
  interface JsxElement extends PrimaryExpression {
5182
5190
  readonly kind: SyntaxKind.JsxElement;
5183
5191
  readonly openingElement: JsxOpeningElement;
@@ -5517,10 +5525,13 @@ declare namespace ts {
5517
5525
  interface ImportClause extends NamedDeclaration {
5518
5526
  readonly kind: SyntaxKind.ImportClause;
5519
5527
  readonly parent: ImportDeclaration | JSDocImportTag;
5528
+ /** @deprecated Use `phaseModifier` instead */
5520
5529
  readonly isTypeOnly: boolean;
5530
+ readonly phaseModifier: undefined | ImportPhaseModifierSyntaxKind;
5521
5531
  readonly name?: Identifier;
5522
5532
  readonly namedBindings?: NamedImportBindings;
5523
5533
  }
5534
+ type ImportPhaseModifierSyntaxKind = SyntaxKind.TypeKeyword | SyntaxKind.DeferKeyword;
5524
5535
  /** @deprecated */
5525
5536
  type AssertionKey = ImportAttributeName;
5526
5537
  /** @deprecated */
@@ -7728,8 +7739,10 @@ declare namespace ts {
7728
7739
  updateImportEqualsDeclaration(node: ImportEqualsDeclaration, modifiers: readonly ModifierLike[] | undefined, isTypeOnly: boolean, name: Identifier, moduleReference: ModuleReference): ImportEqualsDeclaration;
7729
7740
  createImportDeclaration(modifiers: readonly ModifierLike[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, attributes?: ImportAttributes): ImportDeclaration;
7730
7741
  updateImportDeclaration(node: ImportDeclaration, modifiers: readonly ModifierLike[] | undefined, importClause: ImportClause | undefined, moduleSpecifier: Expression, attributes: ImportAttributes | undefined): ImportDeclaration;
7731
- createImportClause(isTypeOnly: boolean, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
7732
- updateImportClause(node: ImportClause, isTypeOnly: boolean, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
7742
+ createImportClause(phaseModifier: ImportPhaseModifierSyntaxKind | undefined, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
7743
+ /** @deprecated */ createImportClause(isTypeOnly: boolean, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
7744
+ updateImportClause(node: ImportClause, phaseModifier: ImportPhaseModifierSyntaxKind | undefined, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
7745
+ /** @deprecated */ updateImportClause(node: ImportClause, isTypeOnly: boolean, name: Identifier | undefined, namedBindings: NamedImportBindings | undefined): ImportClause;
7733
7746
  /** @deprecated */ createAssertClause(elements: NodeArray<AssertEntry>, multiLine?: boolean): AssertClause;
7734
7747
  /** @deprecated */ updateAssertClause(node: AssertClause, elements: NodeArray<AssertEntry>, multiLine?: boolean): AssertClause;
7735
7748
  /** @deprecated */ createAssertEntry(name: AssertionKey, value: Expression): AssertEntry;