Skip to content

Commit d14962b

Browse files
committed
Update baselines and go-to-def test
1 parent 7435593 commit d14962b

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7018,6 +7018,7 @@ declare namespace ts.server.protocol {
70187018
Rename = "rename",
70197019
Saveto = "saveto",
70207020
SignatureHelp = "signatureHelp",
7021+
SourceDefinitionAndBoundSpan = "sourceDefinitionAndBoundSpan",
70217022
Status = "status",
70227023
TypeDefinition = "typeDefinition",
70237024
ProjectInfo = "projectInfo",
@@ -7637,6 +7638,9 @@ declare namespace ts.server.protocol {
76377638
interface DefinitionAndBoundSpanRequest extends FileLocationRequest {
76387639
readonly command: CommandTypes.DefinitionAndBoundSpan;
76397640
}
7641+
interface SourceDefinitionAndBoundSpanRequest extends FileLocationRequest {
7642+
readonly command: CommandTypes.SourceDefinitionAndBoundSpan;
7643+
}
76407644
interface DefinitionAndBoundSpanResponse extends Response {
76417645
readonly body: DefinitionInfoAndBoundSpan;
76427646
}
@@ -10592,6 +10596,7 @@ declare namespace ts.server {
1059210596
private getDefinition;
1059310597
private mapDefinitionInfoLocations;
1059410598
private getDefinitionAndBoundSpan;
10599+
private getSourceDefinitionAndBoundSpan;
1059510600
private getEmitOutput;
1059610601
private mapJSDocTagInfo;
1059710602
private mapDisplayParts;

tests/cases/fourslash/goToDefinitionExpandoElementAccess.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
////f[/*0*/"x"] = 0;
55
////f[[|/*1*/"x"|]] = 1;
66

7-
verify.goToDefinition("1", "0");
7+
verify.goToDefinition("1", ["0", "1"]);

0 commit comments

Comments
 (0)