@@ -141,7 +141,7 @@ namespace ts {
141141 getEncodedSemanticClassifications ( fileName : string , start : number , length : number ) : string ;
142142
143143 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 ;
145145
146146 getQuickInfoAtPosition ( fileName : string , position : number ) : string ;
147147
@@ -893,12 +893,12 @@ namespace ts {
893893 }
894894
895895 /** 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 ) {
897897 return this . forwardJSONCall (
898898 `getCompletionEntryDetails('${ fileName } ', ${ position } , '${ entryName } ')` ,
899899 ( ) => {
900900 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 ) ;
902902 }
903903 ) ;
904904 }
0 commit comments