@@ -141,7 +141,7 @@ namespace ts {
141
141
getEncodedSemanticClassifications ( fileName : string , start : number , length : number ) : string ;
142
142
143
143
getCompletionsAtPosition ( fileName : string , position : number ) : string ;
144
- getCompletionEntryDetails ( fileName : string , position : number , entryName : string , options : string /*Services.FormatCodeOptions*/ ) : string ;
144
+ getCompletionEntryDetails ( fileName : string , position : number , entryName : string , options : string /*Services.FormatCodeOptions*/ , source : string | undefined ) : string ;
145
145
146
146
getQuickInfoAtPosition ( fileName : string , position : number ) : string ;
147
147
@@ -893,12 +893,12 @@ namespace ts {
893
893
}
894
894
895
895
/** Get a string based representation of a completion list entry details */
896
- public getCompletionEntryDetails ( fileName : string , position : number , entryName : string , options : string /*Services.FormatCodeOptions*/ ) {
896
+ public getCompletionEntryDetails ( fileName : string , position : number , entryName : string , options : string /*Services.FormatCodeOptions*/ , source : string | undefined ) {
897
897
return this . forwardJSONCall (
898
898
`getCompletionEntryDetails('${ fileName } ', ${ position } , '${ entryName } ')` ,
899
899
( ) => {
900
900
const localOptions : ts . FormatCodeOptions = JSON . parse ( options ) ;
901
- return this . languageService . getCompletionEntryDetails ( fileName , position , entryName , localOptions ) ;
901
+ return this . languageService . getCompletionEntryDetails ( fileName , position , entryName , localOptions , source ) ;
902
902
}
903
903
) ;
904
904
}
0 commit comments