typescript 5.3.0-dev.20230816 → 5.3.0-dev.20230818

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.
Files changed (43) hide show
  1. package/lib/lib.decorators.d.ts +3 -6
  2. package/lib/lib.es2015.collection.d.ts +1 -2
  3. package/lib/lib.es2015.core.d.ts +1 -1
  4. package/lib/lib.es2015.iterable.d.ts +4 -5
  5. package/lib/lib.es2015.promise.d.ts +1 -1
  6. package/lib/lib.es2015.symbol.d.ts +1 -1
  7. package/lib/lib.es2016.array.include.d.ts +1 -1
  8. package/lib/lib.es2016.d.ts +1 -1
  9. package/lib/lib.es2016.full.d.ts +1 -1
  10. package/lib/lib.es2017.full.d.ts +1 -1
  11. package/lib/lib.es2017.intl.d.ts +11 -12
  12. package/lib/lib.es2017.object.d.ts +3 -3
  13. package/lib/lib.es2018.asynciterable.d.ts +1 -1
  14. package/lib/lib.es2018.full.d.ts +1 -1
  15. package/lib/lib.es2018.intl.d.ts +1 -2
  16. package/lib/lib.es2018.promise.d.ts +1 -1
  17. package/lib/lib.es2018.regexp.d.ts +5 -5
  18. package/lib/lib.es2019.array.d.ts +14 -18
  19. package/lib/lib.es2019.intl.d.ts +1 -1
  20. package/lib/lib.es2019.object.d.ts +1 -1
  21. package/lib/lib.es2020.bigint.d.ts +7 -7
  22. package/lib/lib.es2020.date.d.ts +1 -1
  23. package/lib/lib.es2020.intl.d.ts +11 -13
  24. package/lib/lib.es2020.promise.d.ts +1 -1
  25. package/lib/lib.es2021.intl.d.ts +5 -6
  26. package/lib/lib.es2021.promise.d.ts +3 -3
  27. package/lib/lib.es2021.weakref.d.ts +2 -2
  28. package/lib/lib.es2022.error.d.ts +2 -2
  29. package/lib/lib.es2022.intl.d.ts +1 -2
  30. package/lib/lib.es2022.sharedmemory.d.ts +2 -2
  31. package/lib/lib.es2023.array.d.ts +61 -61
  32. package/lib/lib.es5.d.ts +74 -88
  33. package/lib/lib.esnext.disposable.d.ts +10 -10
  34. package/lib/lib.esnext.full.d.ts +1 -1
  35. package/lib/lib.esnext.intl.d.ts +7 -7
  36. package/lib/lib.scripthost.d.ts +1 -4
  37. package/lib/lib.webworker.importscripts.d.ts +0 -1
  38. package/lib/tsc.js +1249 -1398
  39. package/lib/tsserver.js +1789 -2017
  40. package/lib/typescript.d.ts +339 -117
  41. package/lib/typescript.js +1789 -2017
  42. package/lib/typingsInstaller.js +124 -110
  43. package/package.json +4 -2
@@ -170,7 +170,7 @@ declare namespace ts {
170
170
  PrepareCallHierarchy = "prepareCallHierarchy",
171
171
  ProvideCallHierarchyIncomingCalls = "provideCallHierarchyIncomingCalls",
172
172
  ProvideCallHierarchyOutgoingCalls = "provideCallHierarchyOutgoingCalls",
173
- ProvideInlayHints = "provideInlayHints"
173
+ ProvideInlayHints = "provideInlayHints",
174
174
  }
175
175
  /**
176
176
  * A TypeScript Server message
@@ -635,7 +635,7 @@ declare namespace ts {
635
635
  enum OrganizeImportsMode {
636
636
  All = "All",
637
637
  SortAndCombine = "SortAndCombine",
638
- RemoveUnused = "RemoveUnused"
638
+ RemoveUnused = "RemoveUnused",
639
639
  }
640
640
  interface OrganizeImportsRequestArgs {
641
641
  scope: OrganizeImportsScope;
@@ -1254,19 +1254,19 @@ declare namespace ts {
1254
1254
  DynamicPriorityPolling = "DynamicPriorityPolling",
1255
1255
  FixedChunkSizePolling = "FixedChunkSizePolling",
1256
1256
  UseFsEvents = "UseFsEvents",
1257
- UseFsEventsOnParentDirectory = "UseFsEventsOnParentDirectory"
1257
+ UseFsEventsOnParentDirectory = "UseFsEventsOnParentDirectory",
1258
1258
  }
1259
1259
  enum WatchDirectoryKind {
1260
1260
  UseFsEvents = "UseFsEvents",
1261
1261
  FixedPollingInterval = "FixedPollingInterval",
1262
1262
  DynamicPriorityPolling = "DynamicPriorityPolling",
1263
- FixedChunkSizePolling = "FixedChunkSizePolling"
1263
+ FixedChunkSizePolling = "FixedChunkSizePolling",
1264
1264
  }
1265
1265
  enum PollingWatchKind {
1266
1266
  FixedInterval = "FixedInterval",
1267
1267
  PriorityInterval = "PriorityInterval",
1268
1268
  DynamicPriority = "DynamicPriority",
1269
- FixedChunkSize = "FixedChunkSize"
1269
+ FixedChunkSize = "FixedChunkSize",
1270
1270
  }
1271
1271
  interface WatchOptions {
1272
1272
  watchFile?: WatchFileKind | ts.WatchFileKind;
@@ -1726,7 +1726,7 @@ declare namespace ts {
1726
1726
  /** Completion was triggered by a trigger character. */
1727
1727
  TriggerCharacter = 2,
1728
1728
  /** Completion was re-triggered as the current completion list is incomplete. */
1729
- TriggerForIncompleteCompletions = 3
1729
+ TriggerForIncompleteCompletions = 3,
1730
1730
  }
