@typescript-deploys/pr-build 5.5.0-pr-55267-86 → 5.5.0-pr-57480-8
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/lib/tsc.js +2 -2
- package/lib/tsserver.js +115 -134
- package/lib/typescript.d.ts +653 -1090
- package/lib/typescript.js +179010 -178833
- package/lib/typingsInstaller.js +2 -2
- package/package.json +2 -2
package/lib/tsc.js
CHANGED
|
@@ -18,7 +18,7 @@ and limitations under the License.
|
|
|
18
18
|
|
|
19
19
|
// src/compiler/corePublic.ts
|
|
20
20
|
var versionMajorMinor = "5.5";
|
|
21
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
21
|
+
var version = `${versionMajorMinor}.0-insiders.20240304`;
|
|
22
22
|
|
|
23
23
|
// src/compiler/core.ts
|
|
24
24
|
var emptyArray = [];
|
|
@@ -1215,7 +1215,7 @@ function skipWhile(array, predicate) {
|
|
|
1215
1215
|
}
|
|
1216
1216
|
}
|
|
1217
1217
|
function isNodeLikeSystem() {
|
|
1218
|
-
return typeof process !== "undefined" && !!process.nextTick && !process.browser && typeof
|
|
1218
|
+
return typeof process !== "undefined" && !!process.nextTick && !process.browser && typeof require !== "undefined";
|
|
1219
1219
|
}
|
|
1220
1220
|
|
|
1221
1221
|
// src/compiler/debug.ts
|
package/lib/tsserver.js
CHANGED
|
@@ -2325,7 +2325,7 @@ module.exports = __toCommonJS(server_exports);
|
|
|
2325
2325
|
|
|
2326
2326
|
// src/compiler/corePublic.ts
|
|
2327
2327
|
var versionMajorMinor = "5.5";
|
|
2328
|
-
var version = `${versionMajorMinor}.0-insiders.
|
|
2328
|
+
var version = `${versionMajorMinor}.0-insiders.20240304`;
|
|
2329
2329
|
var Comparison = /* @__PURE__ */ ((Comparison3) => {
|
|
2330
2330
|
Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
|
|
2331
2331
|
Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
|
|
@@ -3936,7 +3936,7 @@ function skipWhile(array, predicate) {
|
|
|
3936
3936
|
}
|
|
3937
3937
|
}
|
|
3938
3938
|
function isNodeLikeSystem() {
|
|
3939
|
-
return typeof process !== "undefined" && !!process.nextTick && !process.browser && typeof
|
|
3939
|
+
return typeof process !== "undefined" && !!process.nextTick && !process.browser && typeof require !== "undefined";
|
|
3940
3940
|
}
|
|
3941
3941
|
|
|
3942
3942
|
// src/compiler/debug.ts
|
|
@@ -131109,17 +131109,17 @@ var SemanticClassificationFormat = /* @__PURE__ */ ((SemanticClassificationForma
|
|
|
131109
131109
|
SemanticClassificationFormat2["TwentyTwenty"] = "2020";
|
|
131110
131110
|
return SemanticClassificationFormat2;
|
|
131111
131111
|
})(SemanticClassificationFormat || {});
|
|
131112
|
-
var OrganizeImportsMode = /* @__PURE__ */ ((
|
|
131113
|
-
|
|
131114
|
-
|
|
131115
|
-
|
|
131116
|
-
return
|
|
131112
|
+
var OrganizeImportsMode = /* @__PURE__ */ ((OrganizeImportsMode2) => {
|
|
131113
|
+
OrganizeImportsMode2["All"] = "All";
|
|
131114
|
+
OrganizeImportsMode2["SortAndCombine"] = "SortAndCombine";
|
|
131115
|
+
OrganizeImportsMode2["RemoveUnused"] = "RemoveUnused";
|
|
131116
|
+
return OrganizeImportsMode2;
|
|
131117
131117
|
})(OrganizeImportsMode || {});
|
|
131118
|
-
var CompletionTriggerKind = /* @__PURE__ */ ((
|
|
131119
|
-
|
|
131120
|
-
|
|
131121
|
-
|
|
131122
|
-
return
|
|
131118
|
+
var CompletionTriggerKind = /* @__PURE__ */ ((CompletionTriggerKind3) => {
|
|
131119
|
+
CompletionTriggerKind3[CompletionTriggerKind3["Invoked"] = 1] = "Invoked";
|
|
131120
|
+
CompletionTriggerKind3[CompletionTriggerKind3["TriggerCharacter"] = 2] = "TriggerCharacter";
|
|
131121
|
+
CompletionTriggerKind3[CompletionTriggerKind3["TriggerForIncompleteCompletions"] = 3] = "TriggerForIncompleteCompletions";
|
|
131122
|
+
return CompletionTriggerKind3;
|
|
131123
131123
|
})(CompletionTriggerKind || {});
|
|
131124
131124
|
var InlayHintKind = /* @__PURE__ */ ((InlayHintKind2) => {
|
|
131125
131125
|
InlayHintKind2["Type"] = "Type";
|
|
@@ -131140,11 +131140,11 @@ var IndentStyle = /* @__PURE__ */ ((IndentStyle3) => {
|
|
|
131140
131140
|
IndentStyle3[IndentStyle3["Smart"] = 2] = "Smart";
|
|
131141
131141
|
return IndentStyle3;
|
|
131142
131142
|
})(IndentStyle || {});
|
|
131143
|
-
var SemicolonPreference = /* @__PURE__ */ ((
|
|
131144
|
-
|
|
131145
|
-
|
|
131146
|
-
|
|
131147
|
-
return
|
|
131143
|
+
var SemicolonPreference = /* @__PURE__ */ ((SemicolonPreference2) => {
|
|
131144
|
+
SemicolonPreference2["Ignore"] = "ignore";
|
|
131145
|
+
SemicolonPreference2["Insert"] = "insert";
|
|
131146
|
+
SemicolonPreference2["Remove"] = "remove";
|
|
131147
|
+
return SemicolonPreference2;
|
|
131148
131148
|
})(SemicolonPreference || {});
|
|
131149
131149
|
function getDefaultFormatCodeSettings(newLineCharacter) {
|
|
131150
131150
|
return {
|
|
@@ -131342,33 +131342,33 @@ var ClassificationTypeNames = /* @__PURE__ */ ((ClassificationTypeNames2) => {
|
|
|
131342
131342
|
ClassificationTypeNames2["jsxAttributeStringLiteralValue"] = "jsx attribute string literal value";
|
|
131343
131343
|
return ClassificationTypeNames2;
|
|
131344
131344
|
})(ClassificationTypeNames || {});
|
|
131345
|
-
var ClassificationType = /* @__PURE__ */ ((
|
|
131346
|
-
|
|
131347
|
-
|
|
131348
|
-
|
|
131349
|
-
|
|
131350
|
-
|
|
131351
|
-
|
|
131352
|
-
|
|
131353
|
-
|
|
131354
|
-
|
|
131355
|
-
|
|
131356
|
-
|
|
131357
|
-
|
|
131358
|
-
|
|
131359
|
-
|
|
131360
|
-
|
|
131361
|
-
|
|
131362
|
-
|
|
131363
|
-
|
|
131364
|
-
|
|
131365
|
-
|
|
131366
|
-
|
|
131367
|
-
|
|
131368
|
-
|
|
131369
|
-
|
|
131370
|
-
|
|
131371
|
-
return
|
|
131345
|
+
var ClassificationType = /* @__PURE__ */ ((ClassificationType2) => {
|
|
131346
|
+
ClassificationType2[ClassificationType2["comment"] = 1] = "comment";
|
|
131347
|
+
ClassificationType2[ClassificationType2["identifier"] = 2] = "identifier";
|
|
131348
|
+
ClassificationType2[ClassificationType2["keyword"] = 3] = "keyword";
|
|
131349
|
+
ClassificationType2[ClassificationType2["numericLiteral"] = 4] = "numericLiteral";
|
|
131350
|
+
ClassificationType2[ClassificationType2["operator"] = 5] = "operator";
|
|
131351
|
+
ClassificationType2[ClassificationType2["stringLiteral"] = 6] = "stringLiteral";
|
|
131352
|
+
ClassificationType2[ClassificationType2["regularExpressionLiteral"] = 7] = "regularExpressionLiteral";
|
|
131353
|
+
ClassificationType2[ClassificationType2["whiteSpace"] = 8] = "whiteSpace";
|
|
131354
|
+
ClassificationType2[ClassificationType2["text"] = 9] = "text";
|
|
131355
|
+
ClassificationType2[ClassificationType2["punctuation"] = 10] = "punctuation";
|
|
131356
|
+
ClassificationType2[ClassificationType2["className"] = 11] = "className";
|
|
131357
|
+
ClassificationType2[ClassificationType2["enumName"] = 12] = "enumName";
|
|
131358
|
+
ClassificationType2[ClassificationType2["interfaceName"] = 13] = "interfaceName";
|
|
131359
|
+
ClassificationType2[ClassificationType2["moduleName"] = 14] = "moduleName";
|
|
131360
|
+
ClassificationType2[ClassificationType2["typeParameterName"] = 15] = "typeParameterName";
|
|
131361
|
+
ClassificationType2[ClassificationType2["typeAliasName"] = 16] = "typeAliasName";
|
|
131362
|
+
ClassificationType2[ClassificationType2["parameterName"] = 17] = "parameterName";
|
|
131363
|
+
ClassificationType2[ClassificationType2["docCommentTagName"] = 18] = "docCommentTagName";
|
|
131364
|
+
ClassificationType2[ClassificationType2["jsxOpenTagName"] = 19] = "jsxOpenTagName";
|
|
131365
|
+
ClassificationType2[ClassificationType2["jsxCloseTagName"] = 20] = "jsxCloseTagName";
|
|
131366
|
+
ClassificationType2[ClassificationType2["jsxSelfClosingTagName"] = 21] = "jsxSelfClosingTagName";
|
|
131367
|
+
ClassificationType2[ClassificationType2["jsxAttribute"] = 22] = "jsxAttribute";
|
|
131368
|
+
ClassificationType2[ClassificationType2["jsxText"] = 23] = "jsxText";
|
|
131369
|
+
ClassificationType2[ClassificationType2["jsxAttributeStringLiteralValue"] = 24] = "jsxAttributeStringLiteralValue";
|
|
131370
|
+
ClassificationType2[ClassificationType2["bigintLiteral"] = 25] = "bigintLiteral";
|
|
131371
|
+
return ClassificationType2;
|
|
131372
131372
|
})(ClassificationType || {});
|
|
131373
131373
|
|
|
131374
131374
|
// src/services/utilities.ts
|
|
@@ -158476,6 +158476,9 @@ function createCompletionEntry(symbol, sortText, replacementToken, contextToken,
|
|
|
158476
158476
|
const memberCompletionEntry = getEntryForMemberCompletion(host, program, options, preferences, name, symbol, location, position, contextToken, formatContext);
|
|
158477
158477
|
if (memberCompletionEntry) {
|
|
158478
158478
|
({ insertText, filterText, isSnippet, importAdder } = memberCompletionEntry);
|
|
158479
|
+
if (memberCompletionEntry.eraseRange) {
|
|
158480
|
+
replacementSpan = createTextSpanFromBounds(memberCompletionEntry.eraseRange.pos, memberCompletionEntry.eraseRange.end);
|
|
158481
|
+
}
|
|
158479
158482
|
if (importAdder == null ? void 0 : importAdder.hasFixes()) {
|
|
158480
158483
|
hasAction = true;
|
|
158481
158484
|
source = "ClassMemberSnippet/" /* ClassMemberSnippet */;
|
|
@@ -158557,7 +158560,7 @@ function getEntryForMemberCompletion(host, program, options, preferences, name,
|
|
|
158557
158560
|
}
|
|
158558
158561
|
let isSnippet;
|
|
158559
158562
|
let insertText = name;
|
|
158560
|
-
|
|
158563
|
+
let filterText = name;
|
|
158561
158564
|
const checker = program.getTypeChecker();
|
|
158562
158565
|
const sourceFile = location.getSourceFile();
|
|
158563
158566
|
const printer = createSnippetPrinter({
|
|
@@ -158586,7 +158589,10 @@ function getEntryForMemberCompletion(host, program, options, preferences, name,
|
|
|
158586
158589
|
);
|
|
158587
158590
|
}
|
|
158588
158591
|
let modifiers = 0 /* None */;
|
|
158589
|
-
const { modifiers: presentModifiers, range: eraseRange, decorators: presentDecorators } = getPresentModifiers(contextToken, sourceFile, position);
|
|
158592
|
+
const { modifiers: presentModifiers, range: eraseRange, decorators: presentDecorators, filterText: modifiersFilterText } = getPresentModifiers(contextToken, sourceFile, position);
|
|
158593
|
+
if (modifiersFilterText) {
|
|
158594
|
+
filterText = modifiersFilterText + filterText;
|
|
158595
|
+
}
|
|
158590
158596
|
const isAbstract = presentModifiers & 64 /* Abstract */ && classLikeDeclaration.modifierFlagsCache & 64 /* Abstract */;
|
|
158591
158597
|
let completionNodes = [];
|
|
158592
158598
|
ts_codefix_exports.addNewNodeForMemberSymbol(
|
|
@@ -158671,21 +158677,31 @@ function getPresentModifiers(contextToken, sourceFile, position) {
|
|
|
158671
158677
|
}
|
|
158672
158678
|
let modifiers = 0 /* None */;
|
|
158673
158679
|
let decorators;
|
|
158674
|
-
let
|
|
158680
|
+
let filterTextEnd;
|
|
158681
|
+
const contextMod = isModifierLike2(contextToken);
|
|
158675
158682
|
const range = { pos: position, end: position };
|
|
158676
158683
|
if (isPropertyDeclaration(contextToken.parent) && contextToken.parent.modifiers) {
|
|
158677
158684
|
modifiers |= modifiersToFlags(contextToken.parent.modifiers) & 98303 /* Modifier */;
|
|
158678
158685
|
decorators = contextToken.parent.modifiers.filter(isDecorator) || [];
|
|
158679
|
-
|
|
158686
|
+
const firstModifier = first(contextToken.parent.modifiers);
|
|
158687
|
+
if (firstModifier) {
|
|
158688
|
+
range.pos = Math.min(range.pos, firstModifier.getStart(sourceFile));
|
|
158689
|
+
if (contextToken.parent.name !== contextToken) {
|
|
158690
|
+
filterTextEnd = contextToken.parent.name.getStart(sourceFile);
|
|
158691
|
+
}
|
|
158692
|
+
}
|
|
158680
158693
|
}
|
|
158681
|
-
if (contextMod
|
|
158694
|
+
if (contextMod) {
|
|
158682
158695
|
const contextModifierFlag = modifierToFlag(contextMod);
|
|
158683
158696
|
if (!(modifiers & contextModifierFlag)) {
|
|
158684
158697
|
modifiers |= contextModifierFlag;
|
|
158685
|
-
range.pos = Math.min(range.pos, contextToken.
|
|
158698
|
+
range.pos = Math.min(range.pos, contextToken.getStart(sourceFile));
|
|
158686
158699
|
}
|
|
158687
158700
|
}
|
|
158688
|
-
|
|
158701
|
+
if (range.pos === position) {
|
|
158702
|
+
return { modifiers, decorators };
|
|
158703
|
+
}
|
|
158704
|
+
return { modifiers, decorators, range, filterText: sourceFile.text.slice(range.pos, filterTextEnd ?? position) };
|
|
158689
158705
|
}
|
|
158690
158706
|
function isModifierLike2(node) {
|
|
158691
158707
|
if (isModifier(node)) {
|
|
@@ -171123,6 +171139,8 @@ function getAllRules() {
|
|
|
171123
171139
|
rule("SpaceAfterSemicolon", 27 /* SemicolonToken */, anyToken, [isNonJsxSameLineTokenContext], 4 /* InsertSpace */),
|
|
171124
171140
|
// Remove extra space between for and await
|
|
171125
171141
|
rule("SpaceBetweenForAndAwaitKeyword", 99 /* ForKeyword */, 135 /* AwaitKeyword */, [isNonJsxSameLineTokenContext], 4 /* InsertSpace */),
|
|
171142
|
+
// Remove extra spaces between ... and type name in tuple spread
|
|
171143
|
+
rule("SpaceBetweenDotDotDotAndTypeName", 26 /* DotDotDotToken */, typeNames, [isNonJsxSameLineTokenContext], 16 /* DeleteSpace */),
|
|
171126
171144
|
// Add a space between statements. All keywords except (do,else,case) has open/close parens after them.
|
|
171127
171145
|
// So, we have a rule to add a space for [),Any], [do,Any], [else,Any], and [case,Any]
|
|
171128
171146
|
rule(
|
|
@@ -176292,18 +176310,18 @@ function removeSorted(array, remove, compare) {
|
|
|
176292
176310
|
// src/server/_namespaces/ts.server.protocol.ts
|
|
176293
176311
|
var ts_server_protocol_exports = {};
|
|
176294
176312
|
__export(ts_server_protocol_exports, {
|
|
176295
|
-
ClassificationType: () =>
|
|
176313
|
+
ClassificationType: () => ClassificationType,
|
|
176296
176314
|
CommandTypes: () => CommandTypes,
|
|
176297
|
-
CompletionTriggerKind: () =>
|
|
176315
|
+
CompletionTriggerKind: () => CompletionTriggerKind,
|
|
176298
176316
|
IndentStyle: () => IndentStyle2,
|
|
176299
176317
|
JsxEmit: () => JsxEmit2,
|
|
176300
176318
|
ModuleKind: () => ModuleKind2,
|
|
176301
176319
|
ModuleResolutionKind: () => ModuleResolutionKind2,
|
|
176302
176320
|
NewLineKind: () => NewLineKind2,
|
|
176303
|
-
OrganizeImportsMode: () =>
|
|
176321
|
+
OrganizeImportsMode: () => OrganizeImportsMode,
|
|
176304
176322
|
PollingWatchKind: () => PollingWatchKind2,
|
|
176305
176323
|
ScriptTarget: () => ScriptTarget10,
|
|
176306
|
-
SemicolonPreference: () =>
|
|
176324
|
+
SemicolonPreference: () => SemicolonPreference,
|
|
176307
176325
|
WatchDirectoryKind: () => WatchDirectoryKind2,
|
|
176308
176326
|
WatchFileKind: () => WatchFileKind2
|
|
176309
176327
|
});
|
|
@@ -176422,12 +176440,6 @@ var CommandTypes = /* @__PURE__ */ ((CommandTypes2) => {
|
|
|
176422
176440
|
CommandTypes2["WatchChange"] = "watchChange";
|
|
176423
176441
|
return CommandTypes2;
|
|
176424
176442
|
})(CommandTypes || {});
|
|
176425
|
-
var OrganizeImportsMode2 = /* @__PURE__ */ ((OrganizeImportsMode3) => {
|
|
176426
|
-
OrganizeImportsMode3["All"] = "All";
|
|
176427
|
-
OrganizeImportsMode3["SortAndCombine"] = "SortAndCombine";
|
|
176428
|
-
OrganizeImportsMode3["RemoveUnused"] = "RemoveUnused";
|
|
176429
|
-
return OrganizeImportsMode3;
|
|
176430
|
-
})(OrganizeImportsMode2 || {});
|
|
176431
176443
|
var WatchFileKind2 = /* @__PURE__ */ ((WatchFileKind3) => {
|
|
176432
176444
|
WatchFileKind3["FixedPollingInterval"] = "FixedPollingInterval";
|
|
176433
176445
|
WatchFileKind3["PriorityPollingInterval"] = "PriorityPollingInterval";
|
|
@@ -176451,52 +176463,45 @@ var PollingWatchKind2 = /* @__PURE__ */ ((PollingWatchKind3) => {
|
|
|
176451
176463
|
PollingWatchKind3["FixedChunkSize"] = "FixedChunkSize";
|
|
176452
176464
|
return PollingWatchKind3;
|
|
176453
176465
|
})(PollingWatchKind2 || {});
|
|
176454
|
-
var CompletionTriggerKind2 = /* @__PURE__ */ ((CompletionTriggerKind4) => {
|
|
176455
|
-
CompletionTriggerKind4[CompletionTriggerKind4["Invoked"] = 1] = "Invoked";
|
|
176456
|
-
CompletionTriggerKind4[CompletionTriggerKind4["TriggerCharacter"] = 2] = "TriggerCharacter";
|
|
176457
|
-
CompletionTriggerKind4[CompletionTriggerKind4["TriggerForIncompleteCompletions"] = 3] = "TriggerForIncompleteCompletions";
|
|
176458
|
-
return CompletionTriggerKind4;
|
|
176459
|
-
})(CompletionTriggerKind2 || {});
|
|
176460
176466
|
var IndentStyle2 = /* @__PURE__ */ ((IndentStyle3) => {
|
|
176461
176467
|
IndentStyle3["None"] = "None";
|
|
176462
176468
|
IndentStyle3["Block"] = "Block";
|
|
176463
176469
|
IndentStyle3["Smart"] = "Smart";
|
|
176464
176470
|
return IndentStyle3;
|
|
176465
176471
|
})(IndentStyle2 || {});
|
|
176466
|
-
var SemicolonPreference2 = /* @__PURE__ */ ((SemicolonPreference3) => {
|
|
176467
|
-
SemicolonPreference3["Ignore"] = "ignore";
|
|
176468
|
-
SemicolonPreference3["Insert"] = "insert";
|
|
176469
|
-
SemicolonPreference3["Remove"] = "remove";
|
|
176470
|
-
return SemicolonPreference3;
|
|
176471
|
-
})(SemicolonPreference2 || {});
|
|
176472
176472
|
var JsxEmit2 = /* @__PURE__ */ ((JsxEmit3) => {
|
|
176473
|
-
JsxEmit3["None"] = "
|
|
176474
|
-
JsxEmit3["Preserve"] = "
|
|
176475
|
-
JsxEmit3["ReactNative"] = "
|
|
176476
|
-
JsxEmit3["React"] = "
|
|
176473
|
+
JsxEmit3["None"] = "none";
|
|
176474
|
+
JsxEmit3["Preserve"] = "preserve";
|
|
176475
|
+
JsxEmit3["ReactNative"] = "react-native";
|
|
176476
|
+
JsxEmit3["React"] = "react";
|
|
176477
|
+
JsxEmit3["ReactJSX"] = "react-jsx";
|
|
176478
|
+
JsxEmit3["ReactJSXDev"] = "react-jsxdev";
|
|
176477
176479
|
return JsxEmit3;
|
|
176478
176480
|
})(JsxEmit2 || {});
|
|
176479
176481
|
var ModuleKind2 = /* @__PURE__ */ ((ModuleKind3) => {
|
|
176480
|
-
ModuleKind3["None"] = "
|
|
176481
|
-
ModuleKind3["CommonJS"] = "
|
|
176482
|
-
ModuleKind3["AMD"] = "
|
|
176483
|
-
ModuleKind3["UMD"] = "
|
|
176484
|
-
ModuleKind3["System"] = "
|
|
176485
|
-
ModuleKind3["ES6"] = "
|
|
176486
|
-
ModuleKind3["ES2015"] = "
|
|
176487
|
-
ModuleKind3["
|
|
176488
|
-
ModuleKind3["
|
|
176489
|
-
ModuleKind3["
|
|
176490
|
-
ModuleKind3["
|
|
176482
|
+
ModuleKind3["None"] = "none";
|
|
176483
|
+
ModuleKind3["CommonJS"] = "commonjs";
|
|
176484
|
+
ModuleKind3["AMD"] = "amd";
|
|
176485
|
+
ModuleKind3["UMD"] = "umd";
|
|
176486
|
+
ModuleKind3["System"] = "system";
|
|
176487
|
+
ModuleKind3["ES6"] = "es6";
|
|
176488
|
+
ModuleKind3["ES2015"] = "es2015";
|
|
176489
|
+
ModuleKind3["ES2020"] = "es2020";
|
|
176490
|
+
ModuleKind3["ES2022"] = "es2022";
|
|
176491
|
+
ModuleKind3["ESNext"] = "esnext";
|
|
176492
|
+
ModuleKind3["Node16"] = "node16";
|
|
176493
|
+
ModuleKind3["NodeNext"] = "nodenext";
|
|
176494
|
+
ModuleKind3["Preserve"] = "preserve";
|
|
176491
176495
|
return ModuleKind3;
|
|
176492
176496
|
})(ModuleKind2 || {});
|
|
176493
176497
|
var ModuleResolutionKind2 = /* @__PURE__ */ ((ModuleResolutionKind3) => {
|
|
176494
|
-
ModuleResolutionKind3["Classic"] = "
|
|
176495
|
-
ModuleResolutionKind3["Node"] = "
|
|
176496
|
-
ModuleResolutionKind3["
|
|
176497
|
-
ModuleResolutionKind3["
|
|
176498
|
-
ModuleResolutionKind3["
|
|
176499
|
-
ModuleResolutionKind3["
|
|
176498
|
+
ModuleResolutionKind3["Classic"] = "classic";
|
|
176499
|
+
ModuleResolutionKind3["Node"] = "node";
|
|
176500
|
+
ModuleResolutionKind3["NodeJs"] = "node";
|
|
176501
|
+
ModuleResolutionKind3["Node10"] = "node10";
|
|
176502
|
+
ModuleResolutionKind3["Node16"] = "node16";
|
|
176503
|
+
ModuleResolutionKind3["NodeNext"] = "nodenext";
|
|
176504
|
+
ModuleResolutionKind3["Bundler"] = "bundler";
|
|
176500
176505
|
return ModuleResolutionKind3;
|
|
176501
176506
|
})(ModuleResolutionKind2 || {});
|
|
176502
176507
|
var NewLineKind2 = /* @__PURE__ */ ((NewLineKind3) => {
|
|
@@ -176505,48 +176510,24 @@ var NewLineKind2 = /* @__PURE__ */ ((NewLineKind3) => {
|
|
|
176505
176510
|
return NewLineKind3;
|
|
176506
176511
|
})(NewLineKind2 || {});
|
|
176507
176512
|
var ScriptTarget10 = /* @__PURE__ */ ((ScriptTarget11) => {
|
|
176508
|
-
ScriptTarget11["ES3"] = "
|
|
176509
|
-
ScriptTarget11["ES5"] = "
|
|
176510
|
-
ScriptTarget11["ES6"] = "
|
|
176511
|
-
ScriptTarget11["ES2015"] = "
|
|
176512
|
-
ScriptTarget11["ES2016"] = "
|
|
176513
|
-
ScriptTarget11["ES2017"] = "
|
|
176514
|
-
ScriptTarget11["ES2018"] = "
|
|
176515
|
-
ScriptTarget11["ES2019"] = "
|
|
176516
|
-
ScriptTarget11["ES2020"] = "
|
|
176517
|
-
ScriptTarget11["ES2021"] = "
|
|
176518
|
-
ScriptTarget11["ES2022"] = "
|
|
176519
|
-
ScriptTarget11["ESNext"] = "
|
|
176513
|
+
ScriptTarget11["ES3"] = "es3";
|
|
176514
|
+
ScriptTarget11["ES5"] = "es5";
|
|
176515
|
+
ScriptTarget11["ES6"] = "es6";
|
|
176516
|
+
ScriptTarget11["ES2015"] = "es2015";
|
|
176517
|
+
ScriptTarget11["ES2016"] = "es2016";
|
|
176518
|
+
ScriptTarget11["ES2017"] = "es2017";
|
|
176519
|
+
ScriptTarget11["ES2018"] = "es2018";
|
|
176520
|
+
ScriptTarget11["ES2019"] = "es2019";
|
|
176521
|
+
ScriptTarget11["ES2020"] = "es2020";
|
|
176522
|
+
ScriptTarget11["ES2021"] = "es2021";
|
|
176523
|
+
ScriptTarget11["ES2022"] = "es2022";
|
|
176524
|
+
ScriptTarget11["ESNext"] = "esnext";
|
|
176525
|
+
ScriptTarget11["JSON"] = "json";
|
|
176526
|
+
ScriptTarget11["Latest"] = "esnext" /* ESNext */;
|
|
176520
176527
|
return ScriptTarget11;
|
|
176521
176528
|
})(ScriptTarget10 || {});
|
|
176522
|
-
|
|
176523
|
-
|
|
176524
|
-
ClassificationType3[ClassificationType3["identifier"] = 2] = "identifier";
|
|
176525
|
-
ClassificationType3[ClassificationType3["keyword"] = 3] = "keyword";
|
|
176526
|
-
ClassificationType3[ClassificationType3["numericLiteral"] = 4] = "numericLiteral";
|
|
176527
|
-
ClassificationType3[ClassificationType3["operator"] = 5] = "operator";
|
|
176528
|
-
ClassificationType3[ClassificationType3["stringLiteral"] = 6] = "stringLiteral";
|
|
176529
|
-
ClassificationType3[ClassificationType3["regularExpressionLiteral"] = 7] = "regularExpressionLiteral";
|
|
176530
|
-
ClassificationType3[ClassificationType3["whiteSpace"] = 8] = "whiteSpace";
|
|
176531
|
-
ClassificationType3[ClassificationType3["text"] = 9] = "text";
|
|
176532
|
-
ClassificationType3[ClassificationType3["punctuation"] = 10] = "punctuation";
|
|
176533
|
-
ClassificationType3[ClassificationType3["className"] = 11] = "className";
|
|
176534
|
-
ClassificationType3[ClassificationType3["enumName"] = 12] = "enumName";
|
|
176535
|
-
ClassificationType3[ClassificationType3["interfaceName"] = 13] = "interfaceName";
|
|
176536
|
-
ClassificationType3[ClassificationType3["moduleName"] = 14] = "moduleName";
|
|
176537
|
-
ClassificationType3[ClassificationType3["typeParameterName"] = 15] = "typeParameterName";
|
|
176538
|
-
ClassificationType3[ClassificationType3["typeAliasName"] = 16] = "typeAliasName";
|
|
176539
|
-
ClassificationType3[ClassificationType3["parameterName"] = 17] = "parameterName";
|
|
176540
|
-
ClassificationType3[ClassificationType3["docCommentTagName"] = 18] = "docCommentTagName";
|
|
176541
|
-
ClassificationType3[ClassificationType3["jsxOpenTagName"] = 19] = "jsxOpenTagName";
|
|
176542
|
-
ClassificationType3[ClassificationType3["jsxCloseTagName"] = 20] = "jsxCloseTagName";
|
|
176543
|
-
ClassificationType3[ClassificationType3["jsxSelfClosingTagName"] = 21] = "jsxSelfClosingTagName";
|
|
176544
|
-
ClassificationType3[ClassificationType3["jsxAttribute"] = 22] = "jsxAttribute";
|
|
176545
|
-
ClassificationType3[ClassificationType3["jsxText"] = 23] = "jsxText";
|
|
176546
|
-
ClassificationType3[ClassificationType3["jsxAttributeStringLiteralValue"] = 24] = "jsxAttributeStringLiteralValue";
|
|
176547
|
-
ClassificationType3[ClassificationType3["bigintLiteral"] = 25] = "bigintLiteral";
|
|
176548
|
-
return ClassificationType3;
|
|
176549
|
-
})(ClassificationType2 || {});
|
|
176529
|
+
{
|
|
176530
|
+
}
|
|
176550
176531
|
|
|
176551
176532
|
// src/server/scriptInfo.ts
|
|
176552
176533
|
var TextStorage = class {
|