Fix jsdoc build error

This commit is contained in:
Matt Bierner
2017-02-16 12:52:30 -08:00
parent 3a311829e4
commit db25b7ec6e

View File

@@ -9,7 +9,7 @@ import { TextEditor, Position, Range, Selection } from 'vscode';
import { ITypescriptServiceClient } from '../typescriptService';
import { FileLocationRequestArgs } from '../protocol';
import { FileLocationRequestArgs, DocCommandTemplateResponse } from '../protocol';
export default class JsDocCompletionHelper {
@@ -62,7 +62,7 @@ export default class JsDocCompletionHelper {
new Promise((_, reject) => {
setTimeout(reject, 250);
})
]).then(res => {
]).then((res: DocCommandTemplateResponse) => {
if (!res || !res.body) {
return false;
}