typescript 5.2.0-dev.20230622 → 5.2.0-dev.20230624

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.
@@ -204,211 +204,212 @@ declare namespace ts {
204
204
  UndefinedKeyword = 157,
205
205
  UniqueKeyword = 158,
206
206
  UnknownKeyword = 159,
207
- FromKeyword = 160,
208
- GlobalKeyword = 161,
209
- BigIntKeyword = 162,
210
- OverrideKeyword = 163,
211
- OfKeyword = 164,
212
- QualifiedName = 165,
213
- ComputedPropertyName = 166,
214
- TypeParameter = 167,
215
- Parameter = 168,
216
- Decorator = 169,
217
- PropertySignature = 170,
218
- PropertyDeclaration = 171,
219
- MethodSignature = 172,
220
- MethodDeclaration = 173,
221
- ClassStaticBlockDeclaration = 174,
222
- Constructor = 175,
223
- GetAccessor = 176,
224
- SetAccessor = 177,
225
- CallSignature = 178,
226
- ConstructSignature = 179,
227
- IndexSignature = 180,
228
- TypePredicate = 181,
229
- TypeReference = 182,
230
- FunctionType = 183,
231
- ConstructorType = 184,
232
- TypeQuery = 185,
233
- TypeLiteral = 186,
234
- ArrayType = 187,
235
- TupleType = 188,
236
- OptionalType = 189,
237
- RestType = 190,
238
- UnionType = 191,
239
- IntersectionType = 192,
240
- ConditionalType = 193,
241
- InferType = 194,
242
- ParenthesizedType = 195,
243
- ThisType = 196,
244
- TypeOperator = 197,
245
- IndexedAccessType = 198,
246
- MappedType = 199,
247
- LiteralType = 200,
248
- NamedTupleMember = 201,
249
- TemplateLiteralType = 202,
250
- TemplateLiteralTypeSpan = 203,
251
- ImportType = 204,
252
- ObjectBindingPattern = 205,
253
- ArrayBindingPattern = 206,
254
- BindingElement = 207,
255
- ArrayLiteralExpression = 208,
256
- ObjectLiteralExpression = 209,
257
- PropertyAccessExpression = 210,
258
- ElementAccessExpression = 211,
259
- CallExpression = 212,
260
- NewExpression = 213,
261
- TaggedTemplateExpression = 214,
262
- TypeAssertionExpression = 215,
263
- ParenthesizedExpression = 216,
264
- FunctionExpression = 217,
265
- ArrowFunction = 218,
266
- DeleteExpression = 219,
267
- TypeOfExpression = 220,
268
- VoidExpression = 221,
269
- AwaitExpression = 222,
270
- PrefixUnaryExpression = 223,
271
- PostfixUnaryExpression = 224,
272
- BinaryExpression = 225,
273
- ConditionalExpression = 226,
274
- TemplateExpression = 227,
275
- YieldExpression = 228,
276
- SpreadElement = 229,
277
- ClassExpression = 230,
278
- OmittedExpression = 231,
279
- ExpressionWithTypeArguments = 232,
280
- AsExpression = 233,
281
- NonNullExpression = 234,
282
- MetaProperty = 235,
283
- SyntheticExpression = 236,
284
- SatisfiesExpression = 237,
285
- TemplateSpan = 238,
286
- SemicolonClassElement = 239,
287
- Block = 240,
288
- EmptyStatement = 241,
289
- VariableStatement = 242,
290
- ExpressionStatement = 243,
291
- IfStatement = 244,
292
- DoStatement = 245,
293
- WhileStatement = 246,
294
- ForStatement = 247,
295
- ForInStatement = 248,
296
- ForOfStatement = 249,
297
- ContinueStatement = 250,
298
- BreakStatement = 251,
299
- ReturnStatement = 252,
300
- WithStatement = 253,
301
- SwitchStatement = 254,
302
- LabeledStatement = 255,
303
- ThrowStatement = 256,
304
- TryStatement = 257,
305
- DebuggerStatement = 258,
306
- VariableDeclaration = 259,
307
- VariableDeclarationList = 260,
308
- FunctionDeclaration = 261,
309
- ClassDeclaration = 262,
310
- InterfaceDeclaration = 263,
311
- TypeAliasDeclaration = 264,
312
- EnumDeclaration = 265,
313
- ModuleDeclaration = 266,
314
- ModuleBlock = 267,
315
- CaseBlock = 268,
316
- NamespaceExportDeclaration = 269,
317
- ImportEqualsDeclaration = 270,
318
- ImportDeclaration = 271,
319
- ImportClause = 272,
320
- NamespaceImport = 273,
321
- NamedImports = 274,
322
- ImportSpecifier = 275,
323
- ExportAssignment = 276,
324
- ExportDeclaration = 277,
325
- NamedExports = 278,
326
- NamespaceExport = 279,
327
- ExportSpecifier = 280,
328
- MissingDeclaration = 281,
329
- ExternalModuleReference = 282,
330
- JsxElement = 283,
331
- JsxSelfClosingElement = 284,
332
- JsxOpeningElement = 285,
333
- JsxClosingElement = 286,
334
- JsxFragment = 287,
335
- JsxOpeningFragment = 288,
336
- JsxClosingFragment = 289,
337
- JsxAttribute = 290,
338
- JsxAttributes = 291,
339
- JsxSpreadAttribute = 292,
340
- JsxExpression = 293,
341
- JsxNamespacedName = 294,
342
- CaseClause = 295,
343
- DefaultClause = 296,
344
- HeritageClause = 297,
345
- CatchClause = 298,
346
- AssertClause = 299,
347
- AssertEntry = 300,
348
- ImportTypeAssertionContainer = 301,
349
- PropertyAssignment = 302,
350
- ShorthandPropertyAssignment = 303,
351
- SpreadAssignment = 304,
352
- EnumMember = 305,
353
- /** @deprecated */ UnparsedPrologue = 306,
354
- /** @deprecated */ UnparsedPrepend = 307,
355
- /** @deprecated */ UnparsedText = 308,
356
- /** @deprecated */ UnparsedInternalText = 309,
357
- /** @deprecated */ UnparsedSyntheticReference = 310,
358
- SourceFile = 311,
359
- Bundle = 312,
360
- /** @deprecated */ UnparsedSource = 313,
361
- /** @deprecated */ InputFiles = 314,
362
- JSDocTypeExpression = 315,
363
- JSDocNameReference = 316,
364
- JSDocMemberName = 317,
365
- JSDocAllType = 318,
366
- JSDocUnknownType = 319,
367
- JSDocNullableType = 320,
368
- JSDocNonNullableType = 321,
369
- JSDocOptionalType = 322,
370
- JSDocFunctionType = 323,
371
- JSDocVariadicType = 324,
372
- JSDocNamepathType = 325,
373
- JSDoc = 326,
207
+ UsingKeyword = 160,
208
+ FromKeyword = 161,
209
+ GlobalKeyword = 162,
210
+ BigIntKeyword = 163,
211
+ OverrideKeyword = 164,
212
+ OfKeyword = 165,
213
+ QualifiedName = 166,
214
+ ComputedPropertyName = 167,
215
+ TypeParameter = 168,
216
+ Parameter = 169,
217
+ Decorator = 170,
218
+ PropertySignature = 171,
219
+ PropertyDeclaration = 172,
220
+ MethodSignature = 173,
221
+ MethodDeclaration = 174,
222
+ ClassStaticBlockDeclaration = 175,
223
+ Constructor = 176,
224
+ GetAccessor = 177,
225
+ SetAccessor = 178,
226
+ CallSignature = 179,
227
+ ConstructSignature = 180,
228
+ IndexSignature = 181,
229
+ TypePredicate = 182,
230
+ TypeReference = 183,
231
+ FunctionType = 184,
232
+ ConstructorType = 185,
233
+ TypeQuery = 186,
234
+ TypeLiteral = 187,
235
+ ArrayType = 188,
236
+ TupleType = 189,
237
+ OptionalType = 190,
238
+ RestType = 191,
239
+ UnionType = 192,
240
+ IntersectionType = 193,
241
+ ConditionalType = 194,
242
+ InferType = 195,
243
+ ParenthesizedType = 196,
244
+ ThisType = 197,
245
+ TypeOperator = 198,
246
+ IndexedAccessType = 199,
247
+ MappedType = 200,
248
+ LiteralType = 201,
249
+ NamedTupleMember = 202,
250
+ TemplateLiteralType = 203,
251
+ TemplateLiteralTypeSpan = 204,
252
+ ImportType = 205,
253
+ ObjectBindingPattern = 206,
254
+ ArrayBindingPattern = 207,
255
+ BindingElement = 208,
256
+ ArrayLiteralExpression = 209,
257
+ ObjectLiteralExpression = 210,
258
+ PropertyAccessExpression = 211,
259
+ ElementAccessExpression = 212,
260
+ CallExpression = 213,
261
+ NewExpression = 214,
262
+ TaggedTemplateExpression = 215,
263
+ TypeAssertionExpression = 216,
264
+ ParenthesizedExpression = 217,
265
+ FunctionExpression = 218,
266
+ ArrowFunction = 219,
267
+ DeleteExpression = 220,
268
+ TypeOfExpression = 221,
269
+ VoidExpression = 222,
270
+ AwaitExpression = 223,
271
+ PrefixUnaryExpression = 224,
272
+ PostfixUnaryExpression = 225,
273
+ BinaryExpression = 226,
274
+ ConditionalExpression = 227,
275
+ TemplateExpression = 228,
276
+ YieldExpression = 229,
277
+ SpreadElement = 230,
278
+ ClassExpression = 231,
279
+ OmittedExpression = 232,
280
+ ExpressionWithTypeArguments = 233,
281
+ AsExpression = 234,
282
+ NonNullExpression = 235,
283
+ MetaProperty = 236,
284
+ SyntheticExpression = 237,
285
+ SatisfiesExpression = 238,
286
+ TemplateSpan = 239,
287
+ SemicolonClassElement = 240,
288
+ Block = 241,
289
+ EmptyStatement = 242,
290
+ VariableStatement = 243,
291
+ ExpressionStatement = 244,
292
+ IfStatement = 245,
293
+ DoStatement = 246,
294
+ WhileStatement = 247,
295
+ ForStatement = 248,
296
+ ForInStatement = 249,
297
+ ForOfStatement = 250,
298
+ ContinueStatement = 251,
299
+ BreakStatement = 252,
300
+ ReturnStatement = 253,
301
+ WithStatement = 254,
302
+ SwitchStatement = 255,
303
+ LabeledStatement = 256,
304
+ ThrowStatement = 257,
305
+ TryStatement = 258,
306
+ DebuggerStatement = 259,
307
+ VariableDeclaration = 260,
308
+ VariableDeclarationList = 261,
309
+ FunctionDeclaration = 262,
310
+ ClassDeclaration = 263,
311
+ InterfaceDeclaration = 264,
312
+ TypeAliasDeclaration = 265,
313
+ EnumDeclaration = 266,
314
+ ModuleDeclaration = 267,
315
+ ModuleBlock = 268,
316
+ CaseBlock = 269,
317
+ NamespaceExportDeclaration = 270,
318
+ ImportEqualsDeclaration = 271,
319
+ ImportDeclaration = 272,
320
+ ImportClause = 273,
321
+ NamespaceImport = 274,
322
+ NamedImports = 275,
323
+ ImportSpecifier = 276,
324
+ ExportAssignment = 277,
325
+ ExportDeclaration = 278,
326
+ NamedExports = 279,
327
+ NamespaceExport = 280,
328
+ ExportSpecifier = 281,
329
+ MissingDeclaration = 282,
330
+ ExternalModuleReference = 283,
331
+ JsxElement = 284,
332
+ JsxSelfClosingElement = 285,
333
+ JsxOpeningElement = 286,
334
+ JsxClosingElement = 287,
335
+ JsxFragment = 288,
336
+ JsxOpeningFragment = 289,
337
+ JsxClosingFragment = 290,
338
+ JsxAttribute = 291,
339
+ JsxAttributes = 292,
340
+ JsxSpreadAttribute = 293,
341
+ JsxExpression = 294,
342
+ JsxNamespacedName = 295,
343
+ CaseClause = 296,
344
+ DefaultClause = 297,
345
+ HeritageClause = 298,
346
+ CatchClause = 299,
347
+ AssertClause = 300,
348
+ AssertEntry = 301,
349
+ ImportTypeAssertionContainer = 302,
350
+ PropertyAssignment = 303,
351
+ ShorthandPropertyAssignment = 304,
352
+ SpreadAssignment = 305,
353
+ EnumMember = 306,
354
+ /** @deprecated */ UnparsedPrologue = 307,
355
+ /** @deprecated */ UnparsedPrepend = 308,
356
+ /** @deprecated */ UnparsedText = 309,
357
+ /** @deprecated */ UnparsedInternalText = 310,
358
+ /** @deprecated */ UnparsedSyntheticReference = 311,
359
+ SourceFile = 312,
360
+ Bundle = 313,
361
+ /** @deprecated */ UnparsedSource = 314,
362
+ /** @deprecated */ InputFiles = 315,
363
+ JSDocTypeExpression = 316,
364
+ JSDocNameReference = 317,
365
+ JSDocMemberName = 318,
366
+ JSDocAllType = 319,
367
+ JSDocUnknownType = 320,
368
+ JSDocNullableType = 321,
369
+ JSDocNonNullableType = 322,
370
+ JSDocOptionalType = 323,
371
+ JSDocFunctionType = 324,
372
+ JSDocVariadicType = 325,
373
+ JSDocNamepathType = 326,
374
+ JSDoc = 327,
374
375
  /** @deprecated Use SyntaxKind.JSDoc */
375
- JSDocComment = 326,
376
- JSDocText = 327,
377
- JSDocTypeLiteral = 328,
378
- JSDocSignature = 329,
379
- JSDocLink = 330,
380
- JSDocLinkCode = 331,
381
- JSDocLinkPlain = 332,
382
- JSDocTag = 333,
383
- JSDocAugmentsTag = 334,
384
- JSDocImplementsTag = 335,
385
- JSDocAuthorTag = 336,
386
- JSDocDeprecatedTag = 337,
387
- JSDocClassTag = 338,
388
- JSDocPublicTag = 339,
389
- JSDocPrivateTag = 340,
390
- JSDocProtectedTag = 341,
391
- JSDocReadonlyTag = 342,
392
- JSDocOverrideTag = 343,
393
- JSDocCallbackTag = 344,
394
- JSDocOverloadTag = 345,
395
- JSDocEnumTag = 346,
396
- JSDocParameterTag = 347,
397
- JSDocReturnTag = 348,
398
- JSDocThisTag = 349,
399
- JSDocTypeTag = 350,
400
- JSDocTemplateTag = 351,
401
- JSDocTypedefTag = 352,
402
- JSDocSeeTag = 353,
403
- JSDocPropertyTag = 354,
404
- JSDocThrowsTag = 355,
405
- JSDocSatisfiesTag = 356,
406
- SyntaxList = 357,
407
- NotEmittedStatement = 358,
408
- PartiallyEmittedExpression = 359,
409
- CommaListExpression = 360,
410
- SyntheticReferenceExpression = 361,
411
- Count = 362,
376
+ JSDocComment = 327,
377
+ JSDocText = 328,
378
+ JSDocTypeLiteral = 329,
379
+ JSDocSignature = 330,
380
+ JSDocLink = 331,
381
+ JSDocLinkCode = 332,
382
+ JSDocLinkPlain = 333,
383
+ JSDocTag = 334,
384
+ JSDocAugmentsTag = 335,
385
+ JSDocImplementsTag = 336,
386
+ JSDocAuthorTag = 337,
387
+ JSDocDeprecatedTag = 338,
388
+ JSDocClassTag = 339,
389
+ JSDocPublicTag = 340,
390
+ JSDocPrivateTag = 341,
391
+ JSDocProtectedTag = 342,
392
+ JSDocReadonlyTag = 343,
393
+ JSDocOverrideTag = 344,
394
+ JSDocCallbackTag = 345,
395
+ JSDocOverloadTag = 346,
396
+ JSDocEnumTag = 347,
397
+ JSDocParameterTag = 348,
398
+ JSDocReturnTag = 349,
399
+ JSDocThisTag = 350,
400
+ JSDocTypeTag = 351,
401
+ JSDocTemplateTag = 352,
402
+ JSDocTypedefTag = 353,
403
+ JSDocSeeTag = 354,
404
+ JSDocPropertyTag = 355,
405
+ JSDocThrowsTag = 356,
406
+ JSDocSatisfiesTag = 357,
407
+ SyntaxList = 358,
408
+ NotEmittedStatement = 359,
409
+ PartiallyEmittedExpression = 360,
410
+ CommaListExpression = 361,
411
+ SyntheticReferenceExpression = 362,
412
+ Count = 363,
412
413
  FirstAssignment = 64,
413
414
  LastAssignment = 79,
414
415
  FirstCompoundAssignment = 65,
@@ -416,15 +417,15 @@ declare namespace ts {
416
417
  FirstReservedWord = 83,
417
418
  LastReservedWord = 118,
418
419
  FirstKeyword = 83,
419
- LastKeyword = 164,
420
+ LastKeyword = 165,
420
421
  FirstFutureReservedWord = 119,
421
422
  LastFutureReservedWord = 127,
422
- FirstTypeNode = 181,
423
- LastTypeNode = 204,
423
+ FirstTypeNode = 182,
424
+ LastTypeNode = 205,
424
425
  FirstPunctuation = 19,
425
426
  LastPunctuation = 79,
426
427
  FirstToken = 0,
427
- LastToken = 164,
428
+ LastToken = 165,
428
429
  FirstTriviaToken = 2,
429
430
  LastTriviaToken = 7,
430
431
  FirstLiteralToken = 9,
@@ -433,19 +434,19 @@ declare namespace ts {
433
434
  LastTemplateToken = 18,
434
435
  FirstBinaryOperator = 30,
435
436
  LastBinaryOperator = 79,
436
- FirstStatement = 242,
437
- LastStatement = 258,
438
- FirstNode = 165,
439
- FirstJSDocNode = 315,
440
- LastJSDocNode = 356,
441
- FirstJSDocTagNode = 333,
442
- LastJSDocTagNode = 356
437
+ FirstStatement = 243,
438
+ LastStatement = 259,
439
+ FirstNode = 166,
440
+ FirstJSDocNode = 316,
441
+ LastJSDocNode = 357,
442
+ FirstJSDocTagNode = 334,
443
+ LastJSDocTagNode = 357
443
444
  }
444
445
  type TriviaSyntaxKind = SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia;
445
446
  type LiteralSyntaxKind = SyntaxKind.NumericLiteral | SyntaxKind.BigIntLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral;
446
447
  type PseudoLiteralSyntaxKind = SyntaxKind.TemplateHead | SyntaxKind.TemplateMiddle | SyntaxKind.TemplateTail;
447
448
  type PunctuationSyntaxKind = SyntaxKind.OpenBraceToken | SyntaxKind.CloseBraceToken | SyntaxKind.OpenParenToken | SyntaxKind.CloseParenToken | SyntaxKind.OpenBracketToken | SyntaxKind.CloseBracketToken | SyntaxKind.DotToken | SyntaxKind.DotDotDotToken | SyntaxKind.SemicolonToken | SyntaxKind.CommaToken | SyntaxKind.QuestionDotToken | SyntaxKind.LessThanToken | SyntaxKind.LessThanSlashToken | SyntaxKind.GreaterThanToken | SyntaxKind.LessThanEqualsToken | SyntaxKind.GreaterThanEqualsToken | SyntaxKind.EqualsEqualsToken | SyntaxKind.ExclamationEqualsToken | SyntaxKind.EqualsEqualsEqualsToken | SyntaxKind.ExclamationEqualsEqualsToken | SyntaxKind.EqualsGreaterThanToken | SyntaxKind.PlusToken | SyntaxKind.MinusToken | SyntaxKind.AsteriskToken | SyntaxKind.AsteriskAsteriskToken | SyntaxKind.SlashToken | SyntaxKind.PercentToken | SyntaxKind.PlusPlusToken | SyntaxKind.MinusMinusToken | SyntaxKind.LessThanLessThanToken | SyntaxKind.GreaterThanGreaterThanToken | SyntaxKind.GreaterThanGreaterThanGreaterThanToken | SyntaxKind.AmpersandToken | SyntaxKind.BarToken | SyntaxKind.CaretToken | SyntaxKind.ExclamationToken | SyntaxKind.TildeToken | SyntaxKind.AmpersandAmpersandToken | SyntaxKind.AmpersandAmpersandEqualsToken | SyntaxKind.BarBarToken | SyntaxKind.BarBarEqualsToken | SyntaxKind.QuestionQuestionToken | SyntaxKind.QuestionQuestionEqualsToken | SyntaxKind.QuestionToken | SyntaxKind.ColonToken | SyntaxKind.AtToken | SyntaxKind.BacktickToken | SyntaxKind.HashToken | SyntaxKind.EqualsToken | SyntaxKind.PlusEqualsToken | SyntaxKind.MinusEqualsToken | SyntaxKind.AsteriskEqualsToken | SyntaxKind.AsteriskAsteriskEqualsToken | SyntaxKind.SlashEqualsToken | SyntaxKind.PercentEqualsToken | SyntaxKind.LessThanLessThanEqualsToken | SyntaxKind.GreaterThanGreaterThanEqualsToken | SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken | SyntaxKind.AmpersandEqualsToken | SyntaxKind.BarEqualsToken | SyntaxKind.CaretEqualsToken;
448
- type KeywordSyntaxKind = SyntaxKind.AbstractKeyword | SyntaxKind.AccessorKeyword | SyntaxKind.AnyKeyword | SyntaxKind.AsKeyword | SyntaxKind.AssertsKeyword | SyntaxKind.AssertKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.AwaitKeyword | SyntaxKind.BigIntKeyword | SyntaxKind.BooleanKeyword | SyntaxKind.BreakKeyword | SyntaxKind.CaseKeyword | SyntaxKind.CatchKeyword | SyntaxKind.ClassKeyword | SyntaxKind.ConstKeyword | SyntaxKind.ConstructorKeyword | SyntaxKind.ContinueKeyword | SyntaxKind.DebuggerKeyword | SyntaxKind.DeclareKeyword | SyntaxKind.DefaultKeyword | SyntaxKind.DeleteKeyword | SyntaxKind.DoKeyword | SyntaxKind.ElseKeyword | SyntaxKind.EnumKeyword | SyntaxKind.ExportKeyword | SyntaxKind.ExtendsKeyword | SyntaxKind.FalseKeyword | SyntaxKind.FinallyKeyword | SyntaxKind.ForKeyword | SyntaxKind.FromKeyword | SyntaxKind.FunctionKeyword | SyntaxKind.GetKeyword | SyntaxKind.GlobalKeyword | SyntaxKind.IfKeyword | SyntaxKind.ImplementsKeyword | SyntaxKind.ImportKeyword | SyntaxKind.InferKeyword | SyntaxKind.InKeyword | SyntaxKind.InstanceOfKeyword | SyntaxKind.InterfaceKeyword | SyntaxKind.IntrinsicKeyword | SyntaxKind.IsKeyword | SyntaxKind.KeyOfKeyword | SyntaxKind.LetKeyword | SyntaxKind.ModuleKeyword | SyntaxKind.NamespaceKeyword | SyntaxKind.NeverKeyword | SyntaxKind.NewKeyword | SyntaxKind.NullKeyword | SyntaxKind.NumberKeyword | SyntaxKind.ObjectKeyword | SyntaxKind.OfKeyword | SyntaxKind.PackageKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.OutKeyword | SyntaxKind.OverrideKeyword | SyntaxKind.RequireKeyword | SyntaxKind.ReturnKeyword | SyntaxKind.SatisfiesKeyword | SyntaxKind.SetKeyword | SyntaxKind.StaticKeyword | SyntaxKind.StringKeyword | SyntaxKind.SuperKeyword | SyntaxKind.SwitchKeyword | SyntaxKind.SymbolKeyword | SyntaxKind.ThisKeyword | SyntaxKind.ThrowKeyword | SyntaxKind.TrueKeyword | SyntaxKind.TryKeyword | SyntaxKind.TypeKeyword | SyntaxKind.TypeOfKeyword | SyntaxKind.UndefinedKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.UnknownKeyword | SyntaxKind.VarKeyword | SyntaxKind.VoidKeyword | SyntaxKind.WhileKeyword | SyntaxKind.WithKeyword | SyntaxKind.YieldKeyword;
449
+ type KeywordSyntaxKind = SyntaxKind.AbstractKeyword | SyntaxKind.AccessorKeyword | SyntaxKind.AnyKeyword | SyntaxKind.AsKeyword | SyntaxKind.AssertsKeyword | SyntaxKind.AssertKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.AwaitKeyword | SyntaxKind.BigIntKeyword | SyntaxKind.BooleanKeyword | SyntaxKind.BreakKeyword | SyntaxKind.CaseKeyword | SyntaxKind.CatchKeyword | SyntaxKind.ClassKeyword | SyntaxKind.ConstKeyword | SyntaxKind.ConstructorKeyword | SyntaxKind.ContinueKeyword | SyntaxKind.DebuggerKeyword | SyntaxKind.DeclareKeyword | SyntaxKind.DefaultKeyword | SyntaxKind.DeleteKeyword | SyntaxKind.DoKeyword | SyntaxKind.ElseKeyword | SyntaxKind.EnumKeyword | SyntaxKind.ExportKeyword | SyntaxKind.ExtendsKeyword | SyntaxKind.FalseKeyword | SyntaxKind.FinallyKeyword | SyntaxKind.ForKeyword | SyntaxKind.FromKeyword | SyntaxKind.FunctionKeyword | SyntaxKind.GetKeyword | SyntaxKind.GlobalKeyword | SyntaxKind.IfKeyword | SyntaxKind.ImplementsKeyword | SyntaxKind.ImportKeyword | SyntaxKind.InferKeyword | SyntaxKind.InKeyword | SyntaxKind.InstanceOfKeyword | SyntaxKind.InterfaceKeyword | SyntaxKind.IntrinsicKeyword | SyntaxKind.IsKeyword | SyntaxKind.KeyOfKeyword | SyntaxKind.LetKeyword | SyntaxKind.ModuleKeyword | SyntaxKind.NamespaceKeyword | SyntaxKind.NeverKeyword | SyntaxKind.NewKeyword | SyntaxKind.NullKeyword | SyntaxKind.NumberKeyword | SyntaxKind.ObjectKeyword | SyntaxKind.OfKeyword | SyntaxKind.PackageKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.OutKeyword | SyntaxKind.OverrideKeyword | SyntaxKind.RequireKeyword | SyntaxKind.ReturnKeyword | SyntaxKind.SatisfiesKeyword | SyntaxKind.SetKeyword | SyntaxKind.StaticKeyword | SyntaxKind.StringKeyword | SyntaxKind.SuperKeyword | SyntaxKind.SwitchKeyword | SyntaxKind.SymbolKeyword | SyntaxKind.ThisKeyword | SyntaxKind.ThrowKeyword | SyntaxKind.TrueKeyword | SyntaxKind.TryKeyword | SyntaxKind.TypeKeyword | SyntaxKind.TypeOfKeyword | SyntaxKind.UndefinedKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.UnknownKeyword | SyntaxKind.UsingKeyword | SyntaxKind.VarKeyword | SyntaxKind.VoidKeyword | SyntaxKind.WhileKeyword | SyntaxKind.WithKeyword | SyntaxKind.YieldKeyword;
449
450
  type ModifierSyntaxKind = SyntaxKind.AbstractKeyword | SyntaxKind.AccessorKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.ConstKeyword | SyntaxKind.DeclareKeyword | SyntaxKind.DefaultKeyword | SyntaxKind.ExportKeyword | SyntaxKind.InKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.OutKeyword | SyntaxKind.OverrideKeyword | SyntaxKind.StaticKeyword;
450
451
  type KeywordTypeSyntaxKind = SyntaxKind.AnyKeyword | SyntaxKind.BigIntKeyword | SyntaxKind.BooleanKeyword | SyntaxKind.IntrinsicKeyword | SyntaxKind.NeverKeyword | SyntaxKind.NumberKeyword | SyntaxKind.ObjectKeyword | SyntaxKind.StringKeyword | SyntaxKind.SymbolKeyword | SyntaxKind.UndefinedKeyword | SyntaxKind.UnknownKeyword | SyntaxKind.VoidKeyword;
451
452
  type TokenSyntaxKind = SyntaxKind.Unknown | SyntaxKind.EndOfFileToken | TriviaSyntaxKind | LiteralSyntaxKind | PseudoLiteralSyntaxKind | PunctuationSyntaxKind | SyntaxKind.Identifier | KeywordSyntaxKind;
@@ -455,32 +456,35 @@ declare namespace ts {
455
456
  None = 0,
456
457
  Let = 1,
457
458
  Const = 2,
458
- NestedNamespace = 4,
459
- Synthesized = 8,
460
- Namespace = 16,
461
- OptionalChain = 32,
462
- ExportContext = 64,
463
- ContainsThis = 128,
464
- HasImplicitReturn = 256,
465
- HasExplicitReturn = 512,
466
- GlobalAugmentation = 1024,
467
- HasAsyncFunctions = 2048,
468
- DisallowInContext = 4096,
469
- YieldContext = 8192,
470
- DecoratorContext = 16384,
471
- AwaitContext = 32768,
472
- DisallowConditionalTypesContext = 65536,
473
- ThisNodeHasError = 131072,
474
- JavaScriptFile = 262144,
475
- ThisNodeOrAnySubNodesHasError = 524288,
476
- HasAggregatedChildData = 1048576,
477
- JSDoc = 8388608,
478
- JsonFile = 67108864,
479
- BlockScoped = 3,
480
- ReachabilityCheckFlags = 768,
481
- ReachabilityAndEmitFlags = 2816,
482
- ContextFlags = 50720768,
483
- TypeExcludesFlags = 40960
459
+ Using = 4,
460
+ AwaitUsing = 6,
461
+ NestedNamespace = 8,
462
+ Synthesized = 16,
463
+ Namespace = 32,
464
+ OptionalChain = 64,
465
+ ExportContext = 128,
466
+ ContainsThis = 256,
467
+ HasImplicitReturn = 512,
468
+ HasExplicitReturn = 1024,
469
+ GlobalAugmentation = 2048,
470
+ HasAsyncFunctions = 4096,
471
+ DisallowInContext = 8192,
472
+ YieldContext = 16384,
473
+ DecoratorContext = 32768,
474
+ AwaitContext = 65536,
475
+ DisallowConditionalTypesContext = 131072,
476
+ ThisNodeHasError = 262144,
477
+ JavaScriptFile = 524288,
478
+ ThisNodeOrAnySubNodesHasError = 1048576,
479
+ HasAggregatedChildData = 2097152,
480
+ JSDoc = 16777216,
481
+ JsonFile = 134217728,
482
+ BlockScoped = 7,
483
+ Constant = 6,
484
+ ReachabilityCheckFlags = 1536,
485
+ ReachabilityAndEmitFlags = 5632,
486
+ ContextFlags = 101441536,
487
+ TypeExcludesFlags = 81920
484
488
  }
485
489
  enum ModifierFlags {
486
490
  None = 0,
@@ -3535,7 +3539,14 @@ declare namespace ts {
3535
3539
  All = 15,
3536
3540
  ExcludeJSDocTypeAssertion = 16
3537
3541
  }
3538
- type TypeOfTag = "undefined" | "number" | "bigint" | "boolean" | "string" | "symbol" | "object" | "function";
3542
+ type ImmediatelyInvokedFunctionExpression = CallExpression & {
3543
+ readonly expression: FunctionExpression;
3544
+ };
3545
+ type ImmediatelyInvokedArrowFunction = CallExpression & {
3546
+ readonly expression: ParenthesizedExpression & {
3547
+ readonly expression: ArrowFunction;
3548
+ };
3549
+ };
3539
3550
  interface NodeFactory {
3540
3551
  createNodeArray<T extends Node>(elements?: readonly T[], hasTrailingComma?: boolean): NodeArray<T>;
3541
3552
  createNumericLiteral(value: string | number, numericLiteralFlags?: TokenFlags): NumericLiteral;
@@ -4005,8 +4016,8 @@ declare namespace ts {
4005
4016
  createPostfixDecrement(operand: Expression): PostfixUnaryExpression;
4006
4017
  createImmediatelyInvokedFunctionExpression(statements: readonly Statement[]): CallExpression;
4007
4018
  createImmediatelyInvokedFunctionExpression(statements: readonly Statement[], param: ParameterDeclaration, paramValue: Expression): CallExpression;
4008
- createImmediatelyInvokedArrowFunction(statements: readonly Statement[]): CallExpression;
4009
- createImmediatelyInvokedArrowFunction(statements: readonly Statement[], param: ParameterDeclaration, paramValue: Expression): CallExpression;
4019
+ createImmediatelyInvokedArrowFunction(statements: readonly Statement[]): ImmediatelyInvokedArrowFunction;
4020
+ createImmediatelyInvokedArrowFunction(statements: readonly Statement[], param: ParameterDeclaration, paramValue: Expression): ImmediatelyInvokedArrowFunction;
4010
4021
  createVoidZero(): VoidExpression;
4011
4022
  createExportDefault(expression: Expression): ExportAssignment;
4012
4023
  createExternalModuleExport(exportName: Identifier): ExportDeclaration;