typescript 4.7.0-dev.20220321 → 4.7.0-dev.20220325

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.
@@ -249,218 +249,219 @@ declare namespace ts {
249
249
  ModuleKeyword = 141,
250
250
  NamespaceKeyword = 142,
251
251
  NeverKeyword = 143,
252
- ReadonlyKeyword = 144,
253
- RequireKeyword = 145,
254
- NumberKeyword = 146,
255
- ObjectKeyword = 147,
256
- SetKeyword = 148,
257
- StringKeyword = 149,
258
- SymbolKeyword = 150,
259
- TypeKeyword = 151,
260
- UndefinedKeyword = 152,
261
- UniqueKeyword = 153,
262
- UnknownKeyword = 154,
263
- FromKeyword = 155,
264
- GlobalKeyword = 156,
265
- BigIntKeyword = 157,
266
- OverrideKeyword = 158,
267
- OfKeyword = 159,
268
- QualifiedName = 160,
269
- ComputedPropertyName = 161,
270
- TypeParameter = 162,
271
- Parameter = 163,
272
- Decorator = 164,
273
- PropertySignature = 165,
274
- PropertyDeclaration = 166,
275
- MethodSignature = 167,
276
- MethodDeclaration = 168,
277
- ClassStaticBlockDeclaration = 169,
278
- Constructor = 170,
279
- GetAccessor = 171,
280
- SetAccessor = 172,
281
- CallSignature = 173,
282
- ConstructSignature = 174,
283
- IndexSignature = 175,
284
- TypePredicate = 176,
285
- TypeReference = 177,
286
- FunctionType = 178,
287
- ConstructorType = 179,
288
- TypeQuery = 180,
289
- TypeLiteral = 181,
290
- ArrayType = 182,
291
- TupleType = 183,
292
- OptionalType = 184,
293
- RestType = 185,
294
- UnionType = 186,
295
- IntersectionType = 187,
296
- ConditionalType = 188,
297
- InferType = 189,
298
- ParenthesizedType = 190,
299
- ThisType = 191,
300
- TypeOperator = 192,
301
- IndexedAccessType = 193,
302
- MappedType = 194,
303
- LiteralType = 195,
304
- NamedTupleMember = 196,
305
- TemplateLiteralType = 197,
306
- TemplateLiteralTypeSpan = 198,
307
- ImportType = 199,
308
- ObjectBindingPattern = 200,
309
- ArrayBindingPattern = 201,
310
- BindingElement = 202,
311
- ArrayLiteralExpression = 203,
312
- ObjectLiteralExpression = 204,
313
- PropertyAccessExpression = 205,
314
- ElementAccessExpression = 206,
315
- CallExpression = 207,
316
- NewExpression = 208,
317
- TaggedTemplateExpression = 209,
318
- TypeAssertionExpression = 210,
319
- ParenthesizedExpression = 211,
320
- FunctionExpression = 212,
321
- ArrowFunction = 213,
322
- DeleteExpression = 214,
323
- TypeOfExpression = 215,
324
- VoidExpression = 216,
325
- AwaitExpression = 217,
326
- PrefixUnaryExpression = 218,
327
- PostfixUnaryExpression = 219,
328
- BinaryExpression = 220,
329
- ConditionalExpression = 221,
330
- TemplateExpression = 222,
331
- YieldExpression = 223,
332
- SpreadElement = 224,
333
- ClassExpression = 225,
334
- OmittedExpression = 226,
335
- ExpressionWithTypeArguments = 227,
336
- AsExpression = 228,
337
- NonNullExpression = 229,
338
- MetaProperty = 230,
339
- SyntheticExpression = 231,
340
- TemplateSpan = 232,
341
- SemicolonClassElement = 233,
342
- Block = 234,
343
- EmptyStatement = 235,
344
- VariableStatement = 236,
345
- ExpressionStatement = 237,
346
- IfStatement = 238,
347
- DoStatement = 239,
348
- WhileStatement = 240,
349
- ForStatement = 241,
350
- ForInStatement = 242,
351
- ForOfStatement = 243,
352
- ContinueStatement = 244,
353
- BreakStatement = 245,
354
- ReturnStatement = 246,
355
- WithStatement = 247,
356
- SwitchStatement = 248,
357
- LabeledStatement = 249,
358
- ThrowStatement = 250,
359
- TryStatement = 251,
360
- DebuggerStatement = 252,
361
- VariableDeclaration = 253,
362
- VariableDeclarationList = 254,
363
- FunctionDeclaration = 255,
364
- ClassDeclaration = 256,
365
- InterfaceDeclaration = 257,
366
- TypeAliasDeclaration = 258,
367
- EnumDeclaration = 259,
368
- ModuleDeclaration = 260,
369
- ModuleBlock = 261,
370
- CaseBlock = 262,
371
- NamespaceExportDeclaration = 263,
372
- ImportEqualsDeclaration = 264,
373
- ImportDeclaration = 265,
374
- ImportClause = 266,
375
- NamespaceImport = 267,
376
- NamedImports = 268,
377
- ImportSpecifier = 269,
378
- ExportAssignment = 270,
379
- ExportDeclaration = 271,
380
- NamedExports = 272,
381
- NamespaceExport = 273,
382
- ExportSpecifier = 274,
383
- MissingDeclaration = 275,
384
- ExternalModuleReference = 276,
385
- JsxElement = 277,
386
- JsxSelfClosingElement = 278,
387
- JsxOpeningElement = 279,
388
- JsxClosingElement = 280,
389
- JsxFragment = 281,
390
- JsxOpeningFragment = 282,
391
- JsxClosingFragment = 283,
392
- JsxAttribute = 284,
393
- JsxAttributes = 285,
394
- JsxSpreadAttribute = 286,
395
- JsxExpression = 287,
396
- CaseClause = 288,
397
- DefaultClause = 289,
398
- HeritageClause = 290,
399
- CatchClause = 291,
400
- AssertClause = 292,
401
- AssertEntry = 293,
402
- ImportTypeAssertionContainer = 294,
403
- PropertyAssignment = 295,
404
- ShorthandPropertyAssignment = 296,
405
- SpreadAssignment = 297,
406
- EnumMember = 298,
407
- UnparsedPrologue = 299,
408
- UnparsedPrepend = 300,
409
- UnparsedText = 301,
410
- UnparsedInternalText = 302,
411
- UnparsedSyntheticReference = 303,
412
- SourceFile = 304,
413
- Bundle = 305,
414
- UnparsedSource = 306,
415
- InputFiles = 307,
416
- JSDocTypeExpression = 308,
417
- JSDocNameReference = 309,
418
- JSDocMemberName = 310,
419
- JSDocAllType = 311,
420
- JSDocUnknownType = 312,
421
- JSDocNullableType = 313,
422
- JSDocNonNullableType = 314,
423
- JSDocOptionalType = 315,
424
- JSDocFunctionType = 316,
425
- JSDocVariadicType = 317,
426
- JSDocNamepathType = 318,
252
+ OutKeyword = 144,
253
+ ReadonlyKeyword = 145,
254
+ RequireKeyword = 146,
255
+ NumberKeyword = 147,
256
+ ObjectKeyword = 148,
257
+ SetKeyword = 149,
258
+ StringKeyword = 150,
259
+ SymbolKeyword = 151,
260
+ TypeKeyword = 152,
261
+ UndefinedKeyword = 153,
262
+ UniqueKeyword = 154,
263
+ UnknownKeyword = 155,
264
+ FromKeyword = 156,
265
+ GlobalKeyword = 157,
266
+ BigIntKeyword = 158,
267
+ OverrideKeyword = 159,
268
+ OfKeyword = 160,
269
+ QualifiedName = 161,
270
+ ComputedPropertyName = 162,
271
+ TypeParameter = 163,
272
+ Parameter = 164,
273
+ Decorator = 165,
274
+ PropertySignature = 166,
275
+ PropertyDeclaration = 167,
276
+ MethodSignature = 168,
277
+ MethodDeclaration = 169,
278
+ ClassStaticBlockDeclaration = 170,
279
+ Constructor = 171,
280
+ GetAccessor = 172,
281
+ SetAccessor = 173,
282
+ CallSignature = 174,
283
+ ConstructSignature = 175,
284
+ IndexSignature = 176,
285
+ TypePredicate = 177,
286
+ TypeReference = 178,
287
+ FunctionType = 179,
288
+ ConstructorType = 180,
289
+ TypeQuery = 181,
290
+ TypeLiteral = 182,
291
+ ArrayType = 183,
292
+ TupleType = 184,
293
+ OptionalType = 185,
294
+ RestType = 186,
295
+ UnionType = 187,
296
+ IntersectionType = 188,
297
+ ConditionalType = 189,
298
+ InferType = 190,
299
+ ParenthesizedType = 191,
300
+ ThisType = 192,
301
+ TypeOperator = 193,
302
+ IndexedAccessType = 194,
303
+ MappedType = 195,
304
+ LiteralType = 196,
305
+ NamedTupleMember = 197,
306
+ TemplateLiteralType = 198,
307
+ TemplateLiteralTypeSpan = 199,
308
+ ImportType = 200,
309
+ ObjectBindingPattern = 201,
310
+ ArrayBindingPattern = 202,
311
+ BindingElement = 203,
312
+ ArrayLiteralExpression = 204,
313
+ ObjectLiteralExpression = 205,
314
+ PropertyAccessExpression = 206,
315
+ ElementAccessExpression = 207,
316
+ CallExpression = 208,
317
+ NewExpression = 209,
318
+ TaggedTemplateExpression = 210,
319
+ TypeAssertionExpression = 211,
320
+ ParenthesizedExpression = 212,
321
+ FunctionExpression = 213,
322
+ ArrowFunction = 214,
323
+ DeleteExpression = 215,
324
+ TypeOfExpression = 216,
325
+ VoidExpression = 217,
326
+ AwaitExpression = 218,
327
+ PrefixUnaryExpression = 219,
328
+ PostfixUnaryExpression = 220,
329
+ BinaryExpression = 221,
330
+ ConditionalExpression = 222,
331
+ TemplateExpression = 223,
332
+ YieldExpression = 224,
333
+ SpreadElement = 225,
334
+ ClassExpression = 226,
335
+ OmittedExpression = 227,
336
+ ExpressionWithTypeArguments = 228,
337
+ AsExpression = 229,
338
+ NonNullExpression = 230,
339
+ MetaProperty = 231,
340
+ SyntheticExpression = 232,
341
+ TemplateSpan = 233,
342
+ SemicolonClassElement = 234,
343
+ Block = 235,
344
+ EmptyStatement = 236,
345
+ VariableStatement = 237,
346
+ ExpressionStatement = 238,
347
+ IfStatement = 239,
348
+ DoStatement = 240,
349
+ WhileStatement = 241,
350
+ ForStatement = 242,
351
+ ForInStatement = 243,
352
+ ForOfStatement = 244,
353
+ ContinueStatement = 245,
354
+ BreakStatement = 246,
355
+ ReturnStatement = 247,
356
+ WithStatement = 248,
357
+ SwitchStatement = 249,
358
+ LabeledStatement = 250,
359
+ ThrowStatement = 251,
360
+ TryStatement = 252,
361
+ DebuggerStatement = 253,
362
+ VariableDeclaration = 254,
363
+ VariableDeclarationList = 255,
364
+ FunctionDeclaration = 256,
365
+ ClassDeclaration = 257,
366
+ InterfaceDeclaration = 258,
367
+ TypeAliasDeclaration = 259,
368
+ EnumDeclaration = 260,
369
+ ModuleDeclaration = 261,
370
+ ModuleBlock = 262,
371
+ CaseBlock = 263,
372
+ NamespaceExportDeclaration = 264,
373
+ ImportEqualsDeclaration = 265,
374
+ ImportDeclaration = 266,
375
+ ImportClause = 267,
376
+ NamespaceImport = 268,
377
+ NamedImports = 269,
378
+ ImportSpecifier = 270,
379
+ ExportAssignment = 271,
380
+ ExportDeclaration = 272,
381
+ NamedExports = 273,
382
+ NamespaceExport = 274,
383
+ ExportSpecifier = 275,
384
+ MissingDeclaration = 276,
385
+ ExternalModuleReference = 277,
386
+ JsxElement = 278,
387
+ JsxSelfClosingElement = 279,
388
+ JsxOpeningElement = 280,
389
+ JsxClosingElement = 281,
390
+ JsxFragment = 282,
391
+ JsxOpeningFragment = 283,
392
+ JsxClosingFragment = 284,
393
+ JsxAttribute = 285,
394
+ JsxAttributes = 286,
395
+ JsxSpreadAttribute = 287,
396
+ JsxExpression = 288,
397
+ CaseClause = 289,
398
+ DefaultClause = 290,
399
+ HeritageClause = 291,
400
+ CatchClause = 292,
401
+ AssertClause = 293,
402
+ AssertEntry = 294,
403
+ ImportTypeAssertionContainer = 295,
404
+ PropertyAssignment = 296,
405
+ ShorthandPropertyAssignment = 297,
406
+ SpreadAssignment = 298,
407
+ EnumMember = 299,
408
+ UnparsedPrologue = 300,
409
+ UnparsedPrepend = 301,
410
+ UnparsedText = 302,
411
+ UnparsedInternalText = 303,
412
+ UnparsedSyntheticReference = 304,
413
+ SourceFile = 305,
414
+ Bundle = 306,
415
+ UnparsedSource = 307,
416
+ InputFiles = 308,
417
+ JSDocTypeExpression = 309,
418
+ JSDocNameReference = 310,
419
+ JSDocMemberName = 311,
420
+ JSDocAllType = 312,
421
+ JSDocUnknownType = 313,
422
+ JSDocNullableType = 314,
423
+ JSDocNonNullableType = 315,
424
+ JSDocOptionalType = 316,
425
+ JSDocFunctionType = 317,
426
+ JSDocVariadicType = 318,
427
+ JSDocNamepathType = 319,
427
428
  /** @deprecated Use SyntaxKind.JSDoc */
428
- JSDocComment = 319,
429
- JSDocText = 320,
430
- JSDocTypeLiteral = 321,
431
- JSDocSignature = 322,
432
- JSDocLink = 323,
433
- JSDocLinkCode = 324,
434
- JSDocLinkPlain = 325,
435
- JSDocTag = 326,
436
- JSDocAugmentsTag = 327,
437
- JSDocImplementsTag = 328,
438
- JSDocAuthorTag = 329,
439
- JSDocDeprecatedTag = 330,
440
- JSDocClassTag = 331,
441
- JSDocPublicTag = 332,
442
- JSDocPrivateTag = 333,
443
- JSDocProtectedTag = 334,
444
- JSDocReadonlyTag = 335,
445
- JSDocOverrideTag = 336,
446
- JSDocCallbackTag = 337,
447
- JSDocEnumTag = 338,
448
- JSDocParameterTag = 339,
449
- JSDocReturnTag = 340,
450
- JSDocThisTag = 341,
451
- JSDocTypeTag = 342,
452
- JSDocTemplateTag = 343,
453
- JSDocTypedefTag = 344,
454
- JSDocSeeTag = 345,
455
- JSDocPropertyTag = 346,
456
- SyntaxList = 347,
457
- NotEmittedStatement = 348,
458
- PartiallyEmittedExpression = 349,
459
- CommaListExpression = 350,
460
- MergeDeclarationMarker = 351,
461
- EndOfDeclarationMarker = 352,
462
- SyntheticReferenceExpression = 353,
463
- Count = 354,
429
+ JSDocComment = 320,
430
+ JSDocText = 321,
431
+ JSDocTypeLiteral = 322,
432
+ JSDocSignature = 323,
433
+ JSDocLink = 324,
434
+ JSDocLinkCode = 325,
435
+ JSDocLinkPlain = 326,
436
+ JSDocTag = 327,
437
+ JSDocAugmentsTag = 328,
438
+ JSDocImplementsTag = 329,
439
+ JSDocAuthorTag = 330,
440
+ JSDocDeprecatedTag = 331,
441
+ JSDocClassTag = 332,
442
+ JSDocPublicTag = 333,
443
+ JSDocPrivateTag = 334,
444
+ JSDocProtectedTag = 335,
445
+ JSDocReadonlyTag = 336,
446
+ JSDocOverrideTag = 337,
447
+ JSDocCallbackTag = 338,
448
+ JSDocEnumTag = 339,
449
+ JSDocParameterTag = 340,
450
+ JSDocReturnTag = 341,
451
+ JSDocThisTag = 342,
452
+ JSDocTypeTag = 343,
453
+ JSDocTemplateTag = 344,
454
+ JSDocTypedefTag = 345,
455
+ JSDocSeeTag = 346,
456
+ JSDocPropertyTag = 347,
457
+ SyntaxList = 348,
458
+ NotEmittedStatement = 349,
459
+ PartiallyEmittedExpression = 350,
460
+ CommaListExpression = 351,
461
+ MergeDeclarationMarker = 352,
462
+ EndOfDeclarationMarker = 353,
463
+ SyntheticReferenceExpression = 354,
464
+ Count = 355,
464
465
  FirstAssignment = 63,
465
466
  LastAssignment = 78,
466
467
  FirstCompoundAssignment = 64,
@@ -468,15 +469,15 @@ declare namespace ts {
468
469
  FirstReservedWord = 81,
469
470
  LastReservedWord = 116,
470
471
  FirstKeyword = 81,
471
- LastKeyword = 159,
472
+ LastKeyword = 160,
472
473
  FirstFutureReservedWord = 117,
473
474
  LastFutureReservedWord = 125,
474
- FirstTypeNode = 176,
475
- LastTypeNode = 199,
475
+ FirstTypeNode = 177,
476
+ LastTypeNode = 200,
476
477
  FirstPunctuation = 18,
477
478
  LastPunctuation = 78,
478
479
  FirstToken = 0,
479
- LastToken = 159,
480
+ LastToken = 160,
480
481
  FirstTriviaToken = 2,
481
482
  LastTriviaToken = 7,
482
483
  FirstLiteralToken = 8,
@@ -485,21 +486,21 @@ declare namespace ts {
485
486
  LastTemplateToken = 17,
486
487
  FirstBinaryOperator = 29,
487
488
  LastBinaryOperator = 78,
488
- FirstStatement = 236,
489
- LastStatement = 252,
490
- FirstNode = 160,
491
- FirstJSDocNode = 308,
492
- LastJSDocNode = 346,
493
- FirstJSDocTagNode = 326,
494
- LastJSDocTagNode = 346,
495
- JSDoc = 319
489
+ FirstStatement = 237,
490
+ LastStatement = 253,
491
+ FirstNode = 161,
492
+ FirstJSDocNode = 309,
493
+ LastJSDocNode = 347,
494
+ FirstJSDocTagNode = 327,
495
+ LastJSDocTagNode = 347,
496
+ JSDoc = 320
496
497
  }
497
498
  export type TriviaSyntaxKind = SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia;
498
499
  export type LiteralSyntaxKind = SyntaxKind.NumericLiteral | SyntaxKind.BigIntLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral;
499
500
  export type PseudoLiteralSyntaxKind = SyntaxKind.TemplateHead | SyntaxKind.TemplateMiddle | SyntaxKind.TemplateTail;
500
501
  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;
501
- 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.OverrideKeyword | SyntaxKind.RequireKeyword | SyntaxKind.ReturnKeyword | 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;
502
- export type ModifierSyntaxKind = SyntaxKind.AbstractKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.ConstKeyword | SyntaxKind.DeclareKeyword | SyntaxKind.DefaultKeyword | SyntaxKind.ExportKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.OverrideKeyword | SyntaxKind.StaticKeyword;
502
+ 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.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;
503
+ 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;
503
504
  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;
504
505
  export type TokenSyntaxKind = SyntaxKind.Unknown | SyntaxKind.EndOfFileToken | TriviaSyntaxKind | LiteralSyntaxKind | PseudoLiteralSyntaxKind | PunctuationSyntaxKind | SyntaxKind.Identifier | KeywordSyntaxKind;
505
506
  export type JsxTokenSyntaxKind = SyntaxKind.LessThanSlashToken | SyntaxKind.EndOfFileToken | SyntaxKind.ConflictMarkerTrivia | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.OpenBraceToken | SyntaxKind.LessThanToken;
@@ -550,13 +551,15 @@ declare namespace ts {
550
551
  HasComputedJSDocModifiers = 4096,
551
552
  Deprecated = 8192,
552
553
  Override = 16384,
554
+ In = 32768,
555
+ Out = 65536,
553
556
  HasComputedFlags = 536870912,
554
557
  AccessibilityModifier = 28,
555
558
  ParameterPropertyModifier = 16476,
556
559
  NonPublicAccessibilityModifier = 24,
557
- TypeScriptModifier = 18654,
560
+ TypeScriptModifier = 116958,
558
561
  ExportDefault = 513,
559
- All = 27647
562
+ All = 125951
560
563
  }
561
564
  export enum JsxFlags {
562
565
  None = 0,
@@ -617,15 +620,17 @@ declare namespace ts {
617
620
  export type DeclareKeyword = ModifierToken<SyntaxKind.DeclareKeyword>;
618
621
  export type DefaultKeyword = ModifierToken<SyntaxKind.DefaultKeyword>;
619
622
  export type ExportKeyword = ModifierToken<SyntaxKind.ExportKeyword>;
623
+ export type InKeyword = ModifierToken<SyntaxKind.InKeyword>;
620
624
  export type PrivateKeyword = ModifierToken<SyntaxKind.PrivateKeyword>;
621
625
  export type ProtectedKeyword = ModifierToken<SyntaxKind.ProtectedKeyword>;
622
626
  export type PublicKeyword = ModifierToken<SyntaxKind.PublicKeyword>;
623
627
  export type ReadonlyKeyword = ModifierToken<SyntaxKind.ReadonlyKeyword>;
628
+ export type OutKeyword = ModifierToken<SyntaxKind.OutKeyword>;
624
629
  export type OverrideKeyword = ModifierToken<SyntaxKind.OverrideKeyword>;
625
630
  export type StaticKeyword = ModifierToken<SyntaxKind.StaticKeyword>;
626
631
  /** @deprecated Use `ReadonlyKeyword` instead. */
627
632
  export type ReadonlyToken = ReadonlyKeyword;
628
- export type Modifier = AbstractKeyword | AsyncKeyword | ConstKeyword | DeclareKeyword | DefaultKeyword | ExportKeyword | PrivateKeyword | ProtectedKeyword | PublicKeyword | OverrideKeyword | ReadonlyKeyword | StaticKeyword;
633
+ export type Modifier = AbstractKeyword | AsyncKeyword | ConstKeyword | DeclareKeyword | DefaultKeyword | ExportKeyword | InKeyword | PrivateKeyword | ProtectedKeyword | PublicKeyword | OutKeyword | OverrideKeyword | ReadonlyKeyword | StaticKeyword;
629
634
  export type AccessibilityModifier = PublicKeyword | PrivateKeyword | ProtectedKeyword;
630
635
  export type ParameterPropertyModifier = AccessibilityModifier | ReadonlyKeyword;
631
636
  export type ClassMemberModifier = AccessibilityModifier | ReadonlyKeyword | StaticKeyword;
@@ -2670,14 +2675,13 @@ declare namespace ts {
2670
2675
  ObjectLiteralPatternWithComputedProperties = 512,
2671
2676
  ReverseMapped = 1024,
2672
2677
  JsxAttributes = 2048,
2673
- MarkerType = 4096,
2674
- JSLiteral = 8192,
2675
- FreshLiteral = 16384,
2676
- ArrayLiteral = 32768,
2678
+ JSLiteral = 4096,
2679
+ FreshLiteral = 8192,
2680
+ ArrayLiteral = 16384,
2677
2681
  ClassOrInterface = 3,
2678
- ContainsSpread = 4194304,
2679
- ObjectRestType = 8388608,
2680
- InstantiationExpressionType = 16777216,
2682
+ ContainsSpread = 2097152,
2683
+ ObjectRestType = 4194304,
2684
+ InstantiationExpressionType = 8388608,
2681
2685
  }
2682
2686
  export interface ObjectType extends Type {
2683
2687
  objectFlags: ObjectFlags;
@@ -3392,7 +3396,11 @@ declare namespace ts {
3392
3396
  updateQualifiedName(node: QualifiedName, left: EntityName, right: Identifier): QualifiedName;
3393
3397
  createComputedPropertyName(expression: Expression): ComputedPropertyName;
3394
3398
  updateComputedPropertyName(node: ComputedPropertyName, expression: Expression): ComputedPropertyName;
3399
+ createTypeParameterDeclaration(modifiers: readonly Modifier[] | undefined, name: string | Identifier, constraint?: TypeNode, defaultType?: TypeNode): TypeParameterDeclaration;
3400
+ /** @deprecated */
3395
3401
  createTypeParameterDeclaration(name: string | Identifier, constraint?: TypeNode, defaultType?: TypeNode): TypeParameterDeclaration;
3402
+ updateTypeParameterDeclaration(node: TypeParameterDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined): TypeParameterDeclaration;
3403
+ /** @deprecated */
3396
3404
  updateTypeParameterDeclaration(node: TypeParameterDeclaration, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined): TypeParameterDeclaration;
3397
3405
  createParameterDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken?: QuestionToken, type?: TypeNode, initializer?: Expression): ParameterDeclaration;
3398
3406
  updateParameterDeclaration(node: ParameterDeclaration, decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken: QuestionToken | undefined, type: TypeNode | undefined, initializer: Expression | undefined): ParameterDeclaration;
@@ -6940,9 +6948,15 @@ declare namespace ts {
6940
6948
  /** @deprecated Use `factory.updateComputedPropertyName` or the factory supplied by your transformation context instead. */
6941
6949
  const updateComputedPropertyName: (node: ComputedPropertyName, expression: Expression) => ComputedPropertyName;
6942
6950
  /** @deprecated Use `factory.createTypeParameterDeclaration` or the factory supplied by your transformation context instead. */
6943
- const createTypeParameterDeclaration: (name: string | Identifier, constraint?: TypeNode | undefined, defaultType?: TypeNode | undefined) => TypeParameterDeclaration;
6951
+ const createTypeParameterDeclaration: {
6952
+ (modifiers: readonly Modifier[] | undefined, name: string | Identifier, constraint?: TypeNode | undefined, defaultType?: TypeNode | undefined): TypeParameterDeclaration;
6953
+ (name: string | Identifier, constraint?: TypeNode | undefined, defaultType?: TypeNode | undefined): TypeParameterDeclaration;
6954
+ };
6944
6955
  /** @deprecated Use `factory.updateTypeParameterDeclaration` or the factory supplied by your transformation context instead. */
6945
- const updateTypeParameterDeclaration: (node: TypeParameterDeclaration, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined) => TypeParameterDeclaration;
6956
+ const updateTypeParameterDeclaration: {
6957
+ (node: TypeParameterDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined): TypeParameterDeclaration;
6958
+ (node: TypeParameterDeclaration, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined): TypeParameterDeclaration;
6959
+ };
6946
6960
  /** @deprecated Use `factory.createParameterDeclaration` or the factory supplied by your transformation context instead. */
6947
6961
  const createParameter: (decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken?: QuestionToken | undefined, type?: TypeNode | undefined, initializer?: Expression | undefined) => ParameterDeclaration;
6948
6962
  /** @deprecated Use `factory.updateParameterDeclaration` or the factory supplied by your transformation context instead. */