Update LKG
This commit is contained in:
parent
3a46371004
commit
4f65a2885e
|
@ -49453,6 +49453,9 @@ var ts;
|
|||
function getNonBoundSourceFile(fileName) {
|
||||
return syntaxTreeCache.getCurrentSourceFile(fileName);
|
||||
}
|
||||
function getSourceFile(fileName) {
|
||||
return getNonBoundSourceFile(fileName);
|
||||
}
|
||||
function getNameOrDottedNameSpan(fileName, startPos, endPos) {
|
||||
var sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);
|
||||
var node = ts.getTouchingPropertyName(sourceFile, startPos);
|
||||
|
@ -50273,6 +50276,7 @@ var ts;
|
|||
isValidBraceCompletionAtPosition: isValidBraceCompletionAtPosition,
|
||||
getEmitOutput: getEmitOutput,
|
||||
getNonBoundSourceFile: getNonBoundSourceFile,
|
||||
getSourceFile: getSourceFile,
|
||||
getProgram: getProgram
|
||||
};
|
||||
}
|
||||
|
|
1
lib/tsserverlibrary.d.ts
vendored
1
lib/tsserverlibrary.d.ts
vendored
|
@ -8001,6 +8001,7 @@ declare namespace ts {
|
|||
getEmitOutput(fileName: string): EmitOutput;
|
||||
getProgram(): Program;
|
||||
getNonBoundSourceFile(fileName: string): SourceFile;
|
||||
getSourceFile(fileName: string): SourceFile;
|
||||
dispose(): void;
|
||||
}
|
||||
interface Classifications {
|
||||
|
|
|
@ -49453,6 +49453,9 @@ var ts;
|
|||
function getNonBoundSourceFile(fileName) {
|
||||
return syntaxTreeCache.getCurrentSourceFile(fileName);
|
||||
}
|
||||
function getSourceFile(fileName) {
|
||||
return getNonBoundSourceFile(fileName);
|
||||
}
|
||||
function getNameOrDottedNameSpan(fileName, startPos, endPos) {
|
||||
var sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);
|
||||
var node = ts.getTouchingPropertyName(sourceFile, startPos);
|
||||
|
@ -50273,6 +50276,7 @@ var ts;
|
|||
isValidBraceCompletionAtPosition: isValidBraceCompletionAtPosition,
|
||||
getEmitOutput: getEmitOutput,
|
||||
getNonBoundSourceFile: getNonBoundSourceFile,
|
||||
getSourceFile: getSourceFile,
|
||||
getProgram: getProgram
|
||||
};
|
||||
}
|
||||
|
|
|
@ -58753,6 +58753,9 @@ var ts;
|
|||
function getNonBoundSourceFile(fileName) {
|
||||
return syntaxTreeCache.getCurrentSourceFile(fileName);
|
||||
}
|
||||
function getSourceFile(fileName) {
|
||||
return getNonBoundSourceFile(fileName);
|
||||
}
|
||||
function getNameOrDottedNameSpan(fileName, startPos, endPos) {
|
||||
var sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);
|
||||
// Get node at the location
|
||||
|
@ -59761,6 +59764,7 @@ var ts;
|
|||
isValidBraceCompletionAtPosition: isValidBraceCompletionAtPosition,
|
||||
getEmitOutput: getEmitOutput,
|
||||
getNonBoundSourceFile: getNonBoundSourceFile,
|
||||
getSourceFile: getSourceFile,
|
||||
getProgram: getProgram
|
||||
};
|
||||
}
|
||||
|
|
|
@ -58753,6 +58753,9 @@ var ts;
|
|||
function getNonBoundSourceFile(fileName) {
|
||||
return syntaxTreeCache.getCurrentSourceFile(fileName);
|
||||
}
|
||||
function getSourceFile(fileName) {
|
||||
return getNonBoundSourceFile(fileName);
|
||||
}
|
||||
function getNameOrDottedNameSpan(fileName, startPos, endPos) {
|
||||
var sourceFile = syntaxTreeCache.getCurrentSourceFile(fileName);
|
||||
// Get node at the location
|
||||
|
@ -59761,6 +59764,7 @@ var ts;
|
|||
isValidBraceCompletionAtPosition: isValidBraceCompletionAtPosition,
|
||||
getEmitOutput: getEmitOutput,
|
||||
getNonBoundSourceFile: getNonBoundSourceFile,
|
||||
getSourceFile: getSourceFile,
|
||||
getProgram: getProgram
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue