File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ module ts.server {
308
308
offset : lineOffset . offset ,
309
309
} ;
310
310
311
- var request = this . processRequest < protocol . TypeDefinitionRequest > ( CommandNames . Type , args ) ;
311
+ var request = this . processRequest < protocol . TypeDefinitionRequest > ( CommandNames . TypeDefinition , args ) ;
312
312
var response = this . processResponse < protocol . TypeDefinitionResponse > ( request ) ;
313
313
314
314
return response . body . map ( entry => {
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ declare module ts.server.protocol {
127
127
128
128
/**
129
129
* Go to type request; value of command field is
130
- * "type ". Return response giving the file locations that
130
+ * "typeDefinition ". Return response giving the file locations that
131
131
* define the type for the symbol found in file at location line, col.
132
132
*/
133
133
export interface TypeDefinitionRequest extends FileLocationRequest {
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ module ts.server {
97
97
export var Rename = "rename" ;
98
98
export var Saveto = "saveto" ;
99
99
export var SignatureHelp = "signatureHelp" ;
100
- export var Type = "type " ;
100
+ export var TypeDefinition = "typeDefinition " ;
101
101
export var Unknown = "unknown" ;
102
102
}
103
103
@@ -840,7 +840,7 @@ module ts.server {
840
840
response = this . getDefinition ( defArgs . line , defArgs . offset , defArgs . file ) ;
841
841
break ;
842
842
}
843
- case CommandNames . Type : {
843
+ case CommandNames . TypeDefinition : {
844
844
var defArgs = < protocol . FileLocationRequestArgs > request . arguments ;
845
845
response = this . getTypeDefinition ( defArgs . line , defArgs . offset , defArgs . file ) ;
846
846
break ;
You can’t perform that action at this time.
0 commit comments