typescript 4.9.0-dev.20220910 → 4.9.0-dev.20220913

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.
@@ -232,239 +232,240 @@ declare namespace ts {
232
232
  StaticKeyword = 124,
233
233
  YieldKeyword = 125,
234
234
  AbstractKeyword = 126,
235
- AsKeyword = 127,
236
- AssertsKeyword = 128,
237
- AssertKeyword = 129,
238
- AnyKeyword = 130,
239
- AsyncKeyword = 131,
240
- AwaitKeyword = 132,
241
- BooleanKeyword = 133,
242
- ConstructorKeyword = 134,
243
- DeclareKeyword = 135,
244
- GetKeyword = 136,
245
- InferKeyword = 137,
246
- IntrinsicKeyword = 138,
247
- IsKeyword = 139,
248
- KeyOfKeyword = 140,
249
- ModuleKeyword = 141,
250
- NamespaceKeyword = 142,
251
- NeverKeyword = 143,
252
- OutKeyword = 144,
253
- ReadonlyKeyword = 145,
254
- RequireKeyword = 146,
255
- NumberKeyword = 147,
256
- ObjectKeyword = 148,
257
- SatisfiesKeyword = 149,
258
- SetKeyword = 150,
259
- StringKeyword = 151,
260
- SymbolKeyword = 152,
261
- TypeKeyword = 153,
262
- UndefinedKeyword = 154,
263
- UniqueKeyword = 155,
264
- UnknownKeyword = 156,
265
- FromKeyword = 157,
266
- GlobalKeyword = 158,
267
- BigIntKeyword = 159,
268
- OverrideKeyword = 160,
269
- OfKeyword = 161,
270
- QualifiedName = 162,
271
- ComputedPropertyName = 163,
272
- TypeParameter = 164,
273
- Parameter = 165,
274
- Decorator = 166,
275
- PropertySignature = 167,
276
- PropertyDeclaration = 168,
277
- MethodSignature = 169,
278
- MethodDeclaration = 170,
279
- ClassStaticBlockDeclaration = 171,
280
- Constructor = 172,
281
- GetAccessor = 173,
282
- SetAccessor = 174,
283
- CallSignature = 175,
284
- ConstructSignature = 176,
285
- IndexSignature = 177,
286
- TypePredicate = 178,
287
- TypeReference = 179,
288
- FunctionType = 180,
289
- ConstructorType = 181,
290
- TypeQuery = 182,
291
- TypeLiteral = 183,
292
- ArrayType = 184,
293
- TupleType = 185,
294
- OptionalType = 186,
295
- RestType = 187,
296
- UnionType = 188,
297
- IntersectionType = 189,
298
- ConditionalType = 190,
299
- InferType = 191,
300
- ParenthesizedType = 192,
301
- ThisType = 193,
302
- TypeOperator = 194,
303
- IndexedAccessType = 195,
304
- MappedType = 196,
305
- LiteralType = 197,
306
- NamedTupleMember = 198,
307
- TemplateLiteralType = 199,
308
- TemplateLiteralTypeSpan = 200,
309
- ImportType = 201,
310
- ObjectBindingPattern = 202,
311
- ArrayBindingPattern = 203,
312
- BindingElement = 204,
313
- ArrayLiteralExpression = 205,
314
- ObjectLiteralExpression = 206,
315
- PropertyAccessExpression = 207,
316
- ElementAccessExpression = 208,
317
- CallExpression = 209,
318
- NewExpression = 210,
319
- TaggedTemplateExpression = 211,
320
- TypeAssertionExpression = 212,
321
- ParenthesizedExpression = 213,
322
- FunctionExpression = 214,
323
- ArrowFunction = 215,
324
- DeleteExpression = 216,
325
- TypeOfExpression = 217,
326
- VoidExpression = 218,
327
- AwaitExpression = 219,
328
- PrefixUnaryExpression = 220,
329
- PostfixUnaryExpression = 221,
330
- BinaryExpression = 222,
331
- ConditionalExpression = 223,
332
- TemplateExpression = 224,
333
- YieldExpression = 225,
334
- SpreadElement = 226,
335
- ClassExpression = 227,
336
- OmittedExpression = 228,
337
- ExpressionWithTypeArguments = 229,
338
- AsExpression = 230,
339
- NonNullExpression = 231,
340
- MetaProperty = 232,
341
- SyntheticExpression = 233,
342
- SatisfiesExpression = 234,
343
- TemplateSpan = 235,
344
- SemicolonClassElement = 236,
345
- Block = 237,
346
- EmptyStatement = 238,
347
- VariableStatement = 239,
348
- ExpressionStatement = 240,
349
- IfStatement = 241,
350
- DoStatement = 242,
351
- WhileStatement = 243,
352
- ForStatement = 244,
353
- ForInStatement = 245,
354
- ForOfStatement = 246,
355
- ContinueStatement = 247,
356
- BreakStatement = 248,
357
- ReturnStatement = 249,
358
- WithStatement = 250,
359
- SwitchStatement = 251,
360
- LabeledStatement = 252,
361
- ThrowStatement = 253,
362
- TryStatement = 254,
363
- DebuggerStatement = 255,
364
- VariableDeclaration = 256,
365
- VariableDeclarationList = 257,
366
- FunctionDeclaration = 258,
367
- ClassDeclaration = 259,
368
- InterfaceDeclaration = 260,
369
- TypeAliasDeclaration = 261,
370
- EnumDeclaration = 262,
371
- ModuleDeclaration = 263,
372
- ModuleBlock = 264,
373
- CaseBlock = 265,
374
- NamespaceExportDeclaration = 266,
375
- ImportEqualsDeclaration = 267,
376
- ImportDeclaration = 268,
377
- ImportClause = 269,
378
- NamespaceImport = 270,
379
- NamedImports = 271,
380
- ImportSpecifier = 272,
381
- ExportAssignment = 273,
382
- ExportDeclaration = 274,
383
- NamedExports = 275,
384
- NamespaceExport = 276,
385
- ExportSpecifier = 277,
386
- MissingDeclaration = 278,
387
- ExternalModuleReference = 279,
388
- JsxElement = 280,
389
- JsxSelfClosingElement = 281,
390
- JsxOpeningElement = 282,
391
- JsxClosingElement = 283,
392
- JsxFragment = 284,
393
- JsxOpeningFragment = 285,
394
- JsxClosingFragment = 286,
395
- JsxAttribute = 287,
396
- JsxAttributes = 288,
397
- JsxSpreadAttribute = 289,
398
- JsxExpression = 290,
399
- CaseClause = 291,
400
- DefaultClause = 292,
401
- HeritageClause = 293,
402
- CatchClause = 294,
403
- AssertClause = 295,
404
- AssertEntry = 296,
405
- ImportTypeAssertionContainer = 297,
406
- PropertyAssignment = 298,
407
- ShorthandPropertyAssignment = 299,
408
- SpreadAssignment = 300,
409
- EnumMember = 301,
410
- UnparsedPrologue = 302,
411
- UnparsedPrepend = 303,
412
- UnparsedText = 304,
413
- UnparsedInternalText = 305,
414
- UnparsedSyntheticReference = 306,
415
- SourceFile = 307,
416
- Bundle = 308,
417
- UnparsedSource = 309,
418
- InputFiles = 310,
419
- JSDocTypeExpression = 311,
420
- JSDocNameReference = 312,
421
- JSDocMemberName = 313,
422
- JSDocAllType = 314,
423
- JSDocUnknownType = 315,
424
- JSDocNullableType = 316,
425
- JSDocNonNullableType = 317,
426
- JSDocOptionalType = 318,
427
- JSDocFunctionType = 319,
428
- JSDocVariadicType = 320,
429
- JSDocNamepathType = 321,
430
- JSDoc = 322,
235
+ AccessorKeyword = 127,
236
+ AsKeyword = 128,
237
+ AssertsKeyword = 129,
238
+ AssertKeyword = 130,
239
+ AnyKeyword = 131,
240
+ AsyncKeyword = 132,
241
+ AwaitKeyword = 133,
242
+ BooleanKeyword = 134,
243
+ ConstructorKeyword = 135,
244
+ DeclareKeyword = 136,
245
+ GetKeyword = 137,
246
+ InferKeyword = 138,
247
+ IntrinsicKeyword = 139,
248
+ IsKeyword = 140,
249
+ KeyOfKeyword = 141,
250
+ ModuleKeyword = 142,
251
+ NamespaceKeyword = 143,
252
+ NeverKeyword = 144,
253
+ OutKeyword = 145,
254
+ ReadonlyKeyword = 146,
255
+ RequireKeyword = 147,
256
+ NumberKeyword = 148,
257
+ ObjectKeyword = 149,
258
+ SatisfiesKeyword = 150,
259
+ SetKeyword = 151,
260
+ StringKeyword = 152,
261
+ SymbolKeyword = 153,
262
+ TypeKeyword = 154,
263
+ UndefinedKeyword = 155,
264
+ UniqueKeyword = 156,
265
+ UnknownKeyword = 157,
266
+ FromKeyword = 158,
267
+ GlobalKeyword = 159,
268
+ BigIntKeyword = 160,
269
+ OverrideKeyword = 161,
270
+ OfKeyword = 162,
271
+ QualifiedName = 163,
272
+ ComputedPropertyName = 164,
273
+ TypeParameter = 165,
274
+ Parameter = 166,
275
+ Decorator = 167,
276
+ PropertySignature = 168,
277
+ PropertyDeclaration = 169,
278
+ MethodSignature = 170,
279
+ MethodDeclaration = 171,
280
+ ClassStaticBlockDeclaration = 172,
281
+ Constructor = 173,
282
+ GetAccessor = 174,
283
+ SetAccessor = 175,
284
+ CallSignature = 176,
285
+ ConstructSignature = 177,
286
+ IndexSignature = 178,
287
+ TypePredicate = 179,
288
+ TypeReference = 180,
289
+ FunctionType = 181,
290
+ ConstructorType = 182,
291
+ TypeQuery = 183,
292
+ TypeLiteral = 184,
293
+ ArrayType = 185,
294
+ TupleType = 186,
295
+ OptionalType = 187,
296
+ RestType = 188,
297
+ UnionType = 189,
298
+ IntersectionType = 190,
299
+ ConditionalType = 191,
300
+ InferType = 192,
301
+ ParenthesizedType = 193,
302
+ ThisType = 194,
303
+ TypeOperator = 195,
304
+ IndexedAccessType = 196,
305
+ MappedType = 197,
306
+ LiteralType = 198,
307
+ NamedTupleMember = 199,
308
+ TemplateLiteralType = 200,
309
+ TemplateLiteralTypeSpan = 201,
310
+ ImportType = 202,
311
+ ObjectBindingPattern = 203,
312
+ ArrayBindingPattern = 204,
313
+ BindingElement = 205,
314
+ ArrayLiteralExpression = 206,
315
+ ObjectLiteralExpression = 207,
316
+ PropertyAccessExpression = 208,
317
+ ElementAccessExpression = 209,
318
+ CallExpression = 210,
319
+ NewExpression = 211,
320
+ TaggedTemplateExpression = 212,
321
+ TypeAssertionExpression = 213,
322
+ ParenthesizedExpression = 214,
323
+ FunctionExpression = 215,
324
+ ArrowFunction = 216,
325
+ DeleteExpression = 217,
326
+ TypeOfExpression = 218,
327
+ VoidExpression = 219,
328
+ AwaitExpression = 220,
329
+ PrefixUnaryExpression = 221,
330
+ PostfixUnaryExpression = 222,
331
+ BinaryExpression = 223,
332
+ ConditionalExpression = 224,
333
+ TemplateExpression = 225,
334
+ YieldExpression = 226,
335
+ SpreadElement = 227,
336
+ ClassExpression = 228,
337
+ OmittedExpression = 229,
338
+ ExpressionWithTypeArguments = 230,
339
+ AsExpression = 231,
340
+ NonNullExpression = 232,
341
+ MetaProperty = 233,
342
+ SyntheticExpression = 234,
343
+ SatisfiesExpression = 235,
344
+ TemplateSpan = 236,
345
+ SemicolonClassElement = 237,
346
+ Block = 238,
347
+ EmptyStatement = 239,
348
+ VariableStatement = 240,
349
+ ExpressionStatement = 241,
350
+ IfStatement = 242,
351
+ DoStatement = 243,
352
+ WhileStatement = 244,
353
+ ForStatement = 245,
354
+ ForInStatement = 246,
355
+ ForOfStatement = 247,
356
+ ContinueStatement = 248,
357
+ BreakStatement = 249,
358
+ ReturnStatement = 250,
359
+ WithStatement = 251,
360
+ SwitchStatement = 252,
361
+ LabeledStatement = 253,
362
+ ThrowStatement = 254,
363
+ TryStatement = 255,
364
+ DebuggerStatement = 256,
365
+ VariableDeclaration = 257,
366
+ VariableDeclarationList = 258,
367
+ FunctionDeclaration = 259,
368
+ ClassDeclaration = 260,
369
+ InterfaceDeclaration = 261,
370
+ TypeAliasDeclaration = 262,
371
+ EnumDeclaration = 263,
372
+ ModuleDeclaration = 264,
373
+ ModuleBlock = 265,
374
+ CaseBlock = 266,
375
+ NamespaceExportDeclaration = 267,
376
+ ImportEqualsDeclaration = 268,
377
+ ImportDeclaration = 269,
378
+ ImportClause = 270,
379
+ NamespaceImport = 271,
380
+ NamedImports = 272,
381
+ ImportSpecifier = 273,
382
+ ExportAssignment = 274,
383
+ ExportDeclaration = 275,
384
+ NamedExports = 276,
385
+ NamespaceExport = 277,
386
+ ExportSpecifier = 278,
387
+ MissingDeclaration = 279,
388
+ ExternalModuleReference = 280,
389
+ JsxElement = 281,
390
+ JsxSelfClosingElement = 282,
391
+ JsxOpeningElement = 283,
392
+ JsxClosingElement = 284,
393
+ JsxFragment = 285,
394
+ JsxOpeningFragment = 286,
395
+ JsxClosingFragment = 287,
396
+ JsxAttribute = 288,
397
+ JsxAttributes = 289,
398
+ JsxSpreadAttribute = 290,
399
+ JsxExpression = 291,
400
+ CaseClause = 292,
401
+ DefaultClause = 293,
402
+ HeritageClause = 294,
403
+ CatchClause = 295,
404
+ AssertClause = 296,
405
+ AssertEntry = 297,
406
+ ImportTypeAssertionContainer = 298,
407
+ PropertyAssignment = 299,
408
+ ShorthandPropertyAssignment = 300,
409
+ SpreadAssignment = 301,
410
+ EnumMember = 302,
411
+ UnparsedPrologue = 303,
412
+ UnparsedPrepend = 304,
413
+ UnparsedText = 305,
414
+ UnparsedInternalText = 306,
415
+ UnparsedSyntheticReference = 307,
416
+ SourceFile = 308,
417
+ Bundle = 309,
418
+ UnparsedSource = 310,
419
+ InputFiles = 311,
420
+ JSDocTypeExpression = 312,
421
+ JSDocNameReference = 313,
422
+ JSDocMemberName = 314,
423
+ JSDocAllType = 315,
424
+ JSDocUnknownType = 316,
425
+ JSDocNullableType = 317,
426
+ JSDocNonNullableType = 318,
427
+ JSDocOptionalType = 319,
428
+ JSDocFunctionType = 320,
429
+ JSDocVariadicType = 321,
430
+ JSDocNamepathType = 322,
431
+ JSDoc = 323,
431
432
  /** @deprecated Use SyntaxKind.JSDoc */
432
- JSDocComment = 322,
433
- JSDocText = 323,
434
- JSDocTypeLiteral = 324,
435
- JSDocSignature = 325,
436
- JSDocLink = 326,
437
- JSDocLinkCode = 327,
438
- JSDocLinkPlain = 328,
439
- JSDocTag = 329,
440
- JSDocAugmentsTag = 330,
441
- JSDocImplementsTag = 331,
442
- JSDocAuthorTag = 332,
443
- JSDocDeprecatedTag = 333,
444
- JSDocClassTag = 334,
445
- JSDocPublicTag = 335,
446
- JSDocPrivateTag = 336,
447
- JSDocProtectedTag = 337,
448
- JSDocReadonlyTag = 338,
449
- JSDocOverrideTag = 339,
450
- JSDocCallbackTag = 340,
451
- JSDocEnumTag = 341,
452
- JSDocParameterTag = 342,
453
- JSDocReturnTag = 343,
454
- JSDocThisTag = 344,
455
- JSDocTypeTag = 345,
456
- JSDocTemplateTag = 346,
457
- JSDocTypedefTag = 347,
458
- JSDocSeeTag = 348,
459
- JSDocPropertyTag = 349,
460
- SyntaxList = 350,
461
- NotEmittedStatement = 351,
462
- PartiallyEmittedExpression = 352,
463
- CommaListExpression = 353,
464
- MergeDeclarationMarker = 354,
465
- EndOfDeclarationMarker = 355,
466
- SyntheticReferenceExpression = 356,
467
- Count = 357,
433
+ JSDocComment = 323,
434
+ JSDocText = 324,
435
+ JSDocTypeLiteral = 325,
436
+ JSDocSignature = 326,
437
+ JSDocLink = 327,
438
+ JSDocLinkCode = 328,
439
+ JSDocLinkPlain = 329,
440
+ JSDocTag = 330,
441
+ JSDocAugmentsTag = 331,
442
+ JSDocImplementsTag = 332,
443
+ JSDocAuthorTag = 333,
444
+ JSDocDeprecatedTag = 334,
445
+ JSDocClassTag = 335,
446
+ JSDocPublicTag = 336,
447
+ JSDocPrivateTag = 337,
448
+ JSDocProtectedTag = 338,
449
+ JSDocReadonlyTag = 339,
450
+ JSDocOverrideTag = 340,
451
+ JSDocCallbackTag = 341,
452
+ JSDocEnumTag = 342,
453
+ JSDocParameterTag = 343,
454
+ JSDocReturnTag = 344,
455
+ JSDocThisTag = 345,
456
+ JSDocTypeTag = 346,
457
+ JSDocTemplateTag = 347,
458
+ JSDocTypedefTag = 348,
459
+ JSDocSeeTag = 349,
460
+ JSDocPropertyTag = 350,
461
+ SyntaxList = 351,
462
+ NotEmittedStatement = 352,
463
+ PartiallyEmittedExpression = 353,
464
+ CommaListExpression = 354,
465
+ MergeDeclarationMarker = 355,
466
+ EndOfDeclarationMarker = 356,
467
+ SyntheticReferenceExpression = 357,
468
+ Count = 358,
468
469
  FirstAssignment = 63,
469
470
  LastAssignment = 78,
470
471
  FirstCompoundAssignment = 64,
@@ -472,15 +473,15 @@ declare namespace ts {
472
473
  FirstReservedWord = 81,
473
474
  LastReservedWord = 116,
474
475
  FirstKeyword = 81,
475
- LastKeyword = 161,
476
+ LastKeyword = 162,
476
477
  FirstFutureReservedWord = 117,
477
478
  LastFutureReservedWord = 125,
478
- FirstTypeNode = 178,
479
- LastTypeNode = 201,
479
+ FirstTypeNode = 179,
480
+ LastTypeNode = 202,
480
481
  FirstPunctuation = 18,
481
482
  LastPunctuation = 78,
482
483
  FirstToken = 0,
483
- LastToken = 161,
484
+ LastToken = 162,
484
485
  FirstTriviaToken = 2,
485
486
  LastTriviaToken = 7,
486
487
  FirstLiteralToken = 8,
@@ -489,20 +490,20 @@ declare namespace ts {
489
490
  LastTemplateToken = 17,
490
491
  FirstBinaryOperator = 29,
491
492
  LastBinaryOperator = 78,
492
- FirstStatement = 239,
493
- LastStatement = 255,
494
- FirstNode = 162,
495
- FirstJSDocNode = 311,
496
- LastJSDocNode = 349,
497
- FirstJSDocTagNode = 329,
498
- LastJSDocTagNode = 349,
493
+ FirstStatement = 240,
494
+ LastStatement = 256,
495
+ FirstNode = 163,
496
+ FirstJSDocNode = 312,
497
+ LastJSDocNode = 350,
498
+ FirstJSDocTagNode = 330,
499
+ LastJSDocTagNode = 350,
499
500
  }
500
501
  export type TriviaSyntaxKind = SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia;
501
502
  export type LiteralSyntaxKind = SyntaxKind.NumericLiteral | SyntaxKind.BigIntLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral;
502
503
  export type PseudoLiteralSyntaxKind = SyntaxKind.TemplateHead | SyntaxKind.TemplateMiddle | SyntaxKind.TemplateTail;
503
504
  export 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.BarBarToken | SyntaxKind.QuestionQuestionToken | 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;
504
- export type KeywordSyntaxKind = SyntaxKind.AbstractKeyword | 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;
505
- export type ModifierSyntaxKind = SyntaxKind.AbstractKeyword | 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;
505
+ export 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;
506
+ export 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;
506
507
  export 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;
507
508
  export type TokenSyntaxKind = SyntaxKind.Unknown | SyntaxKind.EndOfFileToken | TriviaSyntaxKind | LiteralSyntaxKind | PseudoLiteralSyntaxKind | PunctuationSyntaxKind | SyntaxKind.Identifier | KeywordSyntaxKind;
508
509
  export type JsxTokenSyntaxKind = SyntaxKind.LessThanSlashToken | SyntaxKind.EndOfFileToken | SyntaxKind.ConflictMarkerTrivia | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.OpenBraceToken | SyntaxKind.LessThanToken;
@@ -547,9 +548,10 @@ declare namespace ts {
547
548
  Protected = 16,
548
549
  Static = 32,
549
550
  Readonly = 64,
550
- Abstract = 128,
551
- Async = 256,
552
- Default = 512,
551
+ Accessor = 128,
552
+ Abstract = 256,
553
+ Async = 512,
554
+ Default = 1024,
553
555
  Const = 2048,
554
556
  HasComputedJSDocModifiers = 4096,
555
557
  Deprecated = 8192,
@@ -561,10 +563,10 @@ declare namespace ts {
561
563
  AccessibilityModifier = 28,
562
564
  ParameterPropertyModifier = 16476,
563
565
  NonPublicAccessibilityModifier = 24,
564
- TypeScriptModifier = 116958,
565
- ExportDefault = 513,
566
- All = 257023,
567
- Modifier = 125951
566
+ TypeScriptModifier = 117086,
567
+ ExportDefault = 1025,
568
+ All = 258047,
569
+ Modifier = 126975
568
570
  }
569
571
  export enum JsxFlags {
570
572
  None = 0,
@@ -620,6 +622,7 @@ declare namespace ts {
620
622
  export interface ModifierToken<TKind extends ModifierSyntaxKind> extends KeywordToken<TKind> {
621
623
  }
622
624
  export type AbstractKeyword = ModifierToken<SyntaxKind.AbstractKeyword>;
625
+ export type AccessorKeyword = ModifierToken<SyntaxKind.AccessorKeyword>;
623
626
  export type AsyncKeyword = ModifierToken<SyntaxKind.AsyncKeyword>;
624
627
  export type ConstKeyword = ModifierToken<SyntaxKind.ConstKeyword>;
625
628
  export type DeclareKeyword = ModifierToken<SyntaxKind.DeclareKeyword>;
@@ -635,11 +638,11 @@ declare namespace ts {
635
638
  export type StaticKeyword = ModifierToken<SyntaxKind.StaticKeyword>;
636
639
  /** @deprecated Use `ReadonlyKeyword` instead. */
637
640
  export type ReadonlyToken = ReadonlyKeyword;
638
- export type Modifier = AbstractKeyword | AsyncKeyword | ConstKeyword | DeclareKeyword | DefaultKeyword | ExportKeyword | InKeyword | PrivateKeyword | ProtectedKeyword | PublicKeyword | OutKeyword | OverrideKeyword | ReadonlyKeyword | StaticKeyword;
641
+ export type Modifier = AbstractKeyword | AccessorKeyword | AsyncKeyword | ConstKeyword | DeclareKeyword | DefaultKeyword | ExportKeyword | InKeyword | PrivateKeyword | ProtectedKeyword | PublicKeyword | OutKeyword | OverrideKeyword | ReadonlyKeyword | StaticKeyword;
639
642
  export type ModifierLike = Modifier | Decorator;
640
643
  export type AccessibilityModifier = PublicKeyword | PrivateKeyword | ProtectedKeyword;
641
644
  export type ParameterPropertyModifier = AccessibilityModifier | ReadonlyKeyword;
642
- export type ClassMemberModifier = AccessibilityModifier | ReadonlyKeyword | StaticKeyword;
645
+ export type ClassMemberModifier = AccessibilityModifier | ReadonlyKeyword | StaticKeyword | AccessorKeyword;
643
646
  export type ModifiersArray = NodeArray<Modifier>;
644
647
  export enum GeneratedIdentifierFlags {
645
648
  None = 0,
@@ -766,6 +769,9 @@ declare namespace ts {
766
769
  readonly type?: TypeNode;
767
770
  readonly initializer?: Expression;
768
771
  }
772
+ export interface AutoAccessorPropertyDeclaration extends PropertyDeclaration {
773
+ _autoAccessorBrand: any;
774
+ }
769
775
  export interface ObjectLiteralElement extends NamedDeclaration {
770
776
  _objectLiteralBrand: any;
771
777
  readonly name?: PropertyName;
@@ -2570,6 +2576,7 @@ declare namespace ts {
2570
2576
  MethodExcludes = 103359,
2571
2577
  GetAccessorExcludes = 46015,
2572
2578
  SetAccessorExcludes = 78783,
2579
+ AccessorExcludes = 13247,
2573
2580
  TypeParameterExcludes = 526824,
2574
2581
  TypeAliasExcludes = 788968,
2575
2582
  AliasExcludes = 2097152,
@@ -3395,7 +3402,7 @@ declare namespace ts {
3395
3402
  createNumericLiteral(value: string | number, numericLiteralFlags?: TokenFlags): NumericLiteral;
3396
3403
  createBigIntLiteral(value: string | PseudoBigInt): BigIntLiteral;
3397
3404
  createStringLiteral(text: string, isSingleQuote?: boolean): StringLiteral;
3398
- createStringLiteralFromNode(sourceNode: PropertyNameLiteral, isSingleQuote?: boolean): StringLiteral;
3405
+ createStringLiteralFromNode(sourceNode: PropertyNameLiteral | PrivateIdentifier, isSingleQuote?: boolean): StringLiteral;
3399
3406
  createRegularExpressionLiteral(text: string): RegularExpressionLiteral;
3400
3407
  createIdentifier(text: string): Identifier;
3401
3408
  /**
@@ -3420,6 +3427,8 @@ declare namespace ts {
3420
3427
  /** Create a unique name generated for a node. */
3421
3428
  getGeneratedNameForNode(node: Node | undefined, flags?: GeneratedIdentifierFlags): Identifier;
3422
3429
  createPrivateIdentifier(text: string): PrivateIdentifier;
3430
+ createUniquePrivateName(text?: string): PrivateIdentifier;
3431
+ getGeneratedPrivateNameForNode(node: Node): PrivateIdentifier;
3423
3432
  createToken(token: SyntaxKind.SuperKeyword): SuperExpression;
3424
3433
  createToken(token: SyntaxKind.ThisKeyword): ThisExpression;
3425
3434
  createToken(token: SyntaxKind.NullKeyword): NullLiteral;
@@ -3958,7 +3967,7 @@ declare namespace ts {
3958
3967
  <T extends Node>(nodes: NodeArray<T>, visitor: Visitor | undefined, test?: (node: Node) => boolean, start?: number, count?: number): NodeArray<T>;
3959
3968
  <T extends Node>(nodes: NodeArray<T> | undefined, visitor: Visitor | undefined, test?: (node: Node) => boolean, start?: number, count?: number): NodeArray<T> | undefined;
3960
3969
  }
3961
- export type VisitResult<T extends Node> = T | T[] | undefined;
3970
+ export type VisitResult<T extends Node> = T | readonly T[] | undefined;
3962
3971
  export interface Printer {
3963
3972
  /**
3964
3973
  * Print a node and its subtree as-is, without any emit transformations.
@@ -4525,6 +4534,7 @@ declare namespace ts {
4525
4534
  function isClassElement(node: Node): node is ClassElement;
4526
4535
  function isClassLike(node: Node): node is ClassLikeDeclaration;
4527
4536
  function isAccessor(node: Node): node is AccessorDeclaration;
4537
+ function isAutoAccessorPropertyDeclaration(node: Node): node is AutoAccessorPropertyDeclaration;
4528
4538
  function isModifierLike(node: Node): node is ModifierLike;
4529
4539
  function isTypeElement(node: Node): node is TypeElement;
4530
4540
  function isClassOrTypeElement(node: Node): node is ClassElement | TypeElement;
@@ -6537,7 +6547,7 @@ declare namespace ts {
6537
6547
  isGlobalCompletion: boolean;
6538
6548
  isMemberCompletion: boolean;
6539
6549
  /**
6540
- * In the absence of `CompletionEntry["replacementSpan"], the editor may choose whether to use
6550
+ * In the absence of `CompletionEntry["replacementSpan"]`, the editor may choose whether to use
6541
6551
  * this span or its default one. If `CompletionEntry["replacementSpan"]` is defined, that span
6542
6552
  * must be used to commit that completion entry.
6543
6553
  */
@@ -6750,6 +6760,8 @@ declare namespace ts {
6750
6760
  * interface Y { foo:number; }
6751
6761
  */
6752
6762
  memberVariableElement = "property",
6763
+ /** class X { [public|private]* accessor foo: number; } */
6764
+ memberAccessorVariableElement = "accessor",
6753
6765
  /**
6754
6766
  * class X { constructor() { } }
6755
6767
  * class X { static { } }
@@ -10896,7 +10908,7 @@ declare namespace ts {
10896
10908
  (text: string, isSingleQuote?: boolean | undefined, hasExtendedUnicodeEscape?: boolean | undefined): StringLiteral;
10897
10909
  };
10898
10910
  /** @deprecated Use `factory.createStringLiteralFromNode` or the factory supplied by your transformation context instead. */
10899
- const createStringLiteralFromNode: (sourceNode: PropertyNameLiteral, isSingleQuote?: boolean | undefined) => StringLiteral;
10911
+ const createStringLiteralFromNode: (sourceNode: PrivateIdentifier | PropertyNameLiteral, isSingleQuote?: boolean | undefined) => StringLiteral;
10900
10912
  /** @deprecated Use `factory.createRegularExpressionLiteral` or the factory supplied by your transformation context instead. */
10901
10913
  const createRegularExpressionLiteral: (text: string) => RegularExpressionLiteral;
10902
10914
  /** @deprecated Use `factory.createLoopVariable` or the factory supplied by your transformation context instead. */