mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
Update LKG
This commit is contained in:
+3
-3
@@ -78862,7 +78862,7 @@ var ts;
|
||||
})(ts || (ts = {}));
|
||||
var ts;
|
||||
(function (ts) {
|
||||
ts.servicesVersion = "0.5";
|
||||
ts.servicesVersion = "0.6";
|
||||
var ruleProvider;
|
||||
function createNode(kind, pos, end, parent) {
|
||||
var node = ts.isNodeKind(kind) ? new NodeObject(kind, pos, end) :
|
||||
@@ -80782,11 +80782,11 @@ var ts;
|
||||
var _this = this;
|
||||
return this.forwardJSONCall("getCompletionsAtPosition('" + fileName + "', " + position + ")", function () { return _this.languageService.getCompletionsAtPosition(fileName, position); });
|
||||
};
|
||||
LanguageServiceShimObject.prototype.getCompletionEntryDetails = function (fileName, position, entryName, options) {
|
||||
LanguageServiceShimObject.prototype.getCompletionEntryDetails = function (fileName, position, entryName, options, source) {
|
||||
var _this = this;
|
||||
return this.forwardJSONCall("getCompletionEntryDetails('" + fileName + "', " + position + ", '" + entryName + "')", function () {
|
||||
var localOptions = JSON.parse(options);
|
||||
return _this.languageService.getCompletionEntryDetails(fileName, position, entryName, localOptions);
|
||||
return _this.languageService.getCompletionEntryDetails(fileName, position, entryName, localOptions, source);
|
||||
});
|
||||
};
|
||||
LanguageServiceShimObject.prototype.getFormattingEditsForRange = function (fileName, start, end, options) {
|
||||
|
||||
Vendored
+3
-3
@@ -3915,8 +3915,8 @@ declare namespace ts {
|
||||
getEncodedSyntacticClassifications(fileName: string, span: TextSpan): Classifications;
|
||||
getEncodedSemanticClassifications(fileName: string, span: TextSpan): Classifications;
|
||||
getCompletionsAtPosition(fileName: string, position: number): CompletionInfo;
|
||||
getCompletionEntryDetails(fileName: string, position: number, name: string, options?: FormatCodeOptions | FormatCodeSettings, source?: string): CompletionEntryDetails;
|
||||
getCompletionEntrySymbol(fileName: string, position: number, name: string, source?: string): Symbol;
|
||||
getCompletionEntryDetails(fileName: string, position: number, name: string, options: FormatCodeOptions | FormatCodeSettings | undefined, source: string | undefined): CompletionEntryDetails;
|
||||
getCompletionEntrySymbol(fileName: string, position: number, name: string, source: string | undefined): Symbol;
|
||||
getQuickInfoAtPosition(fileName: string, position: number): QuickInfo;
|
||||
getNameOrDottedNameSpan(fileName: string, startPos: number, endPos: number): TextSpan;
|
||||
getBreakpointStatementAtPosition(fileName: string, position: number): TextSpan;
|
||||
@@ -4598,7 +4598,7 @@ declare namespace ts {
|
||||
}
|
||||
declare namespace ts {
|
||||
/** The version of the language service API */
|
||||
const servicesVersion = "0.5";
|
||||
const servicesVersion = "0.6";
|
||||
interface DisplayPartsSymbolWriter extends SymbolWriter {
|
||||
displayParts(): SymbolDisplayPart[];
|
||||
}
|
||||
|
||||
@@ -95135,7 +95135,7 @@ var ts;
|
||||
var ts;
|
||||
(function (ts) {
|
||||
/** The version of the language service API */
|
||||
ts.servicesVersion = "0.5";
|
||||
ts.servicesVersion = "0.6";
|
||||
/* @internal */
|
||||
var ruleProvider;
|
||||
function createNode(kind, pos, end, parent) {
|
||||
@@ -104644,11 +104644,11 @@ var ts;
|
||||
return this.forwardJSONCall("getCompletionsAtPosition('" + fileName + "', " + position + ")", function () { return _this.languageService.getCompletionsAtPosition(fileName, position); });
|
||||
};
|
||||
/** Get a string based representation of a completion list entry details */
|
||||
LanguageServiceShimObject.prototype.getCompletionEntryDetails = function (fileName, position, entryName, options /*Services.FormatCodeOptions*/) {
|
||||
LanguageServiceShimObject.prototype.getCompletionEntryDetails = function (fileName, position, entryName, options /*Services.FormatCodeOptions*/, source) {
|
||||
var _this = this;
|
||||
return this.forwardJSONCall("getCompletionEntryDetails('" + fileName + "', " + position + ", '" + entryName + "')", function () {
|
||||
var localOptions = JSON.parse(options);
|
||||
return _this.languageService.getCompletionEntryDetails(fileName, position, entryName, localOptions);
|
||||
return _this.languageService.getCompletionEntryDetails(fileName, position, entryName, localOptions, source);
|
||||
});
|
||||
};
|
||||
LanguageServiceShimObject.prototype.getFormattingEditsForRange = function (fileName, start, end, options /*Services.FormatCodeOptions*/) {
|
||||
|
||||
Vendored
+3
-3
@@ -3915,8 +3915,8 @@ declare namespace ts {
|
||||
getEncodedSyntacticClassifications(fileName: string, span: TextSpan): Classifications;
|
||||
getEncodedSemanticClassifications(fileName: string, span: TextSpan): Classifications;
|
||||
getCompletionsAtPosition(fileName: string, position: number): CompletionInfo;
|
||||
getCompletionEntryDetails(fileName: string, position: number, name: string, options?: FormatCodeOptions | FormatCodeSettings, source?: string): CompletionEntryDetails;
|
||||
getCompletionEntrySymbol(fileName: string, position: number, name: string, source?: string): Symbol;
|
||||
getCompletionEntryDetails(fileName: string, position: number, name: string, options: FormatCodeOptions | FormatCodeSettings | undefined, source: string | undefined): CompletionEntryDetails;
|
||||
getCompletionEntrySymbol(fileName: string, position: number, name: string, source: string | undefined): Symbol;
|
||||
getQuickInfoAtPosition(fileName: string, position: number): QuickInfo;
|
||||
getNameOrDottedNameSpan(fileName: string, startPos: number, endPos: number): TextSpan;
|
||||
getBreakpointStatementAtPosition(fileName: string, position: number): TextSpan;
|
||||
@@ -4598,7 +4598,7 @@ declare namespace ts {
|
||||
}
|
||||
declare namespace ts {
|
||||
/** The version of the language service API */
|
||||
const servicesVersion = "0.5";
|
||||
const servicesVersion = "0.6";
|
||||
interface DisplayPartsSymbolWriter extends SymbolWriter {
|
||||
displayParts(): SymbolDisplayPart[];
|
||||
}
|
||||
|
||||
+3
-3
@@ -94531,7 +94531,7 @@ var ts;
|
||||
var ts;
|
||||
(function (ts) {
|
||||
/** The version of the language service API */
|
||||
ts.servicesVersion = "0.5";
|
||||
ts.servicesVersion = "0.6";
|
||||
/* @internal */
|
||||
var ruleProvider;
|
||||
function createNode(kind, pos, end, parent) {
|
||||
@@ -97393,11 +97393,11 @@ var ts;
|
||||
return this.forwardJSONCall("getCompletionsAtPosition('" + fileName + "', " + position + ")", function () { return _this.languageService.getCompletionsAtPosition(fileName, position); });
|
||||
};
|
||||
/** Get a string based representation of a completion list entry details */
|
||||
LanguageServiceShimObject.prototype.getCompletionEntryDetails = function (fileName, position, entryName, options /*Services.FormatCodeOptions*/) {
|
||||
LanguageServiceShimObject.prototype.getCompletionEntryDetails = function (fileName, position, entryName, options /*Services.FormatCodeOptions*/, source) {
|
||||
var _this = this;
|
||||
return this.forwardJSONCall("getCompletionEntryDetails('" + fileName + "', " + position + ", '" + entryName + "')", function () {
|
||||
var localOptions = JSON.parse(options);
|
||||
return _this.languageService.getCompletionEntryDetails(fileName, position, entryName, localOptions);
|
||||
return _this.languageService.getCompletionEntryDetails(fileName, position, entryName, localOptions, source);
|
||||
});
|
||||
};
|
||||
LanguageServiceShimObject.prototype.getFormattingEditsForRange = function (fileName, start, end, options /*Services.FormatCodeOptions*/) {
|
||||
|
||||
Vendored
+3
-3
@@ -3915,8 +3915,8 @@ declare namespace ts {
|
||||
getEncodedSyntacticClassifications(fileName: string, span: TextSpan): Classifications;
|
||||
getEncodedSemanticClassifications(fileName: string, span: TextSpan): Classifications;
|
||||
getCompletionsAtPosition(fileName: string, position: number): CompletionInfo;
|
||||
getCompletionEntryDetails(fileName: string, position: number, name: string, options?: FormatCodeOptions | FormatCodeSettings, source?: string): CompletionEntryDetails;
|
||||
getCompletionEntrySymbol(fileName: string, position: number, name: string, source?: string): Symbol;
|
||||
getCompletionEntryDetails(fileName: string, position: number, name: string, options: FormatCodeOptions | FormatCodeSettings | undefined, source: string | undefined): CompletionEntryDetails;
|
||||
getCompletionEntrySymbol(fileName: string, position: number, name: string, source: string | undefined): Symbol;
|
||||
getQuickInfoAtPosition(fileName: string, position: number): QuickInfo;
|
||||
getNameOrDottedNameSpan(fileName: string, startPos: number, endPos: number): TextSpan;
|
||||
getBreakpointStatementAtPosition(fileName: string, position: number): TextSpan;
|
||||
@@ -4598,7 +4598,7 @@ declare namespace ts {
|
||||
}
|
||||
declare namespace ts {
|
||||
/** The version of the language service API */
|
||||
const servicesVersion = "0.5";
|
||||
const servicesVersion = "0.6";
|
||||
interface DisplayPartsSymbolWriter extends SymbolWriter {
|
||||
displayParts(): SymbolDisplayPart[];
|
||||
}
|
||||
|
||||
@@ -94531,7 +94531,7 @@ var ts;
|
||||
var ts;
|
||||
(function (ts) {
|
||||
/** The version of the language service API */
|
||||
ts.servicesVersion = "0.5";
|
||||
ts.servicesVersion = "0.6";
|
||||
/* @internal */
|
||||
var ruleProvider;
|
||||
function createNode(kind, pos, end, parent) {
|
||||
@@ -97393,11 +97393,11 @@ var ts;
|
||||
return this.forwardJSONCall("getCompletionsAtPosition('" + fileName + "', " + position + ")", function () { return _this.languageService.getCompletionsAtPosition(fileName, position); });
|
||||
};
|
||||
/** Get a string based representation of a completion list entry details */
|
||||
LanguageServiceShimObject.prototype.getCompletionEntryDetails = function (fileName, position, entryName, options /*Services.FormatCodeOptions*/) {
|
||||
LanguageServiceShimObject.prototype.getCompletionEntryDetails = function (fileName, position, entryName, options /*Services.FormatCodeOptions*/, source) {
|
||||
var _this = this;
|
||||
return this.forwardJSONCall("getCompletionEntryDetails('" + fileName + "', " + position + ", '" + entryName + "')", function () {
|
||||
var localOptions = JSON.parse(options);
|
||||
return _this.languageService.getCompletionEntryDetails(fileName, position, entryName, localOptions);
|
||||
return _this.languageService.getCompletionEntryDetails(fileName, position, entryName, localOptions, source);
|
||||
});
|
||||
};
|
||||
LanguageServiceShimObject.prototype.getFormattingEditsForRange = function (fileName, start, end, options /*Services.FormatCodeOptions*/) {
|
||||
|
||||
Reference in New Issue
Block a user