Skip to content

Commit

Permalink
Update LKG
Browse files Browse the repository at this point in the history
  • Loading branch information
typescript-bot committed Aug 17, 2020
1 parent 076db46 commit 912cbdf
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 32 deletions.
10 changes: 2 additions & 8 deletions lib/tsserver.js
Expand Up @@ -143508,7 +143508,7 @@ var ts;
kind: "" /* unknown */,
kindModifiers: "" /* none */,
textSpan: ts.createTextSpanFromNode(nodeForQuickInfo, sourceFile),
displayParts: prefixWithApproximation(typeChecker.runWithCancellationToken(cancellationToken, function (typeChecker) { return ts.typeToDisplayParts(typeChecker, type_2, ts.getContainerNode(nodeForQuickInfo)); })),
displayParts: typeChecker.runWithCancellationToken(cancellationToken, function (typeChecker) { return ts.typeToDisplayParts(typeChecker, type_2, ts.getContainerNode(nodeForQuickInfo)); }),
documentation: type_2.symbol ? type_2.symbol.getDocumentationComment(typeChecker) : undefined,
tags: type_2.symbol ? type_2.symbol.getJsDocTags() : undefined
};
Expand All @@ -143520,7 +143520,7 @@ var ts;
kind: symbolKind,
kindModifiers: ts.SymbolDisplay.getSymbolModifiers(symbol),
textSpan: ts.createTextSpanFromNode(nodeForQuickInfo, sourceFile),
displayParts: prefixWithApproximation(displayParts),
displayParts: displayParts,
documentation: documentation,
tags: tags,
};
Expand All @@ -143547,12 +143547,6 @@ var ts;
return false;
}
}
function prefixWithApproximation(displayParts) {
if (languageServiceMode === ts.LanguageServiceMode.Semantic) {
return displayParts;
}
return __spreadArrays([ts.textPart("(approximation)"), ts.spacePart()], displayParts);
}
/// Goto definition
function getDefinitionAtPosition(fileName, position) {
synchronizeHostData();
Expand Down
10 changes: 2 additions & 8 deletions lib/tsserverlibrary.js
Expand Up @@ -144075,7 +144075,7 @@ var ts;
kind: "" /* unknown */,
kindModifiers: "" /* none */,
textSpan: ts.createTextSpanFromNode(nodeForQuickInfo, sourceFile),
displayParts: prefixWithApproximation(typeChecker.runWithCancellationToken(cancellationToken, function (typeChecker) { return ts.typeToDisplayParts(typeChecker, type_2, ts.getContainerNode(nodeForQuickInfo)); })),
displayParts: typeChecker.runWithCancellationToken(cancellationToken, function (typeChecker) { return ts.typeToDisplayParts(typeChecker, type_2, ts.getContainerNode(nodeForQuickInfo)); }),
documentation: type_2.symbol ? type_2.symbol.getDocumentationComment(typeChecker) : undefined,
tags: type_2.symbol ? type_2.symbol.getJsDocTags() : undefined
};
Expand All @@ -144087,7 +144087,7 @@ var ts;
kind: symbolKind,
kindModifiers: ts.SymbolDisplay.getSymbolModifiers(symbol),
textSpan: ts.createTextSpanFromNode(nodeForQuickInfo, sourceFile),
displayParts: prefixWithApproximation(displayParts),
displayParts: displayParts,
documentation: documentation,
tags: tags,
};
Expand All @@ -144114,12 +144114,6 @@ var ts;
return false;
}
}
function prefixWithApproximation(displayParts) {
if (languageServiceMode === ts.LanguageServiceMode.Semantic) {
return displayParts;
}
return __spreadArrays([ts.textPart("(approximation)"), ts.spacePart()], displayParts);
}
/// Goto definition
function getDefinitionAtPosition(fileName, position) {
synchronizeHostData();
Expand Down
10 changes: 2 additions & 8 deletions lib/typescript.js
Expand Up @@ -144075,7 +144075,7 @@ var ts;
kind: "" /* unknown */,
kindModifiers: "" /* none */,
textSpan: ts.createTextSpanFromNode(nodeForQuickInfo, sourceFile),
displayParts: prefixWithApproximation(typeChecker.runWithCancellationToken(cancellationToken, function (typeChecker) { return ts.typeToDisplayParts(typeChecker, type_2, ts.getContainerNode(nodeForQuickInfo)); })),
displayParts: typeChecker.runWithCancellationToken(cancellationToken, function (typeChecker) { return ts.typeToDisplayParts(typeChecker, type_2, ts.getContainerNode(nodeForQuickInfo)); }),
documentation: type_2.symbol ? type_2.symbol.getDocumentationComment(typeChecker) : undefined,
tags: type_2.symbol ? type_2.symbol.getJsDocTags() : undefined
};
Expand All @@ -144087,7 +144087,7 @@ var ts;
kind: symbolKind,
kindModifiers: ts.SymbolDisplay.getSymbolModifiers(symbol),
textSpan: ts.createTextSpanFromNode(nodeForQuickInfo, sourceFile),
displayParts: prefixWithApproximation(displayParts),
displayParts: displayParts,
documentation: documentation,
tags: tags,
};
Expand All @@ -144114,12 +144114,6 @@ var ts;
return false;
}
}
function prefixWithApproximation(displayParts) {
if (languageServiceMode === ts.LanguageServiceMode.Semantic) {
return displayParts;
}
return __spreadArrays([ts.textPart("(approximation)"), ts.spacePart()], displayParts);
}
/// Goto definition
function getDefinitionAtPosition(fileName, position) {
synchronizeHostData();
Expand Down
10 changes: 2 additions & 8 deletions lib/typescriptServices.js
Expand Up @@ -144075,7 +144075,7 @@ var ts;
kind: "" /* unknown */,
kindModifiers: "" /* none */,
textSpan: ts.createTextSpanFromNode(nodeForQuickInfo, sourceFile),
displayParts: prefixWithApproximation(typeChecker.runWithCancellationToken(cancellationToken, function (typeChecker) { return ts.typeToDisplayParts(typeChecker, type_2, ts.getContainerNode(nodeForQuickInfo)); })),
displayParts: typeChecker.runWithCancellationToken(cancellationToken, function (typeChecker) { return ts.typeToDisplayParts(typeChecker, type_2, ts.getContainerNode(nodeForQuickInfo)); }),
documentation: type_2.symbol ? type_2.symbol.getDocumentationComment(typeChecker) : undefined,
tags: type_2.symbol ? type_2.symbol.getJsDocTags() : undefined
};
Expand All @@ -144087,7 +144087,7 @@ var ts;
kind: symbolKind,
kindModifiers: ts.SymbolDisplay.getSymbolModifiers(symbol),
textSpan: ts.createTextSpanFromNode(nodeForQuickInfo, sourceFile),
displayParts: prefixWithApproximation(displayParts),
displayParts: displayParts,
documentation: documentation,
tags: tags,
};
Expand All @@ -144114,12 +144114,6 @@ var ts;
return false;
}
}
function prefixWithApproximation(displayParts) {
if (languageServiceMode === ts.LanguageServiceMode.Semantic) {
return displayParts;
}
return __spreadArrays([ts.textPart("(approximation)"), ts.spacePart()], displayParts);
}
/// Goto definition
function getDefinitionAtPosition(fileName, position) {
synchronizeHostData();
Expand Down

0 comments on commit 912cbdf

Please sign in to comment.