1731
1731
  /**
1732
1732
  * Arguments for completions messages.
@@ -2733,12 +2733,12 @@ declare namespace ts {
2733
2733
  enum IndentStyle {
2734
2734
  None = "None",
2735
2735
  Block = "Block",
2736
- Smart = "Smart"
2736
+ Smart = "Smart",
2737
2737
  }
2738
2738
  enum SemicolonPreference {
2739
2739
  Ignore = "ignore",
2740
2740
  Insert = "insert",
2741
- Remove = "remove"
2741
+ Remove = "remove",
2742
2742
  }
2743
2743
  interface EditorSettings {
2744
2744
  baseIndentSize?: number;
@@ -2974,7 +2974,7 @@ declare namespace ts {
2974
2974
  None = "None",
2975
2975
  Preserve = "Preserve",
2976
2976
  ReactNative = "ReactNative",
2977
- React = "React"
2977
+ React = "React",
2978
2978
  }
2979
2979
  enum ModuleKind {
2980
2980
  None = "None",
@@ -2984,15 +2984,15 @@ declare namespace ts {
2984
2984
  System = "System",
2985
2985
  ES6 = "ES6",
2986
2986
  ES2015 = "ES2015",
2987
- ESNext = "ESNext"
2987
+ ESNext = "ESNext",
2988
2988
  }
2989
2989
  enum ModuleResolutionKind {
2990
2990
  Classic = "Classic",
2991
- Node = "Node"
2991
+ Node = "Node",
2992
2992
  }
2993
2993
  enum NewLineKind {
2994
2994
  Crlf = "Crlf",
2995
- Lf = "Lf"
2995
+ Lf = "Lf",
2996
2996
  }
2997
2997
  enum ScriptTarget {
2998
2998
  ES3 = "ES3",
@@ -3006,7 +3006,7 @@ declare namespace ts {
3006
3006
  ES2020 = "ES2020",
3007
3007
  ES2021 = "ES2021",
3008
3008
  ES2022 = "ES2022",
3009
- ESNext = "ESNext"
3009
+ ESNext = "ESNext",
3010
3010
  }
3011
3011
  enum ClassificationType {
3012
3012
  comment = 1,
@@ -3033,7 +3033,7 @@ declare namespace ts {
3033
3033
  jsxAttribute = 22,
3034
3034
  jsxText = 23,
3035
3035
  jsxAttributeStringLiteralValue = 24,
3036
- bigintLiteral = 25
3036
+ bigintLiteral = 25,
3037
3037
  }
3038
3038
  }
3039
3039
  namespace typingsInstaller {
@@ -3122,7 +3122,7 @@ declare namespace ts {
3122
3122
  terse = 0,
3123
3123
  normal = 1,
3124
3124
  requestTime = 2,
3125
- verbose = 3
3125
+ verbose = 3,
3126
3126
  }
3127
3127
  const emptyArray: SortedReadonlyArray<never>;
3128
3128
  interface Logger {
@@ -3139,7 +3139,7 @@ declare namespace ts {
3139
3139
  enum Msg {
3140
3140
  Err = "Err",
3141
3141
  Info = "Info",
3142
- Perf = "Perf"
3142
+ Perf = "Perf",
3143
3143
  }
3144
3144
  namespace Errors {
3145
3145
  function ThrowNoProject(): never;
@@ -3221,7 +3221,7 @@ declare namespace ts {
3221
3221
  Configured = 1,
3222
3222
  External = 2,
3223
3223
  AutoImportProvider = 3,
3224
- Auxiliary = 4
3224
+ Auxiliary = 4,
3225
3225
  }
3226
3226
  interface PluginCreateInfo {
3227
3227
  project: Project;
@@ -3877,10 +3877,10 @@ declare namespace ts {
3877
3877
  byteLength: (buf: string, encoding?: BufferEncoding) => number;
3878
3878
  hrtime: (start?: [
3879
3879
  number,
3880
- number
3880
+ number,
3881
3881
  ]) => [
3882
3882
  number,
3883
- number
3883
+ number,
3884
3884
  ];
3885
3885
  logger: Logger;
3886
3886
  /**
@@ -4500,13 +4500,157 @@ declare namespace ts {
4500
4500
  FirstJSDocNode = 316,
4501
4501
  LastJSDocNode = 357,
4502
4502
  FirstJSDocTagNode = 334,
4503
- LastJSDocTagNode = 357
4503
+ LastJSDocTagNode = 357,
4504
4504
  }
4505
4505
  type TriviaSyntaxKind = SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia;
4506
4506
  type LiteralSyntaxKind = SyntaxKind.NumericLiteral | SyntaxKind.BigIntLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral;
4507
4507
  type PseudoLiteralSyntaxKind = SyntaxKind.TemplateHead | SyntaxKind.TemplateMiddle | SyntaxKind.TemplateTail;
4508
- type PunctuationSyntaxKind = SyntaxKind.OpenBraceToken | SyntaxKind.CloseBraceToken | SyntaxKind.OpenParenToken | SyntaxKind.CloseParenToken | SyntaxKind.OpenBracketToken | SyntaxKind.CloseBracketToken | SyntaxKind.DotToken | SyntaxKind.DotDotDotToken | SyntaxKind.SemicolonToken | SyntaxKind.CommaToken | SyntaxKind.QuestionDotToken | SyntaxKind.LessThanToken | SyntaxKind.LessThanSlashToken | SyntaxKind.GreaterThanToken | SyntaxKind.LessThanEqualsToken | SyntaxKind.GreaterThanEqualsToken | SyntaxKind.EqualsEqualsToken | SyntaxKind.ExclamationEqualsToken | SyntaxKind.EqualsEqualsEqualsToken | SyntaxKind.ExclamationEqualsEqualsToken | SyntaxKind.EqualsGreaterThanToken | SyntaxKind.PlusToken | SyntaxKind.MinusToken | SyntaxKind.AsteriskToken | SyntaxKind.AsteriskAsteriskToken | SyntaxKind.SlashToken | SyntaxKind.PercentToken | SyntaxKind.PlusPlusToken | SyntaxKind.MinusMinusToken | SyntaxKind.LessThanLessThanToken | SyntaxKind.GreaterThanGreaterThanToken | SyntaxKind.GreaterThanGreaterThanGreaterThanToken | SyntaxKind.AmpersandToken | SyntaxKind.BarToken | SyntaxKind.CaretToken | SyntaxKind.ExclamationToken | SyntaxKind.TildeToken | SyntaxKind.AmpersandAmpersandToken | SyntaxKind.AmpersandAmpersandEqualsToken | SyntaxKind.BarBarToken | SyntaxKind.BarBarEqualsToken | SyntaxKind.QuestionQuestionToken | SyntaxKind.QuestionQuestionEqualsToken | SyntaxKind.QuestionToken | SyntaxKind.ColonToken | SyntaxKind.AtToken | SyntaxKind.BacktickToken | SyntaxKind.HashToken | SyntaxKind.EqualsToken | SyntaxKind.PlusEqualsToken | SyntaxKind.MinusEqualsToken | SyntaxKind.AsteriskEqualsToken | SyntaxKind.AsteriskAsteriskEqualsToken | SyntaxKind.SlashEqualsToken | SyntaxKind.PercentEqualsToken | SyntaxKind.LessThanLessThanEqualsToken | SyntaxKind.GreaterThanGreaterThanEqualsToken | SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken | SyntaxKind.AmpersandEqualsToken | SyntaxKind.BarEqualsToken | SyntaxKind.CaretEqualsToken;
4509
- type KeywordSyntaxKind = SyntaxKind.AbstractKeyword | SyntaxKind.AccessorKeyword | SyntaxKind.AnyKeyword | SyntaxKind.AsKeyword | SyntaxKind.AssertsKeyword | SyntaxKind.AssertKeyword | SyntaxKind.AsyncKeyword | SyntaxKind.AwaitKeyword | SyntaxKind.BigIntKeyword | SyntaxKind.BooleanKeyword | SyntaxKind.BreakKeyword | SyntaxKind.CaseKeyword | SyntaxKind.CatchKeyword | SyntaxKind.ClassKeyword | SyntaxKind.ConstKeyword | SyntaxKind.ConstructorKeyword | SyntaxKind.ContinueKeyword | SyntaxKind.DebuggerKeyword | SyntaxKind.DeclareKeyword | SyntaxKind.DefaultKeyword | SyntaxKind.DeleteKeyword | SyntaxKind.DoKeyword | SyntaxKind.ElseKeyword | SyntaxKind.EnumKeyword | SyntaxKind.ExportKeyword | SyntaxKind.ExtendsKeyword | SyntaxKind.FalseKeyword | SyntaxKind.FinallyKeyword | SyntaxKind.ForKeyword | SyntaxKind.FromKeyword | SyntaxKind.FunctionKeyword | SyntaxKind.GetKeyword | SyntaxKind.GlobalKeyword | SyntaxKind.IfKeyword | SyntaxKind.ImplementsKeyword | SyntaxKind.ImportKeyword | SyntaxKind.InferKeyword | SyntaxKind.InKeyword | SyntaxKind.InstanceOfKeyword | SyntaxKind.InterfaceKeyword | SyntaxKind.IntrinsicKeyword | SyntaxKind.IsKeyword | SyntaxKind.KeyOfKeyword | SyntaxKind.LetKeyword | SyntaxKind.ModuleKeyword | SyntaxKind.NamespaceKeyword | SyntaxKind.NeverKeyword | SyntaxKind.NewKeyword | SyntaxKind.NullKeyword | SyntaxKind.NumberKeyword | SyntaxKind.ObjectKeyword | SyntaxKind.OfKeyword | SyntaxKind.PackageKeyword | SyntaxKind.PrivateKeyword | SyntaxKind.ProtectedKeyword | SyntaxKind.PublicKeyword | SyntaxKind.ReadonlyKeyword | SyntaxKind.OutKeyword | SyntaxKind.OverrideKeyword | SyntaxKind.RequireKeyword | SyntaxKind.ReturnKeyword | SyntaxKind.SatisfiesKeyword | SyntaxKind.SetKeyword | SyntaxKind.StaticKeyword | SyntaxKind.StringKeyword | SyntaxKind.SuperKeyword | SyntaxKind.SwitchKeyword | SyntaxKind.SymbolKeyword | SyntaxKind.ThisKeyword | SyntaxKind.ThrowKeyword | SyntaxKind.TrueKeyword | SyntaxKind.TryKeyword | SyntaxKind.TypeKeyword | SyntaxKind.TypeOfKeyword | SyntaxKind.UndefinedKeyword | SyntaxKind.UniqueKeyword | SyntaxKind.UnknownKeyword | SyntaxKind.UsingKeyword | SyntaxKind.VarKeyword | SyntaxKind.VoidKeyword | SyntaxKind.WhileKeyword | SyntaxKind.WithKeyword | SyntaxKind.YieldKeyword;
4508
+ type PunctuationSyntaxKind =
4509
+ | SyntaxKind.OpenBraceToken
4510
+ | SyntaxKind.CloseBraceToken
4511
+ | SyntaxKind.OpenParenToken
4512
+ | SyntaxKind.CloseParenToken
4513
+ | SyntaxKind.OpenBracketToken
4514
+ | SyntaxKind.CloseBracketToken
4515
+ | SyntaxKind.DotToken
4516
+ | SyntaxKind.DotDotDotToken
4517
+ | SyntaxKind.SemicolonToken
4518
+ | SyntaxKind.CommaToken
4519
+ | SyntaxKind.QuestionDotToken
4520
+ | SyntaxKind.LessThanToken
4521
+ | SyntaxKind.LessThanSlashToken
4522
+ | SyntaxKind.GreaterThanToken
4523
+ | SyntaxKind.LessThanEqualsToken
4524
+ | SyntaxKind.GreaterThanEqualsToken
4525
+ | SyntaxKind.EqualsEqualsToken
4526
+ | SyntaxKind.ExclamationEqualsToken
4527
+ | SyntaxKind.EqualsEqualsEqualsToken
4528
+ | SyntaxKind.ExclamationEqualsEqualsToken
4529
+ | SyntaxKind.EqualsGreaterThanToken
4530
+ | SyntaxKind.PlusToken
4531
+ | SyntaxKind.MinusToken
4532
+ | SyntaxKind.AsteriskToken
4533
+ | SyntaxKind.AsteriskAsteriskToken
4534
+ | SyntaxKind.SlashToken
4535
+ | SyntaxKind.PercentToken
4536
+ | SyntaxKind.PlusPlusToken
4537
+ | SyntaxKind.MinusMinusToken
4538
+ | SyntaxKind.LessThanLessThanToken
4539
+ | SyntaxKind.GreaterThanGreaterThanToken
4540
+ | SyntaxKind.GreaterThanGreaterThanGreaterThanToken
4541
+ | SyntaxKind.AmpersandToken
4542
+ | SyntaxKind.BarToken
4543
+ | SyntaxKind.CaretToken
4544
+ | SyntaxKind.ExclamationToken
4545
+ | SyntaxKind.TildeToken
4546
+ | SyntaxKind.AmpersandAmpersandToken
4547
+ | SyntaxKind.AmpersandAmpersandEqualsToken
4548
+ | SyntaxKind.BarBarToken
4549
+ | SyntaxKind.BarBarEqualsToken
4550
+ | SyntaxKind.QuestionQuestionToken
4551
+ | SyntaxKind.QuestionQuestionEqualsToken
4552
+ | SyntaxKind.QuestionToken
4553
+ | SyntaxKind.ColonToken
4554
+ | SyntaxKind.AtToken
4555
+ | SyntaxKind.BacktickToken
4556
+ | SyntaxKind.HashToken
4557
+ | SyntaxKind.EqualsToken
4558
+ | SyntaxKind.PlusEqualsToken
4559
+ | SyntaxKind.MinusEqualsToken
4560
+ | SyntaxKind.AsteriskEqualsToken
4561
+ | SyntaxKind.AsteriskAsteriskEqualsToken
4562
+ | SyntaxKind.SlashEqualsToken
4563
+ | SyntaxKind.PercentEqualsToken
4564
+ | SyntaxKind.LessThanLessThanEqualsToken
4565
+ | SyntaxKind.GreaterThanGreaterThanEqualsToken
4566
+ | SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken
4567
+ | SyntaxKind.AmpersandEqualsToken
4568
+ | SyntaxKind.BarEqualsToken
4569
+ | SyntaxKind.CaretEqualsToken;
4570
+ type KeywordSyntaxKind =
4571
+ | SyntaxKind.AbstractKeyword
4572
+ | SyntaxKind.AccessorKeyword
4573
+ | SyntaxKind.AnyKeyword
4574
+ | SyntaxKind.AsKeyword
4575
+ | SyntaxKind.AssertsKeyword
4576
+ | SyntaxKind.AssertKeyword
4577
+ | SyntaxKind.AsyncKeyword
4578
+ | SyntaxKind.AwaitKeyword
4579
+ | SyntaxKind.BigIntKeyword
4580
+ | SyntaxKind.BooleanKeyword
4581
+ | SyntaxKind.BreakKeyword
4582
+ | SyntaxKind.CaseKeyword
4583
+ | SyntaxKind.CatchKeyword
4584
+ | SyntaxKind.ClassKeyword
4585
+ | SyntaxKind.ConstKeyword
4586
+ | SyntaxKind.ConstructorKeyword
4587
+ | SyntaxKind.ContinueKeyword
4588
+ | SyntaxKind.DebuggerKeyword
4589
+ | SyntaxKind.DeclareKeyword
4590
+ | SyntaxKind.DefaultKeyword
4591
+ | SyntaxKind.DeleteKeyword
4592
+ | SyntaxKind.DoKeyword
4593
+ | SyntaxKind.ElseKeyword
4594
+ | SyntaxKind.EnumKeyword
4595
+ | SyntaxKind.ExportKeyword
4596
+ | SyntaxKind.ExtendsKeyword
4597
+ | SyntaxKind.FalseKeyword
4598
+ | SyntaxKind.FinallyKeyword
4599
+ | SyntaxKind.ForKeyword
4600
+ | SyntaxKind.FromKeyword
4601
+ | SyntaxKind.FunctionKeyword
4602
+ | SyntaxKind.GetKeyword
4603
+ | SyntaxKind.GlobalKeyword
4604
+ | SyntaxKind.IfKeyword
4605
+ | SyntaxKind.ImplementsKeyword
4606
+ | SyntaxKind.ImportKeyword
4607
+ | SyntaxKind.InferKeyword
4608
+ | SyntaxKind.InKeyword
4609
+ | SyntaxKind.InstanceOfKeyword
4610
+ | SyntaxKind.InterfaceKeyword
4611
+ | SyntaxKind.IntrinsicKeyword
4612
+ | SyntaxKind.IsKeyword
4613
+ | SyntaxKind.KeyOfKeyword
4614
+ | SyntaxKind.LetKeyword
4615
+ | SyntaxKind.ModuleKeyword
4616
+ | SyntaxKind.NamespaceKeyword
4617
+ | SyntaxKind.NeverKeyword
4618
+ | SyntaxKind.NewKeyword
4619
+ | SyntaxKind.NullKeyword
4620
+ | SyntaxKind.NumberKeyword
4621
+ | SyntaxKind.ObjectKeyword
4622
+ | SyntaxKind.OfKeyword
4623
+ | SyntaxKind.PackageKeyword
4624
+ | SyntaxKind.PrivateKeyword
4625
+ | SyntaxKind.ProtectedKeyword
4626
+ | SyntaxKind.PublicKeyword
4627
+ | SyntaxKind.ReadonlyKeyword
4628
+ | SyntaxKind.OutKeyword
4629
+ | SyntaxKind.OverrideKeyword
4630
+ | SyntaxKind.RequireKeyword
4631
+ | SyntaxKind.ReturnKeyword
4632
+ | SyntaxKind.SatisfiesKeyword
4633
+ | SyntaxKind.SetKeyword
4634
+ | SyntaxKind.StaticKeyword
4635
+ | SyntaxKind.StringKeyword
4636
+ | SyntaxKind.SuperKeyword
4637
+ | SyntaxKind.SwitchKeyword
4638
+ | SyntaxKind.SymbolKeyword
4639
+ | SyntaxKind.ThisKeyword
4640
+ | SyntaxKind.ThrowKeyword
4641
+ | SyntaxKind.TrueKeyword
4642
+ | SyntaxKind.TryKeyword
4643
+ | SyntaxKind.TypeKeyword
4644
+ | SyntaxKind.TypeOfKeyword
4645
+ | SyntaxKind.UndefinedKeyword
4646
+ | SyntaxKind.UniqueKeyword
4647
+ | SyntaxKind.UnknownKeyword
4648
+ | SyntaxKind.UsingKeyword
4649
+ | SyntaxKind.VarKeyword
4650
+ | SyntaxKind.VoidKeyword
4651
+ | SyntaxKind.WhileKeyword
4652
+ | SyntaxKind.WithKeyword
4653
+ | SyntaxKind.YieldKeyword;
4510
4654
  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;
4511
4655
  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;
4512
4656
  type TokenSyntaxKind = SyntaxKind.Unknown | SyntaxKind.EndOfFileToken | TriviaSyntaxKind | LiteralSyntaxKind | PseudoLiteralSyntaxKind | PunctuationSyntaxKind | SyntaxKind.Identifier | KeywordSyntaxKind;
@@ -4544,7 +4688,7 @@ declare namespace ts {
4544
4688
  ReachabilityCheckFlags = 1536,
4545
4689
  ReachabilityAndEmitFlags = 5632,
4546
4690
  ContextFlags = 101441536,
4547
- TypeExcludesFlags = 81920
4691
+ TypeExcludesFlags = 81920,
4548
4692
  }
4549
4693
  enum ModifierFlags {
4550
4694
  None = 0,
@@ -4573,7 +4717,7 @@ declare namespace ts {
4573
4717
  TypeScriptModifier = 117086,
4574
4718
  ExportDefault = 1025,
4575
4719
  All = 258047,
4576
- Modifier = 126975
4720
+ Modifier = 126975,
4577
4721
  }
4578
4722
  enum JsxFlags {
4579
4723
  None = 0,
@@ -4581,7 +4725,7 @@ declare namespace ts {
4581
4725
  IntrinsicNamedElement = 1,
4582
4726
  /** An element inferred from the string index signature of the JSX.IntrinsicElements interface */
4583
4727
  IntrinsicIndexedElement = 2,
4584
- IntrinsicElement = 3
4728
+ IntrinsicElement = 3,
4585
4729
  }
4586
4730
  interface Node extends ReadonlyTextRange {
4587
4731
  readonly kind: SyntaxKind;
@@ -4614,7 +4758,71 @@ declare namespace ts {
4614
4758
  interface FlowContainer extends Node {
4615
4759
  _flowContainerBrand: any;
4616
4760
  }
4617
- type HasJSDoc = AccessorDeclaration | ArrowFunction | BinaryExpression | Block | BreakStatement | CallSignatureDeclaration | CaseClause | ClassLikeDeclaration | ClassStaticBlockDeclaration | ConstructorDeclaration | ConstructorTypeNode | ConstructSignatureDeclaration | ContinueStatement | DebuggerStatement | DoStatement | ElementAccessExpression | EmptyStatement | EndOfFileToken | EnumDeclaration | EnumMember | ExportAssignment | ExportDeclaration | ExportSpecifier | ExpressionStatement | ForInStatement | ForOfStatement | ForStatement | FunctionDeclaration | FunctionExpression | FunctionTypeNode | Identifier | IfStatement | ImportDeclaration | ImportEqualsDeclaration | IndexSignatureDeclaration | InterfaceDeclaration | JSDocFunctionType | JSDocSignature | LabeledStatement | MethodDeclaration | MethodSignature | ModuleDeclaration | NamedTupleMember | NamespaceExportDeclaration | ObjectLiteralExpression | ParameterDeclaration | ParenthesizedExpression | PropertyAccessExpression | PropertyAssignment | PropertyDeclaration | PropertySignature | ReturnStatement | SemicolonClassElement | ShorthandPropertyAssignment | SpreadAssignment | SwitchStatement | ThrowStatement | TryStatement | TypeAliasDeclaration | TypeParameterDeclaration | VariableDeclaration | VariableStatement | WhileStatement | WithStatement;
4761
+ type HasJSDoc =
4762
+ | AccessorDeclaration
4763
+ | ArrowFunction
4764
+ | BinaryExpression
4765
+ | Block
4766
+ | BreakStatement
4767
+ | CallSignatureDeclaration
4768
+ | CaseClause
4769
+ | ClassLikeDeclaration
4770
+ | ClassStaticBlockDeclaration
4771
+ | ConstructorDeclaration
4772
+ | ConstructorTypeNode
4773
+ | ConstructSignatureDeclaration
4774
+ | ContinueStatement
4775
+ | DebuggerStatement
4776
+ | DoStatement
4777
+ | ElementAccessExpression
4778
+ | EmptyStatement
4779
+ | EndOfFileToken
4780
+ | EnumDeclaration
4781
+ | EnumMember
4782
+ | ExportAssignment
4783
+ | ExportDeclaration
4784
+ | ExportSpecifier
4785
+ | ExpressionStatement
4786
+ | ForInStatement
4787
+ | ForOfStatement
4788
+ | ForStatement
4789
+ | FunctionDeclaration
4790
+ | FunctionExpression
4791
+ | FunctionTypeNode
4792
+ | Identifier
4793
+ | IfStatement
4794
+ | ImportDeclaration
4795
+ | ImportEqualsDeclaration
4796
+ | IndexSignatureDeclaration
4797
+ | InterfaceDeclaration
4798
+ | JSDocFunctionType
4799
+ | JSDocSignature
4800
+ | LabeledStatement
4801
+ | MethodDeclaration
4802
+ | MethodSignature
4803
+ | ModuleDeclaration
4804
+ | NamedTupleMember
4805
+ | NamespaceExportDeclaration
4806
+ | ObjectLiteralExpression
4807
+ | ParameterDeclaration
4808
+ | ParenthesizedExpression
4809
+ | PropertyAccessExpression
4810
+ | PropertyAssignment
4811
+ | PropertyDeclaration
4812
+ | PropertySignature
4813
+ | ReturnStatement
4814
+ | SemicolonClassElement
4815
+ | ShorthandPropertyAssignment
4816
+ | SpreadAssignment
4817
+ | SwitchStatement
4818
+ | ThrowStatement
4819
+ | TryStatement
4820
+ | TypeAliasDeclaration
4821
+ | TypeParameterDeclaration
4822
+ | VariableDeclaration
4823
+ | VariableStatement
4824
+ | WhileStatement
4825
+ | WithStatement;
4618
4826
  type HasType = SignatureDeclaration | VariableDeclaration | ParameterDeclaration | PropertySignature | PropertyDeclaration | TypePredicateNode | ParenthesizedTypeNode | TypeOperatorNode | MappedTypeNode | AssertionExpression | TypeAliasDeclaration | JSDocTypeExpression | JSDocNonNullableType | JSDocNullableType | JSDocOptionalType | JSDocVariadicType;
4619
4827
  type HasTypeArguments = CallExpression | NewExpression | TaggedTemplateExpression | JsxOpeningElement | JsxSelfClosingElement;
4620
4828
  type HasInitializer = HasExpressionInitializer | ForStatement | ForInStatement | ForOfStatement | JsxAttribute;
@@ -4678,7 +4886,7 @@ declare namespace ts {
4678
4886
  ReservedInNestedScopes = 8,
4679
4887
  Optimistic = 16,
4680
4888
  FileLevel = 32,
4681
- AllowNameSubstitution = 64
4889
+ AllowNameSubstitution = 64,
4682
4890
  }
4683
4891
  interface Identifier extends PrimaryExpression, Declaration, JSDocContainer, FlowContainer {
4684
4892
  readonly kind: SyntaxKind.Identifier;
@@ -5246,7 +5454,7 @@ declare namespace ts {
5246
5454
  Octal = 32,
5247
5455
  HexSpecifier = 64,
5248
5456
  BinarySpecifier = 128,
5249
- OctalSpecifier = 256
5457
+ OctalSpecifier = 256,
5250
5458
  }
5251
5459
  interface NumericLiteral extends LiteralExpression, Declaration {
5252
5460
  readonly kind: SyntaxKind.NumericLiteral;
@@ -5806,41 +6014,50 @@ declare namespace ts {
5806
6014
  }
5807
6015
  type ImportOrExportSpecifier = ImportSpecifier | ExportSpecifier;
5808
6016
  type TypeOnlyCompatibleAliasDeclaration = ImportClause | ImportEqualsDeclaration | NamespaceImport | ImportOrExportSpecifier | ExportDeclaration | NamespaceExport;
5809
- type TypeOnlyImportDeclaration = ImportClause & {
5810
- readonly isTypeOnly: true;
5811
- readonly name: Identifier;
5812
- } | ImportEqualsDeclaration & {
5813
- readonly isTypeOnly: true;
5814
- } | NamespaceImport & {
5815
- readonly parent: ImportClause & {
6017
+ type TypeOnlyImportDeclaration =
6018
+ | ImportClause & {
5816
6019
  readonly isTypeOnly: true;
5817
- };
5818
- } | ImportSpecifier & ({
5819
- readonly isTypeOnly: true;
5820
- } | {
5821
- readonly parent: NamedImports & {
6020
+ readonly name: Identifier;
6021
+ }
6022
+ | ImportEqualsDeclaration & {
6023
+ readonly isTypeOnly: true;
6024
+ }
6025
+ | NamespaceImport & {
5822
6026
  readonly parent: ImportClause & {
5823
6027
  readonly isTypeOnly: true;
5824
6028
  };
5825
- };
5826
- });
5827
- type TypeOnlyExportDeclaration = ExportSpecifier & ({
5828
- readonly isTypeOnly: true;
5829
- } | {
5830
- readonly parent: NamedExports & {
5831
- readonly parent: ExportDeclaration & {
6029
+ }
6030
+ | ImportSpecifier
6031
+ & ({
5832
6032
  readonly isTypeOnly: true;
5833
- };
5834
- };
5835
- }) | ExportDeclaration & {
5836
- readonly isTypeOnly: true;
5837
- readonly moduleSpecifier: Expression;
5838
- } | NamespaceExport & {
5839
- readonly parent: ExportDeclaration & {
6033
+ } | {
6034
+ readonly parent: NamedImports & {
6035
+ readonly parent: ImportClause & {
6036
+ readonly isTypeOnly: true;
6037
+ };
6038
+ };
6039
+ });
6040
+ type TypeOnlyExportDeclaration =
6041
+ | ExportSpecifier
6042
+ & ({
6043
+ readonly isTypeOnly: true;
6044
+ } | {
6045
+ readonly parent: NamedExports & {
6046
+ readonly parent: ExportDeclaration & {
6047
+ readonly isTypeOnly: true;
6048
+ };
6049
+ };
6050
+ })
6051
+ | ExportDeclaration & {
5840
6052
  readonly isTypeOnly: true;
5841
6053
  readonly moduleSpecifier: Expression;
6054
+ }
6055
+ | NamespaceExport & {
6056
+ readonly parent: ExportDeclaration & {
6057
+ readonly isTypeOnly: true;
6058
+ readonly moduleSpecifier: Expression;
6059
+ };
5842
6060
  };
5843
- };
5844
6061
  type TypeOnlyAliasDeclaration = TypeOnlyImportDeclaration | TypeOnlyExportDeclaration;
5845
6062
  /**
5846
6063
  * This is either an `export =` or an `export default` declaration.
@@ -6088,7 +6305,7 @@ declare namespace ts {
6088
6305
  Referenced = 2048,
6089
6306
  Shared = 4096,
6090
6307
  Label = 12,
6091
- Condition = 96
6308
+ Condition = 96,
6092
6309
  }
6093
6310
  type FlowNode = FlowStart | FlowLabel | FlowAssignment | FlowCondition | FlowSwitchClause | FlowArrayMutation | FlowCall | FlowReduceLabel;
6094
6311
  interface FlowNodeBase {
@@ -6398,7 +6615,7 @@ declare namespace ts {
6398
6615
  DiagnosticsPresent_OutputsSkipped = 1,
6399
6616
  DiagnosticsPresent_OutputsGenerated = 2,
6400
6617
  InvalidProject_OutputsSkipped = 3,
6401
- ProjectReferenceCycle_OutputsSkipped = 4
6618
+ ProjectReferenceCycle_OutputsSkipped = 4,
6402
6619
  }
6403
6620
  interface EmitResult {
6404
6621
  emitSkipped: boolean;
@@ -6428,9 +6645,11 @@ declare namespace ts {
6428
6645
  /** Note that the resulting nodes cannot be checked. */
6429
6646
  typeToTypeNode(type: Type, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined): TypeNode | undefined;
6430
6647
  /** Note that the resulting nodes cannot be checked. */
6431
- signatureToSignatureDeclaration(signature: Signature, kind: SyntaxKind, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined): SignatureDeclaration & {
6432
- typeArguments?: NodeArray<TypeNode>;
6433
- } | undefined;
6648
+ signatureToSignatureDeclaration(signature: Signature, kind: SyntaxKind, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined):
6649
+ | SignatureDeclaration & {
6650
+ typeArguments?: NodeArray<TypeNode>;
6651
+ }
6652
+ | undefined;
6434
6653
  /** Note that the resulting nodes cannot be checked. */
6435
6654
  indexInfoToIndexSignatureDeclaration(indexInfo: IndexInfo, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined): IndexSignatureDeclaration | undefined;
6436
6655
  /** Note that the resulting nodes cannot be checked. */
@@ -6587,7 +6806,7 @@ declare namespace ts {
6587
6806
  IgnoreErrors = 70221824,
6588
6807
  InObjectTypeLiteral = 4194304,
6589
6808
  InTypeAlias = 8388608,
6590
- InInitialEntityName = 16777216
6809
+ InInitialEntityName = 16777216,
6591
6810
  }
6592
6811
  enum TypeFormatFlags {
6593
6812
  None = 0,
@@ -6612,20 +6831,20 @@ declare namespace ts {
6612
6831
  InElementType = 2097152,
6613
6832
  InFirstTypeArgument = 4194304,
6614
6833
  InTypeAlias = 8388608,
6615
- NodeBuilderFlagsMask = 848330091
6834
+ NodeBuilderFlagsMask = 848330091,
6616
6835
  }
6617
6836
  enum SymbolFormatFlags {
6618
6837
  None = 0,
6619
6838
  WriteTypeParametersOrArguments = 1,
6620
6839
  UseOnlyExternalAliasing = 2,
6621
6840
  AllowAnyNodeKind = 4,
6622
- UseAliasDefinedOutsideCurrentScope = 8
6841
+ UseAliasDefinedOutsideCurrentScope = 8,
6623
6842
  }
6624
6843
  enum TypePredicateKind {
6625
6844
  This = 0,
6626
6845
  Identifier = 1,
6627
6846
  AssertsThis = 2,
6628
- AssertsIdentifier = 3
6847
+ AssertsIdentifier = 3,
6629
6848
  }
6630
6849
  interface TypePredicateBase {
6631
6850
  kind: TypePredicateKind;
@@ -6716,7 +6935,7 @@ declare namespace ts {
6716
6935
  ExportHasLocal = 944,
6717
6936
  BlockScoped = 418,
6718
6937
  PropertyOrAccessor = 98308,
6719
- ClassMember = 106500
6938
+ ClassMember = 106500,
6720
6939
  }
6721
6940
  interface Symbol {
6722
6941
  flags: SymbolFlags;
@@ -6753,7 +6972,7 @@ declare namespace ts {
6753
6972
  Resolving = "__resolving__",
6754
6973
  ExportEquals = "export=",
6755
6974
  Default = "default",
6756
- This = "this"
6975
+ This = "this",
6757
6976
  }
6758
6977
  /**
6759
6978
  * This represents a string whose leading underscore have been escaped by adding extra leading underscores.
@@ -6763,11 +6982,14 @@ declare namespace ts {
6763
6982
  * with a normal string (which is good, it cannot be misused on assignment or on usage),
6764
6983
  * while still being comparable with a normal string via === (also good) and castable from a string.
6765
6984
  */
6766
- type __String = (string & {
6767
- __escapedIdentifier: void;
6768
- }) | (void & {
6769
- __escapedIdentifier: void;
6770
- }) | InternalSymbolName;
6985
+ type __String =
6986
+ | (string & {
6987
+ __escapedIdentifier: void;
6988
+ })
6989
+ | (void & {
6990
+ __escapedIdentifier: void;
6991
+ })
6992
+ | InternalSymbolName;
6771
6993
  /** @deprecated Use ReadonlyMap<__String, T> instead. */
6772
6994
  type ReadonlyUnderscoreEscapedMap<T> = ReadonlyMap<__String, T>;
6773
6995
  /** @deprecated Use Map<__String, T> instead. */
@@ -6823,7 +7045,7 @@ declare namespace ts {
6823
7045
  InstantiablePrimitive = 406847488,
6824
7046
  Instantiable = 465829888,
6825
7047
  StructuredOrInstantiable = 469499904,
6826
- Narrowable = 536624127
7048
+ Narrowable = 536624127,
6827
7049
  }
6828
7050
  type DestructuringPattern = BindingPattern | ObjectLiteralExpression | ArrayLiteralExpression;
6829
7051
  interface Type {
@@ -6900,7 +7122,7 @@ declare namespace ts {
6900
7122
  ClassOrInterface = 3,
6901
7123
  ContainsSpread = 2097152,
6902
7124
  ObjectRestType = 4194304,
6903
- InstantiationExpressionType = 8388608
7125
+ InstantiationExpressionType = 8388608,
6904
7126
  }
6905
7127
  interface ObjectType extends Type {
6906
7128
  objectFlags: ObjectFlags;
@@ -6948,7 +7170,7 @@ declare namespace ts {
6948
7170
  Fixed = 3,
6949
7171
  Variable = 12,
6950
7172
  NonRequired = 14,
6951
- NonRest = 11
7173
+ NonRest = 11,
6952
7174
  }
6953
7175
  interface TupleType extends GenericType {
6954
7176
  elementFlags: readonly ElementFlags[];
@@ -7025,7 +7247,7 @@ declare namespace ts {
7025
7247
  }
7026
7248
  enum SignatureKind {
7027
7249
  Call = 0,
7028
- Construct = 1
7250
+ Construct = 1,
7029
7251
  }
7030
7252
  interface Signature {
7031
7253
  declaration?: SignatureDeclaration | JSDocSignature;
@@ -7043,7 +7265,7 @@ declare namespace ts {
7043
7265
  }
7044
7266
  enum IndexKind {
7045
7267
  String = 0,
7046
- Number = 1
7268
+ Number = 1,
7047
7269
  }
7048
7270
  interface IndexInfo {
7049
7271
  keyType: Type;
@@ -7066,7 +7288,7 @@ declare namespace ts {
7066
7288
  AlwaysStrict = 1024,
7067
7289
  MaxValue = 2048,
7068
7290
  PriorityImpliesCombination = 416,
7069
- Circularity = -1
7291
+ Circularity = -1,
7070
7292
  }
7071
7293
  interface FileExtensionInfo {
7072
7294
  extension: string;
@@ -7117,7 +7339,7 @@ declare namespace ts {
7117
7339
  Warning = 0,
7118
7340
  Error = 1,
7119
7341
  Suggestion = 2,
7120
- Message = 3
7342
+ Message = 3,
7121
7343
  }
7122
7344
  enum ModuleResolutionKind {
7123
7345
  Classic = 1,
@@ -7130,7 +7352,7 @@ declare namespace ts {
7130
7352
  Node10 = 2,
7131
7353
  Node16 = 3,
7132
7354
  NodeNext = 99,
7133
- Bundler = 100
7355
+ Bundler = 100,
7134
7356
  }
7135
7357
  enum ModuleDetectionKind {
7136
7358
  /**
@@ -7144,7 +7366,7 @@ declare namespace ts {
7144
7366
  /**
7145
7367
  * Consider all non-declaration files modules, regardless of present syntax
7146
7368
  */
7147
- Force = 3
7369
+ Force = 3,
7148
7370
  }
7149
7371
  interface PluginImport {
7150
7372
  name: string;
@@ -7165,19 +7387,19 @@ declare namespace ts {
7165
7387
  DynamicPriorityPolling = 2,
7166
7388
  FixedChunkSizePolling = 3,
7167
7389
  UseFsEvents = 4,
7168
- UseFsEventsOnParentDirectory = 5
7390
+ UseFsEventsOnParentDirectory = 5,
7169
7391
  }
7170
7392
  enum WatchDirectoryKind {
7171
7393
  UseFsEvents = 0,
7172
7394
  FixedPollingInterval = 1,
7173
7395
  DynamicPriorityPolling = 2,
7174
- FixedChunkSizePolling = 3
7396
+ FixedChunkSizePolling = 3,
7175
7397
  }
7176
7398
  enum PollingWatchKind {
7177
7399
  FixedInterval = 0,
7178
7400
  PriorityInterval = 1,
7179
7401
  DynamicPriority = 2,
7180
- FixedChunkSize = 3
7402
+ FixedChunkSize = 3,
7181
7403
  }
7182
7404
  type CompilerOptionsValue = string | number | boolean | (string | number)[] | string[] | MapLike<string[]> | PluginImport[] | ProjectReference[] | null | undefined;
7183
7405
  interface CompilerOptions {
@@ -7313,7 +7535,7 @@ declare namespace ts {
7313
7535
  ES2022 = 7,
7314
7536
  ESNext = 99,
7315
7537
  Node16 = 100,
7316
- NodeNext = 199
7538
+ NodeNext = 199,
7317
7539
  }
7318
7540
  enum JsxEmit {
7319
7541
  None = 0,
@@ -7321,16 +7543,16 @@ declare namespace ts {
7321
7543
  React = 2,
7322
7544
  ReactNative = 3,
7323
7545
  ReactJSX = 4,
7324
- ReactJSXDev = 5
7546
+ ReactJSXDev = 5,
7325
7547
  }
7326
7548
  enum ImportsNotUsedAsValues {
7327
7549
  Remove = 0,
7328
7550
  Preserve = 1,
7329
- Error = 2
7551
+ Error = 2,
7330
7552
  }
7331
7553
  enum NewLineKind {
7332
7554
  CarriageReturnLineFeed = 0,
7333
- LineFeed = 1
7555
+ LineFeed = 1,
7334
7556
  }
7335
7557
  interface LineAndCharacter {
7336
7558
  /** 0-based. */
@@ -7349,7 +7571,7 @@ declare namespace ts {
7349
7571
  * Used on extensions that doesn't define the ScriptKind but the content defines it.
7350
7572
  * Deferred extensions are going to be included in all project contexts.
7351
7573
  */
7352
- Deferred = 7
7574
+ Deferred = 7,
7353
7575
  }
7354
7576
  enum ScriptTarget {
7355
7577
  ES3 = 0,
@@ -7364,11 +7586,11 @@ declare namespace ts {
7364
7586
  ES2022 = 9,
7365
7587
  ESNext = 99,
7366
7588
  JSON = 100,
7367
- Latest = 99
7589
+ Latest = 99,
7368
7590
  }
7369
7591
  enum LanguageVariant {
7370
7592
  Standard = 0,
7371
- JSX = 1
7593
+ JSX = 1,
7372
7594
  }
7373
7595
  /** Either a parsed command line or a parsed tsconfig.json */
7374
7596
  interface ParsedCommandLine {
@@ -7384,7 +7606,7 @@ declare namespace ts {
7384
7606
  }
7385
7607
  enum WatchDirectoryFlags {
7386
7608
  None = 0,
7387
- Recursive = 1
7609
+ Recursive = 1,
7388
7610
  }
7389
7611
  interface CreateProgramOptions {
7390
7612
  rootNames: readonly string[];
@@ -7478,7 +7700,7 @@ declare namespace ts {
7478
7700
  Dmts = ".d.mts",
7479
7701
  Cjs = ".cjs",
7480
7702
  Cts = ".cts",
7481
- Dcts = ".d.cts"
7703
+ Dcts = ".d.cts",
7482
7704
  }
7483
7705
  interface ResolvedModuleWithFailedLookupLocations {
7484
7706
  readonly resolvedModule: ResolvedModuleFull | undefined;
@@ -7565,7 +7787,7 @@ declare namespace ts {
7565
7787
  CustomPrologue = 2097152,
7566
7788
  NoHoisting = 4194304,
7567
7789
  Iterator = 8388608,
7568
- NoAsciiEscaping = 16777216
7790
+ NoAsciiEscaping = 16777216,
7569
7791
  }
7570
7792
  interface EmitHelperBase {
7571
7793
  readonly name: string;
@@ -7590,7 +7812,7 @@ declare namespace ts {
7590
7812
  MappedTypeParameter = 3,
7591
7813
  Unspecified = 4,
7592
7814
  EmbeddedStatement = 5,
7593
- JsxAttributeValue = 6
7815
+ JsxAttributeValue = 6,
7594
7816
  }
7595
7817
  enum OuterExpressionKinds {
7596
7818
  Parentheses = 1,
@@ -7599,7 +7821,7 @@ declare namespace ts {
7599
7821
  PartiallyEmittedExpressions = 8,
7600
7822
  Assertions = 6,
7601
7823
  All = 15,
7602
- ExcludeJSDocTypeAssertion = 16
7824
+ ExcludeJSDocTypeAssertion = 16,
7603
7825
  }
7604
7826
  type ImmediatelyInvokedFunctionExpression = CallExpression & {
7605
7827
  readonly expression: FunctionExpression;
@@ -8379,7 +8601,7 @@ declare namespace ts {
8379
8601
  TypeParameters = 53776,
8380
8602
  Parameters = 2576,
8381
8603
  IndexSignatureParameters = 8848,
8382
- JSDocComment = 33
8604
+ JSDocComment = 33,
8383
8605
  }
8384
8606
  interface UserPreferences {
8385
8607
  readonly disableSuggestions?: boolean;
@@ -8427,7 +8649,7 @@ declare namespace ts {
8427
8649
  enum FileWatcherEventKind {
8428
8650
  Created = 0,
8429
8651
  Changed = 1,
8430
- Deleted = 2
8652
+ Deleted = 2,
8431
8653
  }
8432
8654
  type FileWatcherCallback = (fileName: string, eventKind: FileWatcherEventKind, modifiedTime?: Date) => void;
8433
8655
  type DirectoryWatcherCallback = (fileName: string) => void;
@@ -9913,7 +10135,7 @@ declare namespace ts {
9913
10135
  enum InvalidatedProjectKind {
9914
10136
  Build = 0,
9915
10137
  /** @deprecated */ UpdateBundle = 1,
9916
- UpdateOutputFileStamps = 2
10138
+ UpdateOutputFileStamps = 2,
9917
10139
  }
9918
10140
  interface InvalidatedProjectBase {
9919
10141
  readonly kind: InvalidatedProjectKind;
@@ -10005,7 +10227,7 @@ declare namespace ts {
10005
10227
  enum LanguageServiceMode {
10006
10228
  Semantic = 0,
10007
10229
  PartialSemantic = 1,
10008
- Syntactic = 2
10230
+ Syntactic = 2,
10009
10231
  }
10010
10232
  interface IncompleteCompletionsCache {
10011
10233
  get(): CompletionInfo | undefined;
@@ -10056,7 +10278,7 @@ declare namespace ts {
10056
10278
  };
10057
10279
  enum SemanticClassificationFormat {
10058
10280
  Original = "original",
10059
- TwentyTwenty = "2020"
10281
+ TwentyTwenty = "2020",
10060
10282
  }
10061
10283
  interface LanguageService {
10062
10284
  /** This is used as a part of restarting the language service. */
@@ -10246,7 +10468,7 @@ declare namespace ts {
10246
10468
  enum OrganizeImportsMode {
10247
10469
  All = "All",
10248
10470
  SortAndCombine = "SortAndCombine",
10249
- RemoveUnused = "RemoveUnused"
10471
+ RemoveUnused = "RemoveUnused",
10250
10472
  }
10251
10473
  interface OrganizeImportsArgs extends CombinedCodeFixScope {
10252
10474
  /** @deprecated Use `mode` instead */
@@ -10260,7 +10482,7 @@ declare namespace ts {
10260
10482
  /** Completion was triggered by a trigger character. */
10261
10483
  TriggerCharacter = 2,
10262
10484
  /** Completion was re-triggered as the current completion list is incomplete. */
10263
- TriggerForIncompleteCompletions = 3
10485
+ TriggerForIncompleteCompletions = 3,
10264
10486
  }
10265
10487
  interface GetCompletionsAtPositionOptions extends UserPreferences {
10266
10488
  /**
@@ -10389,7 +10611,7 @@ declare namespace ts {
10389
10611
  enum InlayHintKind {
10390
10612
  Type = "Type",
10391
10613
  Parameter = "Parameter",
10392
- Enum = "Enum"
10614
+ Enum = "Enum",
10393
10615
  }
10394
10616
  interface InlayHint {
10395
10617
  /** This property will be the empty string when displayParts is set. */
@@ -10553,7 +10775,7 @@ declare namespace ts {
10553
10775
  none = "none",
10554
10776
  definition = "definition",
10555
10777
  reference = "reference",
10556
- writtenReference = "writtenReference"
10778
+ writtenReference = "writtenReference",
10557
10779
  }
10558
10780
  interface HighlightSpan {
10559
10781
  fileName?: string;
@@ -10576,12 +10798,12 @@ declare namespace ts {
10576
10798
  enum IndentStyle {
10577
10799
  None = 0,
10578
10800
  Block = 1,
10579
- Smart = 2
10801
+ Smart = 2,
10580
10802
  }
10581
10803
  enum SemicolonPreference {
10582
10804
  Ignore = "ignore",
10583
10805
  Insert = "insert",
10584
- Remove = "remove"
10806
+ Remove = "remove",
10585
10807
  }
10586
10808
  /** @deprecated - consider using EditorSettings instead */
10587
10809
  interface EditorOptions {
@@ -10688,7 +10910,7 @@ declare namespace ts {
10688
10910
  regularExpressionLiteral = 21,
10689
10911
  link = 22,
10690
10912
  linkName = 23,
10691
- linkText = 24
10913
+ linkText = 24,
10692
10914
  }
10693
10915
  interface SymbolDisplayPart {
10694
10916
  text: string;
@@ -10783,7 +11005,7 @@ declare namespace ts {
10783
11005
  IsContinuation = 4,
10784
11006
  ResolvedModuleSpecifiers = 8,
10785
11007
  ResolvedModuleSpecifiersBeyondLimit = 16,
10786
- MayIncludeMethodSnippets = 32
11008
+ MayIncludeMethodSnippets = 32,
10787
11009
  }
10788
11010
  interface CompletionInfo {
10789
11011
  /** For performance telemetry. */
@@ -10908,12 +11130,12 @@ declare namespace ts {
10908
11130
  /** Declarations and expressions */
10909
11131
  Code = "code",
10910
11132
  /** Contiguous blocks of import declarations */
10911
- Imports = "imports"
11133
+ Imports = "imports",
10912
11134
  }
10913
11135
  enum OutputFileType {
10914
11136
  JavaScript = 0,
10915
11137
  SourceMap = 1,
10916
- Declaration = 2
11138
+ Declaration = 2,
10917
11139
  }
10918
11140
  enum EndOfLineState {
10919
11141
  None = 0,
@@ -10922,7 +11144,7 @@ declare namespace ts {
10922
11144
  InDoubleQuoteStringLiteral = 3,
10923
11145
  InTemplateHeadOrNoSubstitutionTemplate = 4,
10924
11146
  InTemplateMiddleOrTail = 5,
10925
- InTemplateSubstitutionPosition = 6
11147
+ InTemplateSubstitutionPosition = 6,
10926
11148
  }
10927
11149
  enum TokenClass {
10928
11150
  Punctuation = 0,
@@ -10934,7 +11156,7 @@ declare namespace ts {
10934
11156
  NumberLiteral = 6,
10935
11157
  BigIntLiteral = 7,
10936
11158
  StringLiteral = 8,
10937
- RegExpLiteral = 9
11159
+ RegExpLiteral = 9,
10938
11160
  }
10939
11161
  interface ClassificationResult {
10940
11162
  finalLexState: EndOfLineState;
@@ -11051,7 +11273,7 @@ declare namespace ts {
11051
11273
  /** Jsdoc @link: in `{@link C link text}`, the entity name "C" */
11052
11274
  linkName = "link name",
11053
11275
  /** Jsdoc @link: in `{@link C link text}`, the link text "link text" */
11054
- linkText = "link text"
11276
+ linkText = "link text",
11055
11277
  }
11056
11278
  enum ScriptElementKindModifier {
11057
11279
  none = "",
@@ -11075,7 +11297,7 @@ declare namespace ts {
11075
11297
  mjsModifier = ".mjs",
11076
11298
  dctsModifier = ".d.cts",
11077
11299
  ctsModifier = ".cts",
11078
- cjsModifier = ".cjs"
11300
+ cjsModifier = ".cjs",
11079
11301
  }
11080
11302
  enum ClassificationTypeNames {
11081
11303
  comment = "comment",
@@ -11101,7 +11323,7 @@ declare namespace ts {
11101
11323
  jsxSelfClosingTagName = "jsx self closing tag name",
11102
11324
  jsxAttribute = "jsx attribute",
11103
11325
  jsxText = "jsx text",
11104
- jsxAttributeStringLiteralValue = "jsx attribute string literal value"
11326
+ jsxAttributeStringLiteralValue = "jsx attribute string literal value",
11105
11327
  }
11106
11328
  enum ClassificationType {
11107
11329
  comment = 1,
@@ -11128,7 +11350,7 @@ declare namespace ts {
11128
11350
  jsxAttribute = 22,
11129
11351
  jsxText = 23,
11130
11352
  jsxAttributeStringLiteralValue = 24,
11131
- bigintLiteral = 25
11353
+ bigintLiteral = 25,
11132
11354
  }
11133
11355
  interface InlayHintsContext {
11134
11356
  file: SourceFile;
@@ -11271,4 +11493,4 @@ declare namespace ts {
11271
11493
  */
11272
11494
  function transform<T extends Node>(source: T | T[], transformers: TransformerFactory<T>[], compilerOptions?: CompilerOptions): TransformationResult<T>;
11273
11495
  }
11274
- export = ts;
11496
+ export = ts;