@typescript-deploys/pr-build 4.7.0-pr-36747-12 → 4.7.0-pr-48581-7

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;
@@ -522,16 +523,17 @@ declare namespace ts {
522
523
  YieldContext = 8192,
523
524
  DecoratorContext = 16384,
524
525
  AwaitContext = 32768,
525
- ThisNodeHasError = 65536,
526
- JavaScriptFile = 131072,
527
- ThisNodeOrAnySubNodesHasError = 262144,
528
- HasAggregatedChildData = 524288,
529
- JSDoc = 4194304,
530
- JsonFile = 33554432,
526
+ DisallowConditionalTypesContext = 65536,
527
+ ThisNodeHasError = 131072,
528
+ JavaScriptFile = 262144,
529
+ ThisNodeOrAnySubNodesHasError = 524288,
530
+ HasAggregatedChildData = 1048576,
531
+ JSDoc = 8388608,
532
+ JsonFile = 67108864,
531
533
  BlockScoped = 3,
532
534
  ReachabilityCheckFlags = 768,
533
535
  ReachabilityAndEmitFlags = 2816,
534
- ContextFlags = 25358336,
536
+ ContextFlags = 50720768,
535
537
  TypeExcludesFlags = 40960,
536
538
  }
537
539
  export enum ModifierFlags {
@@ -550,13 +552,15 @@ declare namespace ts {
550
552
  HasComputedJSDocModifiers = 4096,
551
553
  Deprecated = 8192,
552
554
  Override = 16384,
555
+ In = 32768,
556
+ Out = 65536,
553
557
  HasComputedFlags = 536870912,
554
558
  AccessibilityModifier = 28,
555
559
  ParameterPropertyModifier = 16476,
556
560
  NonPublicAccessibilityModifier = 24,
557
- TypeScriptModifier = 18654,
561
+ TypeScriptModifier = 116958,
558
562
  ExportDefault = 513,
559
- All = 27647
563
+ All = 125951
560
564
  }
561
565
  export enum JsxFlags {
562
566
  None = 0,
@@ -617,15 +621,17 @@ declare namespace ts {
617
621
  export type DeclareKeyword = ModifierToken<SyntaxKind.DeclareKeyword>;
618
622
  export type DefaultKeyword = ModifierToken<SyntaxKind.DefaultKeyword>;
619
623
  export type ExportKeyword = ModifierToken<SyntaxKind.ExportKeyword>;
624
+ export type InKeyword = ModifierToken<SyntaxKind.InKeyword>;
620
625
  export type PrivateKeyword = ModifierToken<SyntaxKind.PrivateKeyword>;
621
626
  export type ProtectedKeyword = ModifierToken<SyntaxKind.ProtectedKeyword>;
622
627
  export type PublicKeyword = ModifierToken<SyntaxKind.PublicKeyword>;
623
628
  export type ReadonlyKeyword = ModifierToken<SyntaxKind.ReadonlyKeyword>;
629
+ export type OutKeyword = ModifierToken<SyntaxKind.OutKeyword>;
624
630
  export type OverrideKeyword = ModifierToken<SyntaxKind.OverrideKeyword>;
625
631
  export type StaticKeyword = ModifierToken<SyntaxKind.StaticKeyword>;
626
632
  /** @deprecated Use `ReadonlyKeyword` instead. */
627
633
  export type ReadonlyToken = ReadonlyKeyword;
628
- export type Modifier = AbstractKeyword | AsyncKeyword | ConstKeyword | DeclareKeyword | DefaultKeyword | ExportKeyword | PrivateKeyword | ProtectedKeyword | PublicKeyword | OverrideKeyword | ReadonlyKeyword | StaticKeyword;
634
+ export type Modifier = AbstractKeyword | AsyncKeyword | ConstKeyword | DeclareKeyword | DefaultKeyword | ExportKeyword | InKeyword | PrivateKeyword | ProtectedKeyword | PublicKeyword | OutKeyword | OverrideKeyword | ReadonlyKeyword | StaticKeyword;
629
635
  export type AccessibilityModifier = PublicKeyword | PrivateKeyword | ProtectedKeyword;
630
636
  export type ParameterPropertyModifier = AccessibilityModifier | ReadonlyKeyword;
631
637
  export type ClassMemberModifier = AccessibilityModifier | ReadonlyKeyword | StaticKeyword;
@@ -1800,10 +1806,12 @@ declare namespace ts {
1800
1806
  export interface JSDocNonNullableType extends JSDocType {
1801
1807
  readonly kind: SyntaxKind.JSDocNonNullableType;
1802
1808
  readonly type: TypeNode;
1809
+ readonly postfix: boolean;
1803
1810
  }
1804
1811
  export interface JSDocNullableType extends JSDocType {
1805
1812
  readonly kind: SyntaxKind.JSDocNullableType;
1806
1813
  readonly type: TypeNode;
1814
+ readonly postfix: boolean;
1807
1815
  }
1808
1816
  export interface JSDocOptionalType extends JSDocType {
1809
1817
  readonly kind: SyntaxKind.JSDocOptionalType;
@@ -1978,7 +1986,7 @@ declare namespace ts {
1978
1986
  Label = 12,
1979
1987
  Condition = 96
1980
1988
  }
1981
- export type FlowNode = FlowStart | FlowLabel | FlowAssignment | FlowCall | FlowCondition | FlowSwitchClause | FlowArrayMutation | FlowCall | FlowReduceLabel;
1989
+ export type FlowNode = FlowStart | FlowLabel | FlowAssignment | FlowCondition | FlowSwitchClause | FlowArrayMutation | FlowCall | FlowReduceLabel;
1982
1990
  export interface FlowNodeBase {
1983
1991
  flags: FlowFlags;
1984
1992
  id?: number;
@@ -2670,14 +2678,13 @@ declare namespace ts {
2670
2678
  ObjectLiteralPatternWithComputedProperties = 512,
2671
2679
  ReverseMapped = 1024,
2672
2680
  JsxAttributes = 2048,
2673
- MarkerType = 4096,
2674
- JSLiteral = 8192,
2675
- FreshLiteral = 16384,
2676
- ArrayLiteral = 32768,
2681
+ JSLiteral = 4096,
2682
+ FreshLiteral = 8192,
2683
+ ArrayLiteral = 16384,
2677
2684
  ClassOrInterface = 3,
2678
- ContainsSpread = 4194304,
2679
- ObjectRestType = 8388608,
2680
- InstantiationExpressionType = 16777216,
2685
+ ContainsSpread = 2097152,
2686
+ ObjectRestType = 4194304,
2687
+ InstantiationExpressionType = 8388608,
2681
2688
  }
2682
2689
  export interface ObjectType extends Type {
2683
2690
  objectFlags: ObjectFlags;
@@ -2973,6 +2980,7 @@ declare namespace ts {
2973
2980
  maxNodeModuleJsDepth?: number;
2974
2981
  module?: ModuleKind;
2975
2982
  moduleResolution?: ModuleResolutionKind;
2983
+ moduleSuffixes?: string[];
2976
2984
  moduleDetection?: ModuleDetectionKind;
2977
2985
  newLine?: NewLineKind;
2978
2986
  noEmit?: boolean;
@@ -3159,7 +3167,7 @@ declare namespace ts {
3159
3167
  realpath?(path: string): string;
3160
3168
  getCurrentDirectory?(): string;
3161
3169
  getDirectories?(path: string): string[];
3162
- useCaseSensitiveFileNames?: boolean | (() => boolean);
3170
+ useCaseSensitiveFileNames?: boolean | (() => boolean) | undefined;
3163
3171
  }
3164
3172
  /**
3165
3173
  * Used by services to specify the minimum host area required to set up source files under any compilation settings
@@ -3392,7 +3400,11 @@ declare namespace ts {
3392
3400
  updateQualifiedName(node: QualifiedName, left: EntityName, right: Identifier): QualifiedName;
3393
3401
  createComputedPropertyName(expression: Expression): ComputedPropertyName;
3394
3402
  updateComputedPropertyName(node: ComputedPropertyName, expression: Expression): ComputedPropertyName;
3403
+ createTypeParameterDeclaration(modifiers: readonly Modifier[] | undefined, name: string | Identifier, constraint?: TypeNode, defaultType?: TypeNode): TypeParameterDeclaration;
3404
+ /** @deprecated */
3395
3405
  createTypeParameterDeclaration(name: string | Identifier, constraint?: TypeNode, defaultType?: TypeNode): TypeParameterDeclaration;
3406
+ updateTypeParameterDeclaration(node: TypeParameterDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined): TypeParameterDeclaration;
3407
+ /** @deprecated */
3396
3408
  updateTypeParameterDeclaration(node: TypeParameterDeclaration, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined): TypeParameterDeclaration;
3397
3409
  createParameterDeclaration(decorators: readonly Decorator[] | undefined, modifiers: readonly Modifier[] | undefined, dotDotDotToken: DotDotDotToken | undefined, name: string | BindingName, questionToken?: QuestionToken, type?: TypeNode, initializer?: Expression): ParameterDeclaration;
3398
3410
  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;
@@ -3645,9 +3657,9 @@ declare namespace ts {
3645
3657
  updateExternalModuleReference(node: ExternalModuleReference, expression: Expression): ExternalModuleReference;
3646
3658
  createJSDocAllType(): JSDocAllType;
3647
3659
  createJSDocUnknownType(): JSDocUnknownType;
3648
- createJSDocNonNullableType(type: TypeNode): JSDocNonNullableType;
3660
+ createJSDocNonNullableType(type: TypeNode, postfix?: boolean): JSDocNonNullableType;
3649
3661
  updateJSDocNonNullableType(node: JSDocNonNullableType, type: TypeNode): JSDocNonNullableType;
3650
- createJSDocNullableType(type: TypeNode): JSDocNullableType;
3662
+ createJSDocNullableType(type: TypeNode, postfix?: boolean): JSDocNullableType;
3651
3663
  updateJSDocNullableType(node: JSDocNullableType, type: TypeNode): JSDocNullableType;
3652
3664
  createJSDocOptionalType(type: TypeNode): JSDocOptionalType;
3653
3665
  updateJSDocOptionalType(node: JSDocOptionalType, type: TypeNode): JSDocOptionalType;
@@ -4091,6 +4103,8 @@ declare namespace ts {
4091
4103
  readonly includeAutomaticOptionalChainCompletions?: boolean;
4092
4104
  readonly includeCompletionsWithInsertText?: boolean;
4093
4105
  readonly includeCompletionsWithClassMemberSnippets?: boolean;
4106
+ readonly includeCompletionsWithObjectLiteralMethodSnippets?: boolean;
4107
+ readonly useLabelDetailsInCompletionEntries?: boolean;
4094
4108
  readonly allowIncompleteCompletions?: boolean;
4095
4109
  readonly importModuleSpecifierPreference?: "shortest" | "project-relative" | "relative" | "non-relative";
4096
4110
  /** Determines whether we import `foo/index.ts` as "foo", "foo/index", or "foo/index.js" */
@@ -6195,7 +6209,6 @@ declare namespace ts {
6195
6209
  }
6196
6210
  interface ReferenceEntry extends DocumentSpan {
6197
6211
  isWriteAccess: boolean;
6198
- isDefinition: boolean;
6199
6212
  isInString?: true;
6200
6213
  }
6201
6214
  interface ImplementationLocation extends DocumentSpan {
@@ -6309,7 +6322,10 @@ declare namespace ts {
6309
6322
  }
6310
6323
  interface ReferencedSymbol {
6311
6324
  definition: ReferencedSymbolDefinitionInfo;
6312
- references: ReferenceEntry[];
6325
+ references: ReferencedSymbolEntry[];
6326
+ }
6327
+ interface ReferencedSymbolEntry extends ReferenceEntry {
6328
+ isDefinition?: boolean;
6313
6329
  }
6314
6330
  enum SymbolDisplayPartKind {
6315
6331
  aliasName = 0,
@@ -6476,6 +6492,7 @@ declare namespace ts {
6476
6492
  hasAction?: true;
6477
6493
  source?: string;
6478
6494
  sourceDisplay?: SymbolDisplayPart[];
6495
+ labelDetails?: CompletionEntryLabelDetails;
6479
6496
  isRecommended?: true;
6480
6497
  isFromUncheckedFile?: true;
6481
6498
  isPackageJsonImport?: true;
@@ -6490,6 +6507,10 @@ declare namespace ts {
6490
6507
  */
6491
6508
  data?: CompletionEntryData;
6492
6509
  }
6510
+ interface CompletionEntryLabelDetails {
6511
+ detail?: string;
6512
+ description?: string;
6513
+ }
6493
6514
  interface CompletionEntryDetails {
6494
6515
  name: string;
6495
6516
  kind: ScriptElementKind;
@@ -7836,9 +7857,12 @@ declare namespace ts.server.protocol {
7836
7857
  */
7837
7858
  isWriteAccess: boolean;
7838
7859
  /**
7839
- * True if reference is a definition, false otherwise.
7860
+ * Present only if the search was triggered from a declaration.
7861
+ * True indicates that the references refers to the same symbol
7862
+ * (i.e. has the same meaning) as the declaration that began the
7863
+ * search.
7840
7864
  */
7841
- isDefinition: boolean;
7865
+ isDefinition?: boolean;
7842
7866
  }
7843
7867
  /**
7844
7868
  * The body of a "references" response message.
@@ -8699,6 +8723,10 @@ declare namespace ts.server.protocol {
8699
8723
  * Human-readable description of the `source`.
8700
8724
  */
8701
8725
  sourceDisplay?: SymbolDisplayPart[];
8726
+ /**
8727
+ * Additional details for the label.
8728
+ */
8729
+ labelDetails?: CompletionEntryLabelDetails;
8702
8730
  /**
8703
8731
  * If true, this completion should be highlighted as recommended. There will only be one of these.
8704
8732
  * This will be set when we know the user should write an expression with a certain type and that type is an enum or constructable class.
@@ -8727,6 +8755,20 @@ declare namespace ts.server.protocol {
8727
8755
  */
8728
8756
  data?: unknown;
8729
8757
  }
8758
+ interface CompletionEntryLabelDetails {
8759
+ /**
8760
+ * An optional string which is rendered less prominently directly after
8761
+ * {@link CompletionEntry.name name}, without any spacing. Should be
8762
+ * used for function signatures or type annotations.
8763
+ */
8764
+ detail?: string;
8765
+ /**
8766
+ * An optional string which is rendered less prominently after
8767
+ * {@link CompletionEntryLabelDetails.detail}. Should be used for fully qualified
8768
+ * names or file path.
8769
+ */
8770
+ description?: string;
8771
+ }
8730
8772
  /**
8731
8773
  * Additional completion entry details, available on demand
8732
8774
  */
@@ -9620,6 +9662,18 @@ declare namespace ts.server.protocol {
9620
9662
  * `class A { foo }`.
9621
9663
  */
9622
9664
  readonly includeCompletionsWithClassMemberSnippets?: boolean;
9665
+ /**
9666
+ * If enabled, object literal methods will have a method declaration completion entry in addition
9667
+ * to the regular completion entry containing just the method name.
9668
+ * E.g., `const objectLiteral: T = { f| }` could be completed to `const objectLiteral: T = { foo(): void {} }`,
9669
+ * in addition to `const objectLiteral: T = { foo }`.
9670
+ */
9671
+ readonly includeCompletionsWithObjectLiteralMethodSnippets?: boolean;
9672
+ /**
9673
+ * Indicates whether {@link CompletionEntry.labelDetails completion entry label details} are supported.
9674
+ * If not, contents of `labelDetails` may be included in the {@link CompletionEntry.name} property.
9675
+ */
9676
+ readonly useLabelDetailsInCompletionEntries?: boolean;
9623
9677
  readonly allowIncompleteCompletions?: boolean;
9624
9678
  readonly importModuleSpecifierPreference?: "shortest" | "project-relative" | "relative" | "non-relative";
9625
9679
  /** Determines whether we import `foo/index.ts` as "foo", "foo/index", or "foo/index.js" */
@@ -10758,9 +10812,15 @@ declare namespace ts {
10758
10812
  /** @deprecated Use `factory.updateComputedPropertyName` or the factory supplied by your transformation context instead. */
10759
10813
  const updateComputedPropertyName: (node: ComputedPropertyName, expression: Expression) => ComputedPropertyName;
10760
10814
  /** @deprecated Use `factory.createTypeParameterDeclaration` or the factory supplied by your transformation context instead. */
10761
- const createTypeParameterDeclaration: (name: string | Identifier, constraint?: TypeNode | undefined, defaultType?: TypeNode | undefined) => TypeParameterDeclaration;
10815
+ const createTypeParameterDeclaration: {
10816
+ (modifiers: readonly Modifier[] | undefined, name: string | Identifier, constraint?: TypeNode | undefined, defaultType?: TypeNode | undefined): TypeParameterDeclaration;
10817
+ (name: string | Identifier, constraint?: TypeNode | undefined, defaultType?: TypeNode | undefined): TypeParameterDeclaration;
10818
+ };
10762
10819
  /** @deprecated Use `factory.updateTypeParameterDeclaration` or the factory supplied by your transformation context instead. */
10763
- const updateTypeParameterDeclaration: (node: TypeParameterDeclaration, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined) => TypeParameterDeclaration;
10820
+ const updateTypeParameterDeclaration: {
10821
+ (node: TypeParameterDeclaration, modifiers: readonly Modifier[] | undefined, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined): TypeParameterDeclaration;
10822
+ (node: TypeParameterDeclaration, name: Identifier, constraint: TypeNode | undefined, defaultType: TypeNode | undefined): TypeParameterDeclaration;
10823
+ };
10764
10824
  /** @deprecated Use `factory.createParameterDeclaration` or the factory supplied by your transformation context instead. */
10765
10825
  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;
10766
10826
  /** @deprecated Use `factory.updateParameterDeclaration` or the factory supplied by your transformation context instead. */