File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ module ts.server {
308308 offset : lineOffset . offset ,
309309 } ;
310310
311- var request = this . processRequest < protocol . TypeDefinitionRequest > ( CommandNames . Type , args ) ;
311+ var request = this . processRequest < protocol . TypeDefinitionRequest > ( CommandNames . TypeDefinition , args ) ;
312312 var response = this . processResponse < protocol . TypeDefinitionResponse > ( request ) ;
313313
314314 return response . body . map ( entry => {
Original file line number Diff line number Diff line change @@ -127,7 +127,7 @@ declare module ts.server.protocol {
127127
128128 /**
129129 * 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
131131 * define the type for the symbol found in file at location line, col.
132132 */
133133 export interface TypeDefinitionRequest extends FileLocationRequest {
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ module ts.server {
9797 export var Rename = "rename" ;
9898 export var Saveto = "saveto" ;
9999 export var SignatureHelp = "signatureHelp" ;
100- export var Type = "type " ;
100+ export var TypeDefinition = "typeDefinition " ;
101101 export var Unknown = "unknown" ;
102102 }
103103
@@ -840,7 +840,7 @@ module ts.server {
840840 response = this . getDefinition ( defArgs . line , defArgs . offset , defArgs . file ) ;
841841 break ;
842842 }
843- case CommandNames . Type : {
843+ case CommandNames . TypeDefinition : {
844844 var defArgs = < protocol . FileLocationRequestArgs > request . arguments ;
845845 response = this . getTypeDefinition ( defArgs . line , defArgs . offset , defArgs . file ) ;
846846 break ;
You can’t perform that action at this time.
0 commit comments