File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -7018,6 +7018,7 @@ declare namespace ts.server.protocol {
7018
7018
Rename = "rename",
7019
7019
Saveto = "saveto",
7020
7020
SignatureHelp = "signatureHelp",
7021
+ SourceDefinitionAndBoundSpan = "sourceDefinitionAndBoundSpan",
7021
7022
Status = "status",
7022
7023
TypeDefinition = "typeDefinition",
7023
7024
ProjectInfo = "projectInfo",
@@ -7637,6 +7638,9 @@ declare namespace ts.server.protocol {
7637
7638
interface DefinitionAndBoundSpanRequest extends FileLocationRequest {
7638
7639
readonly command: CommandTypes.DefinitionAndBoundSpan;
7639
7640
}
7641
+ interface SourceDefinitionAndBoundSpanRequest extends FileLocationRequest {
7642
+ readonly command: CommandTypes.SourceDefinitionAndBoundSpan;
7643
+ }
7640
7644
interface DefinitionAndBoundSpanResponse extends Response {
7641
7645
readonly body: DefinitionInfoAndBoundSpan;
7642
7646
}
@@ -10592,6 +10596,7 @@ declare namespace ts.server {
10592
10596
private getDefinition;
10593
10597
private mapDefinitionInfoLocations;
10594
10598
private getDefinitionAndBoundSpan;
10599
+ private getSourceDefinitionAndBoundSpan;
10595
10600
private getEmitOutput;
10596
10601
private mapJSDocTagInfo;
10597
10602
private mapDisplayParts;
Original file line number Diff line number Diff line change 4
4
////f[/*0*/"x"] = 0;
5
5
////f[[|/*1*/"x"|]] = 1;
6
6
7
- verify . goToDefinition ( "1" , "0" ) ;
7
+ verify . goToDefinition ( "1" , [ "0" , "1" ] ) ;
You can’t perform that action at this time.
0 commit comments