Skip to content

Commit 912cbdf

Browse files
author
TypeScript Bot
committed
Update LKG
1 parent 076db46 commit 912cbdf

File tree

4 files changed

+8
-32
lines changed

4 files changed

+8
-32
lines changed

lib/tsserver.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -143508,7 +143508,7 @@ var ts;
143508143508
kind: "" /* unknown */,
143509143509
kindModifiers: "" /* none */,
143510143510
textSpan: ts.createTextSpanFromNode(nodeForQuickInfo, sourceFile),
143511-
displayParts: prefixWithApproximation(typeChecker.runWithCancellationToken(cancellationToken, function (typeChecker) { return ts.typeToDisplayParts(typeChecker, type_2, ts.getContainerNode(nodeForQuickInfo)); })),
143511+
displayParts: typeChecker.runWithCancellationToken(cancellationToken, function (typeChecker) { return ts.typeToDisplayParts(typeChecker, type_2, ts.getContainerNode(nodeForQuickInfo)); }),
143512143512
documentation: type_2.symbol ? type_2.symbol.getDocumentationComment(typeChecker) : undefined,
143513143513
tags: type_2.symbol ? type_2.symbol.getJsDocTags() : undefined
143514143514
};
@@ -143520,7 +143520,7 @@ var ts;
143520143520
kind: symbolKind,
143521143521
kindModifiers: ts.SymbolDisplay.getSymbolModifiers(symbol),
143522143522
textSpan: ts.createTextSpanFromNode(nodeForQuickInfo, sourceFile),
143523-
displayParts: prefixWithApproximation(displayParts),
143523+
displayParts: displayParts,
143524143524
documentation: documentation,
143525143525
tags: tags,
143526143526
};
@@ -143547,12 +143547,6 @@ var ts;
143547143547
return false;
143548143548
}
143549143549
}
143550-
function prefixWithApproximation(displayParts) {
143551-
if (languageServiceMode === ts.LanguageServiceMode.Semantic) {
143552-
return displayParts;
143553-
}
143554-
return __spreadArrays([ts.textPart("(approximation)"), ts.spacePart()], displayParts);
143555-
}
143556143550
/// Goto definition
143557143551
function getDefinitionAtPosition(fileName, position) {
143558143552
synchronizeHostData();

lib/tsserverlibrary.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -144075,7 +144075,7 @@ var ts;
144075144075
kind: "" /* unknown */,
144076144076
kindModifiers: "" /* none */,
144077144077
textSpan: ts.createTextSpanFromNode(nodeForQuickInfo, sourceFile),
144078-
displayParts: prefixWithApproximation(typeChecker.runWithCancellationToken(cancellationToken, function (typeChecker) { return ts.typeToDisplayParts(typeChecker, type_2, ts.getContainerNode(nodeForQuickInfo)); })),
144078+
displayParts: typeChecker.runWithCancellationToken(cancellationToken, function (typeChecker) { return ts.typeToDisplayParts(typeChecker, type_2, ts.getContainerNode(nodeForQuickInfo)); }),
144079144079
documentation: type_2.symbol ? type_2.symbol.getDocumentationComment(typeChecker) : undefined,
144080144080
tags: type_2.symbol ? type_2.symbol.getJsDocTags() : undefined
144081144081
};
@@ -144087,7 +144087,7 @@ var ts;
144087144087
kind: symbolKind,
144088144088
kindModifiers: ts.SymbolDisplay.getSymbolModifiers(symbol),
144089144089
textSpan: ts.createTextSpanFromNode(nodeForQuickInfo, sourceFile),
144090-
displayParts: prefixWithApproximation(displayParts),
144090+
displayParts: displayParts,
144091144091
documentation: documentation,
144092144092
tags: tags,
144093144093
};
@@ -144114,12 +144114,6 @@ var ts;
144114144114
return false;
144115144115
}
144116144116
}
144117-
function prefixWithApproximation(displayParts) {
144118-
if (languageServiceMode === ts.LanguageServiceMode.Semantic) {
144119-
return displayParts;
144120-
}
144121-
return __spreadArrays([ts.textPart("(approximation)"), ts.spacePart()], displayParts);
144122-
}
144123144117
/// Goto definition
144124144118
function getDefinitionAtPosition(fileName, position) {
144125144119
synchronizeHostData();

lib/typescript.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -144075,7 +144075,7 @@ var ts;
144075144075
kind: "" /* unknown */,
144076144076
kindModifiers: "" /* none */,
144077144077
textSpan: ts.createTextSpanFromNode(nodeForQuickInfo, sourceFile),
144078-
displayParts: prefixWithApproximation(typeChecker.runWithCancellationToken(cancellationToken, function (typeChecker) { return ts.typeToDisplayParts(typeChecker, type_2, ts.getContainerNode(nodeForQuickInfo)); })),
144078+
displayParts: typeChecker.runWithCancellationToken(cancellationToken, function (typeChecker) { return ts.typeToDisplayParts(typeChecker, type_2, ts.getContainerNode(nodeForQuickInfo)); }),
144079144079
documentation: type_2.symbol ? type_2.symbol.getDocumentationComment(typeChecker) : undefined,
144080144080
tags: type_2.symbol ? type_2.symbol.getJsDocTags() : undefined
144081144081
};
@@ -144087,7 +144087,7 @@ var ts;
144087144087
kind: symbolKind,
144088144088
kindModifiers: ts.SymbolDisplay.getSymbolModifiers(symbol),
144089144089
textSpan: ts.createTextSpanFromNode(nodeForQuickInfo, sourceFile),
144090-
displayParts: prefixWithApproximation(displayParts),
144090+
displayParts: displayParts,
144091144091
documentation: documentation,
144092144092
tags: tags,
144093144093
};
@@ -144114,12 +144114,6 @@ var ts;
144114144114
return false;
144115144115
}
144116144116
}
144117-
function prefixWithApproximation(displayParts) {
144118-
if (languageServiceMode === ts.LanguageServiceMode.Semantic) {
144119-
return displayParts;
144120-
}
144121-
return __spreadArrays([ts.textPart("(approximation)"), ts.spacePart()], displayParts);
144122-
}
144123144117
/// Goto definition
144124144118
function getDefinitionAtPosition(fileName, position) {
144125144119
synchronizeHostData();

lib/typescriptServices.js

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -144075,7 +144075,7 @@ var ts;
144075144075
kind: "" /* unknown */,
144076144076
kindModifiers: "" /* none */,
144077144077
textSpan: ts.createTextSpanFromNode(nodeForQuickInfo, sourceFile),
144078-
displayParts: prefixWithApproximation(typeChecker.runWithCancellationToken(cancellationToken, function (typeChecker) { return ts.typeToDisplayParts(typeChecker, type_2, ts.getContainerNode(nodeForQuickInfo)); })),
144078+
displayParts: typeChecker.runWithCancellationToken(cancellationToken, function (typeChecker) { return ts.typeToDisplayParts(typeChecker, type_2, ts.getContainerNode(nodeForQuickInfo)); }),
144079144079
documentation: type_2.symbol ? type_2.symbol.getDocumentationComment(typeChecker) : undefined,
144080144080
tags: type_2.symbol ? type_2.symbol.getJsDocTags() : undefined
144081144081
};
@@ -144087,7 +144087,7 @@ var ts;
144087144087
kind: symbolKind,
144088144088
kindModifiers: ts.SymbolDisplay.getSymbolModifiers(symbol),
144089144089
textSpan: ts.createTextSpanFromNode(nodeForQuickInfo, sourceFile),
144090-
displayParts: prefixWithApproximation(displayParts),
144090+
displayParts: displayParts,
144091144091
documentation: documentation,
144092144092
tags: tags,
144093144093
};
@@ -144114,12 +144114,6 @@ var ts;
144114144114
return false;
144115144115
}
144116144116
}
144117-
function prefixWithApproximation(displayParts) {
144118-
if (languageServiceMode === ts.LanguageServiceMode.Semantic) {
144119-
return displayParts;
144120-
}
144121-
return __spreadArrays([ts.textPart("(approximation)"), ts.spacePart()], displayParts);
144122-
}
144123144117
/// Goto definition
144124144118
function getDefinitionAtPosition(fileName, position) {
144125144119
synchronizeHostData();

0 commit comments

Comments
 (0)