Fix compile error for ts 2.6 api change

Forgot to add this file when checking in
This commit is contained in:
Matt Bierner 2017-10-31 13:14:50 -07:00
parent e6b4fe96f6
commit 033e74d08b

View file

@ -110,7 +110,7 @@ export function getJavascriptMode(documentRegions: LanguageModelCache<HTMLDocume
},
doResolve(document: TextDocument, item: CompletionItem): CompletionItem {
updateCurrentTextDocument(document);
let details = jsLanguageService.getCompletionEntryDetails(FILE_NAME, item.data.offset, item.label);
let details = jsLanguageService.getCompletionEntryDetails(FILE_NAME, item.data.offset, item.label, undefined, undefined);
if (details) {
item.detail = ts.displayPartsToString(details.displayParts);
item.documentation = ts.displayPartsToString(details.documentation);