mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-16 15:45:27 -05:00
Update baselines and go-to-def test
This commit is contained in:
@@ -7018,6 +7018,7 @@ declare namespace ts.server.protocol {
|
||||
Rename = "rename",
|
||||
Saveto = "saveto",
|
||||
SignatureHelp = "signatureHelp",
|
||||
SourceDefinitionAndBoundSpan = "sourceDefinitionAndBoundSpan",
|
||||
Status = "status",
|
||||
TypeDefinition = "typeDefinition",
|
||||
ProjectInfo = "projectInfo",
|
||||
@@ -7637,6 +7638,9 @@ declare namespace ts.server.protocol {
|
||||
interface DefinitionAndBoundSpanRequest extends FileLocationRequest {
|
||||
readonly command: CommandTypes.DefinitionAndBoundSpan;
|
||||
}
|
||||
interface SourceDefinitionAndBoundSpanRequest extends FileLocationRequest {
|
||||
readonly command: CommandTypes.SourceDefinitionAndBoundSpan;
|
||||
}
|
||||
interface DefinitionAndBoundSpanResponse extends Response {
|
||||
readonly body: DefinitionInfoAndBoundSpan;
|
||||
}
|
||||
@@ -10592,6 +10596,7 @@ declare namespace ts.server {
|
||||
private getDefinition;
|
||||
private mapDefinitionInfoLocations;
|
||||
private getDefinitionAndBoundSpan;
|
||||
private getSourceDefinitionAndBoundSpan;
|
||||
private getEmitOutput;
|
||||
private mapJSDocTagInfo;
|
||||
private mapDisplayParts;
|
||||
|
||||
@@ -4,4 +4,4 @@
|
||||
////f[/*0*/"x"] = 0;
|
||||
////f[[|/*1*/"x"|]] = 1;
|
||||
|
||||
verify.goToDefinition("1", "0");
|
||||
verify.goToDefinition("1", ["0", "1"]);
|
||||
|
||||
Reference in New Issue
Block a user