@typescript-deploys/pr-build 5.3.0-pr-55278-2 → 5.3.0-pr-55696-3
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.
- package/SECURITY.md +7 -7
- package/lib/cancellationToken.js +1 -1
- package/lib/lib.decorators.d.ts +3 -6
- package/lib/lib.es2015.collection.d.ts +1 -2
- package/lib/lib.es2015.core.d.ts +1 -1
- package/lib/lib.es2015.iterable.d.ts +4 -5
- package/lib/lib.es2015.promise.d.ts +1 -1
- package/lib/lib.es2015.symbol.d.ts +1 -1
- package/lib/lib.es2016.array.include.d.ts +1 -1
- package/lib/lib.es2016.d.ts +1 -1
- package/lib/lib.es2016.full.d.ts +1 -1
- package/lib/lib.es2017.full.d.ts +1 -1
- package/lib/lib.es2017.intl.d.ts +11 -12
- package/lib/lib.es2017.object.d.ts +3 -3
- package/lib/lib.es2018.asynciterable.d.ts +1 -1
- package/lib/lib.es2018.full.d.ts +1 -1
- package/lib/lib.es2018.intl.d.ts +1 -2
- package/lib/lib.es2018.promise.d.ts +1 -1
- package/lib/lib.es2018.regexp.d.ts +5 -5
- package/lib/lib.es2019.array.d.ts +14 -18
- package/lib/lib.es2019.intl.d.ts +1 -1
- package/lib/lib.es2019.object.d.ts +1 -1
- package/lib/lib.es2020.bigint.d.ts +7 -7
- package/lib/lib.es2020.date.d.ts +1 -1
- package/lib/lib.es2020.intl.d.ts +11 -13
- package/lib/lib.es2020.promise.d.ts +1 -1
- package/lib/lib.es2021.intl.d.ts +5 -6
- package/lib/lib.es2021.promise.d.ts +3 -3
- package/lib/lib.es2021.weakref.d.ts +2 -2
- package/lib/lib.es2022.error.d.ts +2 -2
- package/lib/lib.es2022.intl.d.ts +1 -2
- package/lib/lib.es2022.sharedmemory.d.ts +2 -2
- package/lib/lib.es2023.array.d.ts +61 -61
- package/lib/lib.es5.d.ts +74 -88
- package/lib/lib.esnext.disposable.d.ts +10 -10
- package/lib/lib.esnext.full.d.ts +1 -1
- package/lib/lib.esnext.intl.d.ts +7 -7
- package/lib/lib.scripthost.d.ts +1 -4
- package/lib/lib.webworker.importscripts.d.ts +0 -1
- package/lib/tsc.js +1665 -1711
- package/lib/tsserver.js +2302 -2399
- package/lib/typesMap.json +2 -2
- package/lib/typescript.d.ts +345 -118
- package/lib/typescript.js +2696 -2786
- package/lib/typingsInstaller.js +163 -214
- package/package.json +4 -5
package/lib/typescript.d.ts
CHANGED
|
@@ -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;
|
|
@@ -2897,6 +2897,10 @@ declare namespace ts {
|
|
|
2897
2897
|
* Indicates whether {@link ReferencesResponseItem.lineText} is supported.
|
|
2898
2898
|
*/
|
|
2899
2899
|
readonly disableLineTextInReferences?: boolean;
|
|
2900
|
+
/**
|
|
2901
|
+
* Indicates whether to exclude standard library and node_modules file symbols from navTo results.
|
|
2902
|
+
*/
|
|
2903
|
+
readonly excludeLibrarySymbolsInNavTo?: boolean;
|
|
2900
2904
|
}
|
|
2901
2905
|
interface CompilerOptions {
|
|
2902
2906
|
allowJs?: boolean;
|
|
@@ -2974,7 +2978,7 @@ declare namespace ts {
|
|
|
2974
2978
|
None = "None",
|
|
2975
2979
|
Preserve = "Preserve",
|
|
2976
2980
|
ReactNative = "ReactNative",
|
|
2977
|
-
React = "React"
|
|
2981
|
+
React = "React",
|
|
2978
2982
|
}
|
|
2979
2983
|
enum ModuleKind {
|
|
2980
2984
|
None = "None",
|
|
@@ -2984,15 +2988,15 @@ declare namespace ts {
|
|
|
2984
2988
|
System = "System",
|
|
2985
2989
|
ES6 = "ES6",
|
|
2986
2990
|
ES2015 = "ES2015",
|
|
2987
|
-
ESNext = "ESNext"
|
|
2991
|
+
ESNext = "ESNext",
|
|
2988
2992
|
}
|
|
2989
2993
|
enum ModuleResolutionKind {
|
|
2990
2994
|
Classic = "Classic",
|
|
2991
|
-
Node = "Node"
|
|
2995
|
+
Node = "Node",
|
|
2992
2996
|
}
|
|
2993
2997
|
enum NewLineKind {
|
|
2994
2998
|
Crlf = "Crlf",
|
|
2995
|
-
Lf = "Lf"
|
|
2999
|
+
Lf = "Lf",
|
|
2996
3000
|
}
|
|
2997
3001
|
enum ScriptTarget {
|
|
2998
3002
|
ES3 = "ES3",
|
|
@@ -3006,7 +3010,7 @@ declare namespace ts {
|
|
|
3006
3010
|
ES2020 = "ES2020",
|
|
3007
3011
|
ES2021 = "ES2021",
|
|
3008
3012
|
ES2022 = "ES2022",
|
|
3009
|
-
ESNext = "ESNext"
|
|
3013
|
+
ESNext = "ESNext",
|
|
3010
3014
|
}
|
|
3011
3015
|
enum ClassificationType {
|
|
3012
3016
|
comment = 1,
|
|
@@ -3033,7 +3037,7 @@ declare namespace ts {
|
|
|
3033
3037
|
jsxAttribute = 22,
|
|
3034
3038
|
jsxText = 23,
|
|
3035
3039
|
jsxAttributeStringLiteralValue = 24,
|
|
3036
|
-
bigintLiteral = 25
|
|
3040
|
+
bigintLiteral = 25,
|
|
3037
3041
|
}
|
|
3038
3042
|
}
|
|
3039
3043
|
namespace typingsInstaller {
|
|
@@ -3122,7 +3126,7 @@ declare namespace ts {
|
|
|
3122
3126
|
terse = 0,
|
|
3123
3127
|
normal = 1,
|
|
3124
3128
|
requestTime = 2,
|
|
3125
|
-
verbose = 3
|
|
3129
|
+
verbose = 3,
|
|
3126
3130
|
}
|
|
3127
3131
|
const emptyArray: SortedReadonlyArray<never>;
|
|
3128
3132
|
interface Logger {
|
|
@@ -3139,7 +3143,7 @@ declare namespace ts {
|
|
|
3139
3143
|
enum Msg {
|
|
3140
3144
|
Err = "Err",
|
|
3141
3145
|
Info = "Info",
|
|
3142
|
-
Perf = "Perf"
|
|
3146
|
+
Perf = "Perf",
|
|
3143
3147
|
}
|
|
3144
3148
|
namespace Errors {
|
|
3145
3149
|
function ThrowNoProject(): never;
|
|
@@ -3221,7 +3225,7 @@ declare namespace ts {
|
|
|
3221
3225
|
Configured = 1,
|
|
3222
3226
|
External = 2,
|
|
3223
3227
|
AutoImportProvider = 3,
|
|
3224
|
-
Auxiliary = 4
|
|
3228
|
+
Auxiliary = 4,
|
|
3225
3229
|
}
|
|
3226
3230
|
interface PluginCreateInfo {
|
|
3227
3231
|
project: Project;
|
|
@@ -3877,10 +3881,10 @@ declare namespace ts {
|
|
|
3877
3881
|
byteLength: (buf: string, encoding?: BufferEncoding) => number;
|
|
3878
3882
|
hrtime: (start?: [
|
|
3879
3883
|
number,
|
|
3880
|
-
number
|
|
3884
|
+
number,
|
|
3881
3885
|
]) => [
|
|
3882
3886
|
number,
|
|
3883
|
-
number
|
|
3887
|
+
number,
|
|
3884
3888
|
];
|
|
3885
3889
|
logger: Logger;
|
|
3886
3890
|
/**
|
|
@@ -4500,13 +4504,157 @@ declare namespace ts {
|
|
|
4500
4504
|
FirstJSDocNode = 316,
|
|
4501
4505
|
LastJSDocNode = 357,
|
|
4502
4506
|
FirstJSDocTagNode = 334,
|
|
4503
|
-
LastJSDocTagNode = 357
|
|
4507
|
+
LastJSDocTagNode = 357,
|
|
4504
4508
|
}
|
|
4505
4509
|
type TriviaSyntaxKind = SyntaxKind.SingleLineCommentTrivia | SyntaxKind.MultiLineCommentTrivia | SyntaxKind.NewLineTrivia | SyntaxKind.WhitespaceTrivia | SyntaxKind.ShebangTrivia | SyntaxKind.ConflictMarkerTrivia;
|
|
4506
4510
|
type LiteralSyntaxKind = SyntaxKind.NumericLiteral | SyntaxKind.BigIntLiteral | SyntaxKind.StringLiteral | SyntaxKind.JsxText | SyntaxKind.JsxTextAllWhiteSpaces | SyntaxKind.RegularExpressionLiteral | SyntaxKind.NoSubstitutionTemplateLiteral;
|
|
4507
4511
|
type PseudoLiteralSyntaxKind = SyntaxKind.TemplateHead | SyntaxKind.TemplateMiddle | SyntaxKind.TemplateTail;
|
|
4508
|
-
type PunctuationSyntaxKind =
|
|
4509
|
-
|
|
4512
|
+
type PunctuationSyntaxKind =
|
|
4513
|
+
| SyntaxKind.OpenBraceToken
|
|
4514
|
+
| SyntaxKind.CloseBraceToken
|
|
4515
|
+
| SyntaxKind.OpenParenToken
|
|
4516
|
+
| SyntaxKind.CloseParenToken
|
|
4517
|
+
| SyntaxKind.OpenBracketToken
|
|
4518
|
+
| SyntaxKind.CloseBracketToken
|
|
4519
|
+
| SyntaxKind.DotToken
|
|
4520
|
+
| SyntaxKind.DotDotDotToken
|
|
4521
|
+
| SyntaxKind.SemicolonToken
|
|
4522
|
+
| SyntaxKind.CommaToken
|
|
4523
|
+
| SyntaxKind.QuestionDotToken
|
|
4524
|
+
| SyntaxKind.LessThanToken
|
|
4525
|
+
| SyntaxKind.LessThanSlashToken
|
|
4526
|
+
| SyntaxKind.GreaterThanToken
|
|
4527
|
+
| SyntaxKind.LessThanEqualsToken
|
|
4528
|
+
| SyntaxKind.GreaterThanEqualsToken
|
|
4529
|
+
| SyntaxKind.EqualsEqualsToken
|
|
4530
|
+
| SyntaxKind.ExclamationEqualsToken
|
|
4531
|
+
| SyntaxKind.EqualsEqualsEqualsToken
|
|
4532
|
+
| SyntaxKind.ExclamationEqualsEqualsToken
|
|
4533
|
+
| SyntaxKind.EqualsGreaterThanToken
|
|
4534
|
+
| SyntaxKind.PlusToken
|
|
4535
|
+
| SyntaxKind.MinusToken
|
|
4536
|
+
| SyntaxKind.AsteriskToken
|
|
4537
|
+
| SyntaxKind.AsteriskAsteriskToken
|
|
4538
|
+
| SyntaxKind.SlashToken
|
|
4539
|
+
| SyntaxKind.PercentToken
|
|
4540
|
+
| SyntaxKind.PlusPlusToken
|
|
4541
|
+
| SyntaxKind.MinusMinusToken
|
|
4542
|
+
| SyntaxKind.LessThanLessThanToken
|
|
4543
|
+
| SyntaxKind.GreaterThanGreaterThanToken
|
|
4544
|
+
| SyntaxKind.GreaterThanGreaterThanGreaterThanToken
|
|
4545
|
+
| SyntaxKind.AmpersandToken
|
|
4546
|
+
| SyntaxKind.BarToken
|
|
4547
|
+
| SyntaxKind.CaretToken
|
|
4548
|
+
| SyntaxKind.ExclamationToken
|
|
4549
|
+
| SyntaxKind.TildeToken
|
|
4550
|
+
| SyntaxKind.AmpersandAmpersandToken
|
|
4551
|
+
| SyntaxKind.AmpersandAmpersandEqualsToken
|
|
4552
|
+
| SyntaxKind.BarBarToken
|
|
4553
|
+
| SyntaxKind.BarBarEqualsToken
|
|
4554
|
+
| SyntaxKind.QuestionQuestionToken
|
|
4555
|
+
| SyntaxKind.QuestionQuestionEqualsToken
|
|
4556
|
+
| SyntaxKind.QuestionToken
|
|
4557
|
+
| SyntaxKind.ColonToken
|
|
4558
|
+
| SyntaxKind.AtToken
|
|
4559
|
+
| SyntaxKind.BacktickToken
|
|
4560
|
+
| SyntaxKind.HashToken
|
|
4561
|
+
| SyntaxKind.EqualsToken
|
|
4562
|
+
| SyntaxKind.PlusEqualsToken
|
|
4563
|
+
| SyntaxKind.MinusEqualsToken
|
|
4564
|
+
| SyntaxKind.AsteriskEqualsToken
|
|
4565
|
+
| SyntaxKind.AsteriskAsteriskEqualsToken
|
|
4566
|
+
| SyntaxKind.SlashEqualsToken
|
|
4567
|
+
| SyntaxKind.PercentEqualsToken
|
|
4568
|
+
| SyntaxKind.LessThanLessThanEqualsToken
|
|
4569
|
+
| SyntaxKind.GreaterThanGreaterThanEqualsToken
|
|
4570
|
+
| SyntaxKind.GreaterThanGreaterThanGreaterThanEqualsToken
|
|
4571
|
+
| SyntaxKind.AmpersandEqualsToken
|
|
4572
|
+
| SyntaxKind.BarEqualsToken
|
|
4573
|
+
| SyntaxKind.CaretEqualsToken;
|
|
4574
|
+
type KeywordSyntaxKind =
|
|
4575
|
+
| SyntaxKind.AbstractKeyword
|
|
4576
|
+
| SyntaxKind.AccessorKeyword
|
|
4577
|
+
| SyntaxKind.AnyKeyword
|
|
4578
|
+
| SyntaxKind.AsKeyword
|
|
4579
|
+
| SyntaxKind.AssertsKeyword
|
|
4580
|
+
| SyntaxKind.AssertKeyword
|
|
4581
|
+
| SyntaxKind.AsyncKeyword
|
|
4582
|
+
| SyntaxKind.AwaitKeyword
|
|
4583
|
+
| SyntaxKind.BigIntKeyword
|
|
4584
|
+
| SyntaxKind.BooleanKeyword
|
|
4585
|
+
| SyntaxKind.BreakKeyword
|
|
4586
|
+
| SyntaxKind.CaseKeyword
|
|
4587
|
+
| SyntaxKind.CatchKeyword
|
|
4588
|
+
| SyntaxKind.ClassKeyword
|
|
4589
|
+
| SyntaxKind.ConstKeyword
|
|
4590
|
+
| SyntaxKind.ConstructorKeyword
|
|
4591
|
+
| SyntaxKind.ContinueKeyword
|
|
4592
|
+
| SyntaxKind.DebuggerKeyword
|
|
4593
|
+
| SyntaxKind.DeclareKeyword
|
|
4594
|
+
| SyntaxKind.DefaultKeyword
|
|
4595
|
+
| SyntaxKind.DeleteKeyword
|
|
4596
|
+
| SyntaxKind.DoKeyword
|
|
4597
|
+
| SyntaxKind.ElseKeyword
|
|
4598
|
+
| SyntaxKind.EnumKeyword
|
|
4599
|
+
| SyntaxKind.ExportKeyword
|
|
4600
|
+
| SyntaxKind.ExtendsKeyword
|
|
4601
|
+
| SyntaxKind.FalseKeyword
|
|
4602
|
+
| SyntaxKind.FinallyKeyword
|
|
4603
|
+
| SyntaxKind.ForKeyword
|
|
4604
|
+
| SyntaxKind.FromKeyword
|
|
4605
|
+
| SyntaxKind.FunctionKeyword
|
|
4606
|
+
| SyntaxKind.GetKeyword
|
|
4607
|
+
| SyntaxKind.GlobalKeyword
|
|
4608
|
+
| SyntaxKind.IfKeyword
|
|
4609
|
+
| SyntaxKind.ImplementsKeyword
|
|
4610
|
+
| SyntaxKind.ImportKeyword
|
|
4611
|
+
| SyntaxKind.InferKeyword
|
|
4612
|
+
| SyntaxKind.InKeyword
|
|
4613
|
+
| SyntaxKind.InstanceOfKeyword
|
|
4614
|
+
| SyntaxKind.InterfaceKeyword
|
|
4615
|
+
| SyntaxKind.IntrinsicKeyword
|
|
4616
|
+
| SyntaxKind.IsKeyword
|
|
4617
|
+
| SyntaxKind.KeyOfKeyword
|
|
4618
|
+
| SyntaxKind.LetKeyword
|
|
4619
|
+
| SyntaxKind.ModuleKeyword
|
|
4620
|
+
| SyntaxKind.NamespaceKeyword
|
|
4621
|
+
| SyntaxKind.NeverKeyword
|
|
4622
|
+
| SyntaxKind.NewKeyword
|
|
4623
|
+
| SyntaxKind.NullKeyword
|
|
4624
|
+
| SyntaxKind.NumberKeyword
|
|
4625
|
+
| SyntaxKind.ObjectKeyword
|
|
4626
|
+
| SyntaxKind.OfKeyword
|
|
4627
|
+
| SyntaxKind.PackageKeyword
|
|
4628
|
+
| SyntaxKind.PrivateKeyword
|
|
4629
|
+
| SyntaxKind.ProtectedKeyword
|
|
4630
|
+
| SyntaxKind.PublicKeyword
|
|
4631
|
+
| SyntaxKind.ReadonlyKeyword
|
|
4632
|
+
| SyntaxKind.OutKeyword
|
|
4633
|
+
| SyntaxKind.OverrideKeyword
|
|
4634
|
+
| SyntaxKind.RequireKeyword
|
|
4635
|
+
| SyntaxKind.ReturnKeyword
|
|
4636
|
+
| SyntaxKind.SatisfiesKeyword
|
|
4637
|
+
| SyntaxKind.SetKeyword
|
|
4638
|
+
| SyntaxKind.StaticKeyword
|
|
4639
|
+
| SyntaxKind.StringKeyword
|
|
4640
|
+
| SyntaxKind.SuperKeyword
|
|
4641
|
+
| SyntaxKind.SwitchKeyword
|
|
4642
|
+
| SyntaxKind.SymbolKeyword
|
|
4643
|
+
| SyntaxKind.ThisKeyword
|
|
4644
|
+
| SyntaxKind.ThrowKeyword
|
|
4645
|
+
| SyntaxKind.TrueKeyword
|
|
4646
|
+
| SyntaxKind.TryKeyword
|
|
4647
|
+
| SyntaxKind.TypeKeyword
|
|
4648
|
+
| SyntaxKind.TypeOfKeyword
|
|
4649
|
+
| SyntaxKind.UndefinedKeyword
|
|
4650
|
+
| SyntaxKind.UniqueKeyword
|
|
4651
|
+
| SyntaxKind.UnknownKeyword
|
|
4652
|
+
| SyntaxKind.UsingKeyword
|
|
4653
|
+
| SyntaxKind.VarKeyword
|
|
4654
|
+
| SyntaxKind.VoidKeyword
|
|
4655
|
+
| SyntaxKind.WhileKeyword
|
|
4656
|
+
| SyntaxKind.WithKeyword
|
|
4657
|
+
| SyntaxKind.YieldKeyword;
|
|
4510
4658
|
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
4659
|
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
4660
|
type TokenSyntaxKind = SyntaxKind.Unknown | SyntaxKind.EndOfFileToken | TriviaSyntaxKind | LiteralSyntaxKind | PseudoLiteralSyntaxKind | PunctuationSyntaxKind | SyntaxKind.Identifier | KeywordSyntaxKind;
|
|
@@ -4544,7 +4692,7 @@ declare namespace ts {
|
|
|
4544
4692
|
ReachabilityCheckFlags = 1536,
|
|
4545
4693
|
ReachabilityAndEmitFlags = 5632,
|
|
4546
4694
|
ContextFlags = 101441536,
|
|
4547
|
-
TypeExcludesFlags = 81920
|
|
4695
|
+
TypeExcludesFlags = 81920,
|
|
4548
4696
|
}
|
|
4549
4697
|
enum ModifierFlags {
|
|
4550
4698
|
None = 0,
|
|
@@ -4573,7 +4721,7 @@ declare namespace ts {
|
|
|
4573
4721
|
TypeScriptModifier = 117086,
|
|
4574
4722
|
ExportDefault = 1025,
|
|
4575
4723
|
All = 258047,
|
|
4576
|
-
Modifier = 126975
|
|
4724
|
+
Modifier = 126975,
|
|
4577
4725
|
}
|
|
4578
4726
|
enum JsxFlags {
|
|
4579
4727
|
None = 0,
|
|
@@ -4581,7 +4729,7 @@ declare namespace ts {
|
|
|
4581
4729
|
IntrinsicNamedElement = 1,
|
|
4582
4730
|
/** An element inferred from the string index signature of the JSX.IntrinsicElements interface */
|
|
4583
4731
|
IntrinsicIndexedElement = 2,
|
|
4584
|
-
IntrinsicElement = 3
|
|
4732
|
+
IntrinsicElement = 3,
|
|
4585
4733
|
}
|
|
4586
4734
|
interface Node extends ReadonlyTextRange {
|
|
4587
4735
|
readonly kind: SyntaxKind;
|
|
@@ -4614,7 +4762,71 @@ declare namespace ts {
|
|
|
4614
4762
|
interface FlowContainer extends Node {
|
|
4615
4763
|
_flowContainerBrand: any;
|
|
4616
4764
|
}
|
|
4617
|
-
type HasJSDoc =
|
|
4765
|
+
type HasJSDoc =
|
|
4766
|
+
| AccessorDeclaration
|
|
4767
|
+
| ArrowFunction
|
|
4768
|
+
| BinaryExpression
|
|
4769
|
+
| Block
|
|
4770
|
+
| BreakStatement
|
|
4771
|
+
| CallSignatureDeclaration
|
|
4772
|
+
| CaseClause
|
|
4773
|
+
| ClassLikeDeclaration
|
|
4774
|
+
| ClassStaticBlockDeclaration
|
|
4775
|
+
| ConstructorDeclaration
|
|
4776
|
+
| ConstructorTypeNode
|
|
4777
|
+
| ConstructSignatureDeclaration
|
|
4778
|
+
| ContinueStatement
|
|
4779
|
+
| DebuggerStatement
|
|
4780
|
+
| DoStatement
|
|
4781
|
+
| ElementAccessExpression
|
|
4782
|
+
| EmptyStatement
|
|
4783
|
+
| EndOfFileToken
|
|
4784
|
+
| EnumDeclaration
|
|
4785
|
+
| EnumMember
|
|
4786
|
+
| ExportAssignment
|
|
4787
|
+
| ExportDeclaration
|
|
4788
|
+
| ExportSpecifier
|
|
4789
|
+
| ExpressionStatement
|
|
4790
|
+
| ForInStatement
|
|
4791
|
+
| ForOfStatement
|
|
4792
|
+
| ForStatement
|
|
4793
|
+
| FunctionDeclaration
|
|
4794
|
+
| FunctionExpression
|
|
4795
|
+
| FunctionTypeNode
|
|
4796
|
+
| Identifier
|
|
4797
|
+
| IfStatement
|
|
4798
|
+
| ImportDeclaration
|
|
4799
|
+
| ImportEqualsDeclaration
|
|
4800
|
+
| IndexSignatureDeclaration
|
|
4801
|
+
| InterfaceDeclaration
|
|
4802
|
+
| JSDocFunctionType
|
|
4803
|
+
| JSDocSignature
|
|
4804
|
+
| LabeledStatement
|
|
4805
|
+
| MethodDeclaration
|
|
4806
|
+
| MethodSignature
|
|
4807
|
+
| ModuleDeclaration
|
|
4808
|
+
| NamedTupleMember
|
|
4809
|
+
| NamespaceExportDeclaration
|
|
4810
|
+
| ObjectLiteralExpression
|
|
4811
|
+
| ParameterDeclaration
|
|
4812
|
+
| ParenthesizedExpression
|
|
4813
|
+
| PropertyAccessExpression
|
|
4814
|
+
| PropertyAssignment
|
|
4815
|
+
| PropertyDeclaration
|
|
4816
|
+
| PropertySignature
|
|
4817
|
+
| ReturnStatement
|
|
4818
|
+
| SemicolonClassElement
|
|
4819
|
+
| ShorthandPropertyAssignment
|
|
4820
|
+
| SpreadAssignment
|
|
4821
|
+
| SwitchStatement
|
|
4822
|
+
| ThrowStatement
|
|
4823
|
+
| TryStatement
|
|
4824
|
+
| TypeAliasDeclaration
|
|
4825
|
+
| TypeParameterDeclaration
|
|
4826
|
+
| VariableDeclaration
|
|
4827
|
+
| VariableStatement
|
|
4828
|
+
| WhileStatement
|
|
4829
|
+
| WithStatement;
|
|
4618
4830
|
type HasType = SignatureDeclaration | VariableDeclaration | ParameterDeclaration | PropertySignature | PropertyDeclaration | TypePredicateNode | ParenthesizedTypeNode | TypeOperatorNode | MappedTypeNode | AssertionExpression | TypeAliasDeclaration | JSDocTypeExpression | JSDocNonNullableType | JSDocNullableType | JSDocOptionalType | JSDocVariadicType;
|
|
4619
4831
|
type HasTypeArguments = CallExpression | NewExpression | TaggedTemplateExpression | JsxOpeningElement | JsxSelfClosingElement;
|
|
4620
4832
|
type HasInitializer = HasExpressionInitializer | ForStatement | ForInStatement | ForOfStatement | JsxAttribute;
|
|
@@ -4678,7 +4890,7 @@ declare namespace ts {
|
|
|
4678
4890
|
ReservedInNestedScopes = 8,
|
|
4679
4891
|
Optimistic = 16,
|
|
4680
4892
|
FileLevel = 32,
|
|
4681
|
-
AllowNameSubstitution = 64
|
|
4893
|
+
AllowNameSubstitution = 64,
|
|
4682
4894
|
}
|
|
4683
4895
|
interface Identifier extends PrimaryExpression, Declaration, JSDocContainer, FlowContainer {
|
|
4684
4896
|
readonly kind: SyntaxKind.Identifier;
|
|
@@ -5246,7 +5458,7 @@ declare namespace ts {
|
|
|
5246
5458
|
Octal = 32,
|
|
5247
5459
|
HexSpecifier = 64,
|
|
5248
5460
|
BinarySpecifier = 128,
|
|
5249
|
-
OctalSpecifier = 256
|
|
5461
|
+
OctalSpecifier = 256,
|
|
5250
5462
|
}
|
|
5251
5463
|
interface NumericLiteral extends LiteralExpression, Declaration {
|
|
5252
5464
|
readonly kind: SyntaxKind.NumericLiteral;
|
|
@@ -5806,41 +6018,50 @@ declare namespace ts {
|
|
|
5806
6018
|
}
|
|
5807
6019
|
type ImportOrExportSpecifier = ImportSpecifier | ExportSpecifier;
|
|
5808
6020
|
type TypeOnlyCompatibleAliasDeclaration = ImportClause | ImportEqualsDeclaration | NamespaceImport | ImportOrExportSpecifier | ExportDeclaration | NamespaceExport;
|
|
5809
|
-
type TypeOnlyImportDeclaration =
|
|
5810
|
-
|
|
5811
|
-
readonly name: Identifier;
|
|
5812
|
-
} | ImportEqualsDeclaration & {
|
|
5813
|
-
readonly isTypeOnly: true;
|
|
5814
|
-
} | NamespaceImport & {
|
|
5815
|
-
readonly parent: ImportClause & {
|
|
6021
|
+
type TypeOnlyImportDeclaration =
|
|
6022
|
+
| ImportClause & {
|
|
5816
6023
|
readonly isTypeOnly: true;
|
|
5817
|
-
|
|
5818
|
-
|
|
5819
|
-
|
|
5820
|
-
|
|
5821
|
-
|
|
6024
|
+
readonly name: Identifier;
|
|
6025
|
+
}
|
|
6026
|
+
| ImportEqualsDeclaration & {
|
|
6027
|
+
readonly isTypeOnly: true;
|
|
6028
|
+
}
|
|
6029
|
+
| NamespaceImport & {
|
|
5822
6030
|
readonly parent: ImportClause & {
|
|
5823
6031
|
readonly isTypeOnly: true;
|
|
5824
6032
|
};
|
|
5825
|
-
}
|
|
5826
|
-
|
|
5827
|
-
|
|
5828
|
-
readonly isTypeOnly: true;
|
|
5829
|
-
} | {
|
|
5830
|
-
readonly parent: NamedExports & {
|
|
5831
|
-
readonly parent: ExportDeclaration & {
|
|
6033
|
+
}
|
|
6034
|
+
| ImportSpecifier
|
|
6035
|
+
& ({
|
|
5832
6036
|
readonly isTypeOnly: true;
|
|
5833
|
-
}
|
|
5834
|
-
|
|
5835
|
-
|
|
5836
|
-
|
|
5837
|
-
|
|
5838
|
-
|
|
5839
|
-
|
|
6037
|
+
} | {
|
|
6038
|
+
readonly parent: NamedImports & {
|
|
6039
|
+
readonly parent: ImportClause & {
|
|
6040
|
+
readonly isTypeOnly: true;
|
|
6041
|
+
};
|
|
6042
|
+
};
|
|
6043
|
+
});
|
|
6044
|
+
type TypeOnlyExportDeclaration =
|
|
6045
|
+
| ExportSpecifier
|
|
6046
|
+
& ({
|
|
6047
|
+
readonly isTypeOnly: true;
|
|
6048
|
+
} | {
|
|
6049
|
+
readonly parent: NamedExports & {
|
|
6050
|
+
readonly parent: ExportDeclaration & {
|
|
6051
|
+
readonly isTypeOnly: true;
|
|
6052
|
+
};
|
|
6053
|
+
};
|
|
6054
|
+
})
|
|
6055
|
+
| ExportDeclaration & {
|
|
5840
6056
|
readonly isTypeOnly: true;
|
|
5841
6057
|
readonly moduleSpecifier: Expression;
|
|
6058
|
+
}
|
|
6059
|
+
| NamespaceExport & {
|
|
6060
|
+
readonly parent: ExportDeclaration & {
|
|
6061
|
+
readonly isTypeOnly: true;
|
|
6062
|
+
readonly moduleSpecifier: Expression;
|
|
6063
|
+
};
|
|
5842
6064
|
};
|
|
5843
|
-
};
|
|
5844
6065
|
type TypeOnlyAliasDeclaration = TypeOnlyImportDeclaration | TypeOnlyExportDeclaration;
|
|
5845
6066
|
/**
|
|
5846
6067
|
* This is either an `export =` or an `export default` declaration.
|
|
@@ -6088,7 +6309,7 @@ declare namespace ts {
|
|
|
6088
6309
|
Referenced = 2048,
|
|
6089
6310
|
Shared = 4096,
|
|
6090
6311
|
Label = 12,
|
|
6091
|
-
Condition = 96
|
|
6312
|
+
Condition = 96,
|
|
6092
6313
|
}
|
|
6093
6314
|
type FlowNode = FlowStart | FlowLabel | FlowAssignment | FlowCondition | FlowSwitchClause | FlowArrayMutation | FlowCall | FlowReduceLabel;
|
|
6094
6315
|
interface FlowNodeBase {
|
|
@@ -6398,7 +6619,7 @@ declare namespace ts {
|
|
|
6398
6619
|
DiagnosticsPresent_OutputsSkipped = 1,
|
|
6399
6620
|
DiagnosticsPresent_OutputsGenerated = 2,
|
|
6400
6621
|
InvalidProject_OutputsSkipped = 3,
|
|
6401
|
-
ProjectReferenceCycle_OutputsSkipped = 4
|
|
6622
|
+
ProjectReferenceCycle_OutputsSkipped = 4,
|
|
6402
6623
|
}
|
|
6403
6624
|
interface EmitResult {
|
|
6404
6625
|
emitSkipped: boolean;
|
|
@@ -6428,9 +6649,11 @@ declare namespace ts {
|
|
|
6428
6649
|
/** Note that the resulting nodes cannot be checked. */
|
|
6429
6650
|
typeToTypeNode(type: Type, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined): TypeNode | undefined;
|
|
6430
6651
|
/** Note that the resulting nodes cannot be checked. */
|
|
6431
|
-
signatureToSignatureDeclaration(signature: Signature, kind: SyntaxKind, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined):
|
|
6432
|
-
|
|
6433
|
-
|
|
6652
|
+
signatureToSignatureDeclaration(signature: Signature, kind: SyntaxKind, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined):
|
|
6653
|
+
| SignatureDeclaration & {
|
|
6654
|
+
typeArguments?: NodeArray<TypeNode>;
|
|
6655
|
+
}
|
|
6656
|
+
| undefined;
|
|
6434
6657
|
/** Note that the resulting nodes cannot be checked. */
|
|
6435
6658
|
indexInfoToIndexSignatureDeclaration(indexInfo: IndexInfo, enclosingDeclaration: Node | undefined, flags: NodeBuilderFlags | undefined): IndexSignatureDeclaration | undefined;
|
|
6436
6659
|
/** Note that the resulting nodes cannot be checked. */
|
|
@@ -6587,7 +6810,7 @@ declare namespace ts {
|
|
|
6587
6810
|
IgnoreErrors = 70221824,
|
|
6588
6811
|
InObjectTypeLiteral = 4194304,
|
|
6589
6812
|
InTypeAlias = 8388608,
|
|
6590
|
-
InInitialEntityName = 16777216
|
|
6813
|
+
InInitialEntityName = 16777216,
|
|
6591
6814
|
}
|
|
6592
6815
|
enum TypeFormatFlags {
|
|
6593
6816
|
None = 0,
|
|
@@ -6612,20 +6835,20 @@ declare namespace ts {
|
|
|
6612
6835
|
InElementType = 2097152,
|
|
6613
6836
|
InFirstTypeArgument = 4194304,
|
|
6614
6837
|
InTypeAlias = 8388608,
|
|
6615
|
-
NodeBuilderFlagsMask = 848330091
|
|
6838
|
+
NodeBuilderFlagsMask = 848330091,
|
|
6616
6839
|
}
|
|
6617
6840
|
enum SymbolFormatFlags {
|
|
6618
6841
|
None = 0,
|
|
6619
6842
|
WriteTypeParametersOrArguments = 1,
|
|
6620
6843
|
UseOnlyExternalAliasing = 2,
|
|
6621
6844
|
AllowAnyNodeKind = 4,
|
|
6622
|
-
UseAliasDefinedOutsideCurrentScope = 8
|
|
6845
|
+
UseAliasDefinedOutsideCurrentScope = 8,
|
|
6623
6846
|
}
|
|
6624
6847
|
enum TypePredicateKind {
|
|
6625
6848
|
This = 0,
|
|
6626
6849
|
Identifier = 1,
|
|
6627
6850
|
AssertsThis = 2,
|
|
6628
|
-
AssertsIdentifier = 3
|
|
6851
|
+
AssertsIdentifier = 3,
|
|
6629
6852
|
}
|
|
6630
6853
|
interface TypePredicateBase {
|
|
6631
6854
|
kind: TypePredicateKind;
|
|
@@ -6716,7 +6939,7 @@ declare namespace ts {
|
|
|
6716
6939
|
ExportHasLocal = 944,
|
|
6717
6940
|
BlockScoped = 418,
|
|
6718
6941
|
PropertyOrAccessor = 98308,
|
|
6719
|
-
ClassMember = 106500
|
|
6942
|
+
ClassMember = 106500,
|
|
6720
6943
|
}
|
|
6721
6944
|
interface Symbol {
|
|
6722
6945
|
flags: SymbolFlags;
|
|
@@ -6753,7 +6976,7 @@ declare namespace ts {
|
|
|
6753
6976
|
Resolving = "__resolving__",
|
|
6754
6977
|
ExportEquals = "export=",
|
|
6755
6978
|
Default = "default",
|
|
6756
|
-
This = "this"
|
|
6979
|
+
This = "this",
|
|
6757
6980
|
}
|
|
6758
6981
|
/**
|
|
6759
6982
|
* This represents a string whose leading underscore have been escaped by adding extra leading underscores.
|
|
@@ -6763,11 +6986,14 @@ declare namespace ts {
|
|
|
6763
6986
|
* with a normal string (which is good, it cannot be misused on assignment or on usage),
|
|
6764
6987
|
* while still being comparable with a normal string via === (also good) and castable from a string.
|
|
6765
6988
|
*/
|
|
6766
|
-
type __String =
|
|
6767
|
-
|
|
6768
|
-
|
|
6769
|
-
|
|
6770
|
-
|
|
6989
|
+
type __String =
|
|
6990
|
+
| (string & {
|
|
6991
|
+
__escapedIdentifier: void;
|
|
6992
|
+
})
|
|
6993
|
+
| (void & {
|
|
6994
|
+
__escapedIdentifier: void;
|
|
6995
|
+
})
|
|
6996
|
+
| InternalSymbolName;
|
|
6771
6997
|
/** @deprecated Use ReadonlyMap<__String, T> instead. */
|
|
6772
6998
|
type ReadonlyUnderscoreEscapedMap<T> = ReadonlyMap<__String, T>;
|
|
6773
6999
|
/** @deprecated Use Map<__String, T> instead. */
|
|
@@ -6823,7 +7049,7 @@ declare namespace ts {
|
|
|
6823
7049
|
InstantiablePrimitive = 406847488,
|
|
6824
7050
|
Instantiable = 465829888,
|
|
6825
7051
|
StructuredOrInstantiable = 469499904,
|
|
6826
|
-
Narrowable = 536624127
|
|
7052
|
+
Narrowable = 536624127,
|
|
6827
7053
|
}
|
|
6828
7054
|
type DestructuringPattern = BindingPattern | ObjectLiteralExpression | ArrayLiteralExpression;
|
|
6829
7055
|
interface Type {
|
|
@@ -6900,7 +7126,7 @@ declare namespace ts {
|
|
|
6900
7126
|
ClassOrInterface = 3,
|
|
6901
7127
|
ContainsSpread = 2097152,
|
|
6902
7128
|
ObjectRestType = 4194304,
|
|
6903
|
-
InstantiationExpressionType = 8388608
|
|
7129
|
+
InstantiationExpressionType = 8388608,
|
|
6904
7130
|
}
|
|
6905
7131
|
interface ObjectType extends Type {
|
|
6906
7132
|
objectFlags: ObjectFlags;
|
|
@@ -6948,7 +7174,7 @@ declare namespace ts {
|
|
|
6948
7174
|
Fixed = 3,
|
|
6949
7175
|
Variable = 12,
|
|
6950
7176
|
NonRequired = 14,
|
|
6951
|
-
NonRest = 11
|
|
7177
|
+
NonRest = 11,
|
|
6952
7178
|
}
|
|
6953
7179
|
interface TupleType extends GenericType {
|
|
6954
7180
|
elementFlags: readonly ElementFlags[];
|
|
@@ -7025,7 +7251,7 @@ declare namespace ts {
|
|
|
7025
7251
|
}
|
|
7026
7252
|
enum SignatureKind {
|
|
7027
7253
|
Call = 0,
|
|
7028
|
-
Construct = 1
|
|
7254
|
+
Construct = 1,
|
|
7029
7255
|
}
|
|
7030
7256
|
interface Signature {
|
|
7031
7257
|
declaration?: SignatureDeclaration | JSDocSignature;
|
|
@@ -7043,7 +7269,7 @@ declare namespace ts {
|
|
|
7043
7269
|
}
|
|
7044
7270
|
enum IndexKind {
|
|
7045
7271
|
String = 0,
|
|
7046
|
-
Number = 1
|
|
7272
|
+
Number = 1,
|
|
7047
7273
|
}
|
|
7048
7274
|
interface IndexInfo {
|
|
7049
7275
|
keyType: Type;
|
|
@@ -7066,7 +7292,7 @@ declare namespace ts {
|
|
|
7066
7292
|
AlwaysStrict = 1024,
|
|
7067
7293
|
MaxValue = 2048,
|
|
7068
7294
|
PriorityImpliesCombination = 416,
|
|
7069
|
-
Circularity = -1
|
|
7295
|
+
Circularity = -1,
|
|
7070
7296
|
}
|
|
7071
7297
|
interface FileExtensionInfo {
|
|
7072
7298
|
extension: string;
|
|
@@ -7117,7 +7343,7 @@ declare namespace ts {
|
|
|
7117
7343
|
Warning = 0,
|
|
7118
7344
|
Error = 1,
|
|
7119
7345
|
Suggestion = 2,
|
|
7120
|
-
Message = 3
|
|
7346
|
+
Message = 3,
|
|
7121
7347
|
}
|
|
7122
7348
|
enum ModuleResolutionKind {
|
|
7123
7349
|
Classic = 1,
|
|
@@ -7130,7 +7356,7 @@ declare namespace ts {
|
|
|
7130
7356
|
Node10 = 2,
|
|
7131
7357
|
Node16 = 3,
|
|
7132
7358
|
NodeNext = 99,
|
|
7133
|
-
Bundler = 100
|
|
7359
|
+
Bundler = 100,
|
|
7134
7360
|
}
|
|
7135
7361
|
enum ModuleDetectionKind {
|
|
7136
7362
|
/**
|
|
@@ -7144,7 +7370,7 @@ declare namespace ts {
|
|
|
7144
7370
|
/**
|
|
7145
7371
|
* Consider all non-declaration files modules, regardless of present syntax
|
|
7146
7372
|
*/
|
|
7147
|
-
Force = 3
|
|
7373
|
+
Force = 3,
|
|
7148
7374
|
}
|
|
7149
7375
|
interface PluginImport {
|
|
7150
7376
|
name: string;
|
|
@@ -7165,19 +7391,19 @@ declare namespace ts {
|
|
|
7165
7391
|
DynamicPriorityPolling = 2,
|
|
7166
7392
|
FixedChunkSizePolling = 3,
|
|
7167
7393
|
UseFsEvents = 4,
|
|
7168
|
-
UseFsEventsOnParentDirectory = 5
|
|
7394
|
+
UseFsEventsOnParentDirectory = 5,
|
|
7169
7395
|
}
|
|
7170
7396
|
enum WatchDirectoryKind {
|
|
7171
7397
|
UseFsEvents = 0,
|
|
7172
7398
|
FixedPollingInterval = 1,
|
|
7173
7399
|
DynamicPriorityPolling = 2,
|
|
7174
|
-
FixedChunkSizePolling = 3
|
|
7400
|
+
FixedChunkSizePolling = 3,
|
|
7175
7401
|
}
|
|
7176
7402
|
enum PollingWatchKind {
|
|
7177
7403
|
FixedInterval = 0,
|
|
7178
7404
|
PriorityInterval = 1,
|
|
7179
7405
|
DynamicPriority = 2,
|
|
7180
|
-
FixedChunkSize = 3
|
|
7406
|
+
FixedChunkSize = 3,
|
|
7181
7407
|
}
|
|
7182
7408
|
type CompilerOptionsValue = string | number | boolean | (string | number)[] | string[] | MapLike<string[]> | PluginImport[] | ProjectReference[] | null | undefined;
|
|
7183
7409
|
interface CompilerOptions {
|
|
@@ -7313,7 +7539,7 @@ declare namespace ts {
|
|
|
7313
7539
|
ES2022 = 7,
|
|
7314
7540
|
ESNext = 99,
|
|
7315
7541
|
Node16 = 100,
|
|
7316
|
-
NodeNext = 199
|
|
7542
|
+
NodeNext = 199,
|
|
7317
7543
|
}
|
|
7318
7544
|
enum JsxEmit {
|
|
7319
7545
|
None = 0,
|
|
@@ -7321,16 +7547,16 @@ declare namespace ts {
|
|
|
7321
7547
|
React = 2,
|
|
7322
7548
|
ReactNative = 3,
|
|
7323
7549
|
ReactJSX = 4,
|
|
7324
|
-
ReactJSXDev = 5
|
|
7550
|
+
ReactJSXDev = 5,
|
|
7325
7551
|
}
|
|
7326
7552
|
enum ImportsNotUsedAsValues {
|
|
7327
7553
|
Remove = 0,
|
|
7328
7554
|
Preserve = 1,
|
|
7329
|
-
Error = 2
|
|
7555
|
+
Error = 2,
|
|
7330
7556
|
}
|
|
7331
7557
|
enum NewLineKind {
|
|
7332
7558
|
CarriageReturnLineFeed = 0,
|
|
7333
|
-
LineFeed = 1
|
|
7559
|
+
LineFeed = 1,
|
|
7334
7560
|
}
|
|
7335
7561
|
interface LineAndCharacter {
|
|
7336
7562
|
/** 0-based. */
|
|
@@ -7349,7 +7575,7 @@ declare namespace ts {
|
|
|
7349
7575
|
* Used on extensions that doesn't define the ScriptKind but the content defines it.
|
|
7350
7576
|
* Deferred extensions are going to be included in all project contexts.
|
|
7351
7577
|
*/
|
|
7352
|
-
Deferred = 7
|
|
7578
|
+
Deferred = 7,
|
|
7353
7579
|
}
|
|
7354
7580
|
enum ScriptTarget {
|
|
7355
7581
|
ES3 = 0,
|
|
@@ -7364,11 +7590,11 @@ declare namespace ts {
|
|
|
7364
7590
|
ES2022 = 9,
|
|
7365
7591
|
ESNext = 99,
|
|
7366
7592
|
JSON = 100,
|
|
7367
|
-
Latest = 99
|
|
7593
|
+
Latest = 99,
|
|
7368
7594
|
}
|
|
7369
7595
|
enum LanguageVariant {
|
|
7370
7596
|
Standard = 0,
|
|
7371
|
-
JSX = 1
|
|
7597
|
+
JSX = 1,
|
|
7372
7598
|
}
|
|
7373
7599
|
/** Either a parsed command line or a parsed tsconfig.json */
|
|
7374
7600
|
interface ParsedCommandLine {
|
|
@@ -7384,7 +7610,7 @@ declare namespace ts {
|
|
|
7384
7610
|
}
|
|
7385
7611
|
enum WatchDirectoryFlags {
|
|
7386
7612
|
None = 0,
|
|
7387
|
-
Recursive = 1
|
|
7613
|
+
Recursive = 1,
|
|
7388
7614
|
}
|
|
7389
7615
|
interface CreateProgramOptions {
|
|
7390
7616
|
rootNames: readonly string[];
|
|
@@ -7478,7 +7704,7 @@ declare namespace ts {
|
|
|
7478
7704
|
Dmts = ".d.mts",
|
|
7479
7705
|
Cjs = ".cjs",
|
|
7480
7706
|
Cts = ".cts",
|
|
7481
|
-
Dcts = ".d.cts"
|
|
7707
|
+
Dcts = ".d.cts",
|
|
7482
7708
|
}
|
|
7483
7709
|
interface ResolvedModuleWithFailedLookupLocations {
|
|
7484
7710
|
readonly resolvedModule: ResolvedModuleFull | undefined;
|
|
@@ -7565,7 +7791,7 @@ declare namespace ts {
|
|
|
7565
7791
|
CustomPrologue = 2097152,
|
|
7566
7792
|
NoHoisting = 4194304,
|
|
7567
7793
|
Iterator = 8388608,
|
|
7568
|
-
NoAsciiEscaping = 16777216
|
|
7794
|
+
NoAsciiEscaping = 16777216,
|
|
7569
7795
|
}
|
|
7570
7796
|
interface EmitHelperBase {
|
|
7571
7797
|
readonly name: string;
|
|
@@ -7590,7 +7816,7 @@ declare namespace ts {
|
|
|
7590
7816
|
MappedTypeParameter = 3,
|
|
7591
7817
|
Unspecified = 4,
|
|
7592
7818
|
EmbeddedStatement = 5,
|
|
7593
|
-
JsxAttributeValue = 6
|
|
7819
|
+
JsxAttributeValue = 6,
|
|
7594
7820
|
}
|
|
7595
7821
|
enum OuterExpressionKinds {
|
|
7596
7822
|
Parentheses = 1,
|
|
@@ -7599,7 +7825,7 @@ declare namespace ts {
|
|
|
7599
7825
|
PartiallyEmittedExpressions = 8,
|
|
7600
7826
|
Assertions = 6,
|
|
7601
7827
|
All = 15,
|
|
7602
|
-
ExcludeJSDocTypeAssertion = 16
|
|
7828
|
+
ExcludeJSDocTypeAssertion = 16,
|
|
7603
7829
|
}
|
|
7604
7830
|
type ImmediatelyInvokedFunctionExpression = CallExpression & {
|
|
7605
7831
|
readonly expression: FunctionExpression;
|
|
@@ -8379,7 +8605,7 @@ declare namespace ts {
|
|
|
8379
8605
|
TypeParameters = 53776,
|
|
8380
8606
|
Parameters = 2576,
|
|
8381
8607
|
IndexSignatureParameters = 8848,
|
|
8382
|
-
JSDocComment = 33
|
|
8608
|
+
JSDocComment = 33,
|
|
8383
8609
|
}
|
|
8384
8610
|
interface UserPreferences {
|
|
8385
8611
|
readonly disableSuggestions?: boolean;
|
|
@@ -8418,6 +8644,7 @@ declare namespace ts {
|
|
|
8418
8644
|
readonly organizeImportsNumericCollation?: boolean;
|
|
8419
8645
|
readonly organizeImportsAccentCollation?: boolean;
|
|
8420
8646
|
readonly organizeImportsCaseFirst?: "upper" | "lower" | false;
|
|
8647
|
+
readonly excludeLibrarySymbolsInNavTo?: boolean;
|
|
8421
8648
|
}
|
|
8422
8649
|
/** Represents a bigint literal value without requiring bigint support */
|
|
8423
8650
|
interface PseudoBigInt {
|
|
@@ -8427,7 +8654,7 @@ declare namespace ts {
|
|
|
8427
8654
|
enum FileWatcherEventKind {
|
|
8428
8655
|
Created = 0,
|
|
8429
8656
|
Changed = 1,
|
|
8430
|
-
Deleted = 2
|
|
8657
|
+
Deleted = 2,
|
|
8431
8658
|
}
|
|
8432
8659
|
type FileWatcherCallback = (fileName: string, eventKind: FileWatcherEventKind, modifiedTime?: Date) => void;
|
|
8433
8660
|
type DirectoryWatcherCallback = (fileName: string) => void;
|
|
@@ -9913,7 +10140,7 @@ declare namespace ts {
|
|
|
9913
10140
|
enum InvalidatedProjectKind {
|
|
9914
10141
|
Build = 0,
|
|
9915
10142
|
/** @deprecated */ UpdateBundle = 1,
|
|
9916
|
-
UpdateOutputFileStamps = 2
|
|
10143
|
+
UpdateOutputFileStamps = 2,
|
|
9917
10144
|
}
|
|
9918
10145
|
interface InvalidatedProjectBase {
|
|
9919
10146
|
readonly kind: InvalidatedProjectKind;
|
|
@@ -10005,7 +10232,7 @@ declare namespace ts {
|
|
|
10005
10232
|
enum LanguageServiceMode {
|
|
10006
10233
|
Semantic = 0,
|
|
10007
10234
|
PartialSemantic = 1,
|
|
10008
|
-
Syntactic = 2
|
|
10235
|
+
Syntactic = 2,
|
|
10009
10236
|
}
|
|
10010
10237
|
interface IncompleteCompletionsCache {
|
|
10011
10238
|
get(): CompletionInfo | undefined;
|
|
@@ -10056,7 +10283,7 @@ declare namespace ts {
|
|
|
10056
10283
|
};
|
|
10057
10284
|
enum SemanticClassificationFormat {
|
|
10058
10285
|
Original = "original",
|
|
10059
|
-
TwentyTwenty = "2020"
|
|
10286
|
+
TwentyTwenty = "2020",
|
|
10060
10287
|
}
|
|
10061
10288
|
interface LanguageService {
|
|
10062
10289
|
/** This is used as a part of restarting the language service. */
|
|
@@ -10174,7 +10401,7 @@ declare namespace ts {
|
|
|
10174
10401
|
findReferences(fileName: string, position: number): ReferencedSymbol[] | undefined;
|
|
10175
10402
|
getDocumentHighlights(fileName: string, position: number, filesToSearch: string[]): DocumentHighlights[] | undefined;
|
|
10176
10403
|
getFileReferences(fileName: string): ReferenceEntry[];
|
|
10177
|
-
getNavigateToItems(searchValue: string, maxResultCount?: number, fileName?: string, excludeDtsFiles?: boolean): NavigateToItem[];
|
|
10404
|
+
getNavigateToItems(searchValue: string, maxResultCount?: number, fileName?: string, excludeDtsFiles?: boolean, excludeLibFiles?: boolean): NavigateToItem[];
|
|
10178
10405
|
getNavigationBarItems(fileName: string): NavigationBarItem[];
|
|
10179
10406
|
getNavigationTree(fileName: string): NavigationTree;
|
|
10180
10407
|
prepareCallHierarchy(fileName: string, position: number): CallHierarchyItem | CallHierarchyItem[] | undefined;
|
|
@@ -10246,7 +10473,7 @@ declare namespace ts {
|
|
|
10246
10473
|
enum OrganizeImportsMode {
|
|
10247
10474
|
All = "All",
|
|
10248
10475
|
SortAndCombine = "SortAndCombine",
|
|
10249
|
-
RemoveUnused = "RemoveUnused"
|
|
10476
|
+
RemoveUnused = "RemoveUnused",
|
|
10250
10477
|
}
|
|
10251
10478
|
interface OrganizeImportsArgs extends CombinedCodeFixScope {
|
|
10252
10479
|
/** @deprecated Use `mode` instead */
|
|
@@ -10260,7 +10487,7 @@ declare namespace ts {
|
|
|
10260
10487
|
/** Completion was triggered by a trigger character. */
|
|
10261
10488
|
TriggerCharacter = 2,
|
|
10262
10489
|
/** Completion was re-triggered as the current completion list is incomplete. */
|
|
10263
|
-
TriggerForIncompleteCompletions = 3
|
|
10490
|
+
TriggerForIncompleteCompletions = 3,
|
|
10264
10491
|
}
|
|
10265
10492
|
interface GetCompletionsAtPositionOptions extends UserPreferences {
|
|
10266
10493
|
/**
|
|
@@ -10389,7 +10616,7 @@ declare namespace ts {
|
|
|
10389
10616
|
enum InlayHintKind {
|
|
10390
10617
|
Type = "Type",
|
|
10391
10618
|
Parameter = "Parameter",
|
|
10392
|
-
Enum = "Enum"
|
|
10619
|
+
Enum = "Enum",
|
|
10393
10620
|
}
|
|
10394
10621
|
interface InlayHint {
|
|
10395
10622
|
/** This property will be the empty string when displayParts is set. */
|
|
@@ -10553,7 +10780,7 @@ declare namespace ts {
|
|
|
10553
10780
|
none = "none",
|
|
10554
10781
|
definition = "definition",
|
|
10555
10782
|
reference = "reference",
|
|
10556
|
-
writtenReference = "writtenReference"
|
|
10783
|
+
writtenReference = "writtenReference",
|
|
10557
10784
|
}
|
|
10558
10785
|
interface HighlightSpan {
|
|
10559
10786
|
fileName?: string;
|
|
@@ -10576,12 +10803,12 @@ declare namespace ts {
|
|
|
10576
10803
|
enum IndentStyle {
|
|
10577
10804
|
None = 0,
|
|
10578
10805
|
Block = 1,
|
|
10579
|
-
Smart = 2
|
|
10806
|
+
Smart = 2,
|
|
10580
10807
|
}
|
|
10581
10808
|
enum SemicolonPreference {
|
|
10582
10809
|
Ignore = "ignore",
|
|
10583
10810
|
Insert = "insert",
|
|
10584
|
-
Remove = "remove"
|
|
10811
|
+
Remove = "remove",
|
|
10585
10812
|
}
|
|
10586
10813
|
/** @deprecated - consider using EditorSettings instead */
|
|
10587
10814
|
interface EditorOptions {
|
|
@@ -10688,7 +10915,7 @@ declare namespace ts {
|
|
|
10688
10915
|
regularExpressionLiteral = 21,
|
|
10689
10916
|
link = 22,
|
|
10690
10917
|
linkName = 23,
|
|
10691
|
-
linkText = 24
|
|
10918
|
+
linkText = 24,
|
|
10692
10919
|
}
|
|
10693
10920
|
interface SymbolDisplayPart {
|
|
10694
10921
|
text: string;
|
|
@@ -10783,7 +11010,7 @@ declare namespace ts {
|
|
|
10783
11010
|
IsContinuation = 4,
|
|
10784
11011
|
ResolvedModuleSpecifiers = 8,
|
|
10785
11012
|
ResolvedModuleSpecifiersBeyondLimit = 16,
|
|
10786
|
-
MayIncludeMethodSnippets = 32
|
|
11013
|
+
MayIncludeMethodSnippets = 32,
|
|
10787
11014
|
}
|
|
10788
11015
|
interface CompletionInfo {
|
|
10789
11016
|
/** For performance telemetry. */
|
|
@@ -10908,12 +11135,12 @@ declare namespace ts {
|
|
|
10908
11135
|
/** Declarations and expressions */
|
|
10909
11136
|
Code = "code",
|
|
10910
11137
|
/** Contiguous blocks of import declarations */
|
|
10911
|
-
Imports = "imports"
|
|
11138
|
+
Imports = "imports",
|
|
10912
11139
|
}
|
|
10913
11140
|
enum OutputFileType {
|
|
10914
11141
|
JavaScript = 0,
|
|
10915
11142
|
SourceMap = 1,
|
|
10916
|
-
Declaration = 2
|
|
11143
|
+
Declaration = 2,
|
|
10917
11144
|
}
|
|
10918
11145
|
enum EndOfLineState {
|
|
10919
11146
|
None = 0,
|
|
@@ -10922,7 +11149,7 @@ declare namespace ts {
|
|
|
10922
11149
|
InDoubleQuoteStringLiteral = 3,
|
|
10923
11150
|
InTemplateHeadOrNoSubstitutionTemplate = 4,
|
|
10924
11151
|
InTemplateMiddleOrTail = 5,
|
|
10925
|
-
InTemplateSubstitutionPosition = 6
|
|
11152
|
+
InTemplateSubstitutionPosition = 6,
|
|
10926
11153
|
}
|
|
10927
11154
|
enum TokenClass {
|
|
10928
11155
|
Punctuation = 0,
|
|
@@ -10934,7 +11161,7 @@ declare namespace ts {
|
|
|
10934
11161
|
NumberLiteral = 6,
|
|
10935
11162
|
BigIntLiteral = 7,
|
|
10936
11163
|
StringLiteral = 8,
|
|
10937
|
-
RegExpLiteral = 9
|
|
11164
|
+
RegExpLiteral = 9,
|
|
10938
11165
|
}
|
|
10939
11166
|
interface ClassificationResult {
|
|
10940
11167
|
finalLexState: EndOfLineState;
|
|
@@ -11051,7 +11278,7 @@ declare namespace ts {
|
|
|
11051
11278
|
/** Jsdoc @link: in `{@link C link text}`, the entity name "C" */
|
|
11052
11279
|
linkName = "link name",
|
|
11053
11280
|
/** Jsdoc @link: in `{@link C link text}`, the link text "link text" */
|
|
11054
|
-
linkText = "link text"
|
|
11281
|
+
linkText = "link text",
|
|
11055
11282
|
}
|
|
11056
11283
|
enum ScriptElementKindModifier {
|
|
11057
11284
|
none = "",
|
|
@@ -11075,7 +11302,7 @@ declare namespace ts {
|
|
|
11075
11302
|
mjsModifier = ".mjs",
|
|
11076
11303
|
dctsModifier = ".d.cts",
|
|
11077
11304
|
ctsModifier = ".cts",
|
|
11078
|
-
cjsModifier = ".cjs"
|
|
11305
|
+
cjsModifier = ".cjs",
|
|
11079
11306
|
}
|
|
11080
11307
|
enum ClassificationTypeNames {
|
|
11081
11308
|
comment = "comment",
|
|
@@ -11101,7 +11328,7 @@ declare namespace ts {
|
|
|
11101
11328
|
jsxSelfClosingTagName = "jsx self closing tag name",
|
|
11102
11329
|
jsxAttribute = "jsx attribute",
|
|
11103
11330
|
jsxText = "jsx text",
|
|
11104
|
-
jsxAttributeStringLiteralValue = "jsx attribute string literal value"
|
|
11331
|
+
jsxAttributeStringLiteralValue = "jsx attribute string literal value",
|
|
11105
11332
|
}
|
|
11106
11333
|
enum ClassificationType {
|
|
11107
11334
|
comment = 1,
|
|
@@ -11128,7 +11355,7 @@ declare namespace ts {
|
|
|
11128
11355
|
jsxAttribute = 22,
|
|
11129
11356
|
jsxText = 23,
|
|
11130
11357
|
jsxAttributeStringLiteralValue = 24,
|
|
11131
|
-
bigintLiteral = 25
|
|
11358
|
+
bigintLiteral = 25,
|
|
11132
11359
|
}
|
|
11133
11360
|
interface InlayHintsContext {
|
|
11134
11361
|
file: SourceFile;
|
|
@@ -11271,4 +11498,4 @@ declare namespace ts {
|
|
|
11271
11498
|
*/
|
|
11272
11499
|
function transform<T extends Node>(source: T | T[], transformers: TransformerFactory<T>[], compilerOptions?: CompilerOptions): TransformationResult<T>;
|
|
11273
11500
|
}
|
|
11274
|
-
export = ts;
|
|
11501
|
+
export = ts;
|