Adding more explicit returns

This commit is contained in:
Matt Bierner
2017-02-01 17:29:57 -08:00
parent 2a82bcdc57
commit c342eaa22e
65 changed files with 124 additions and 55 deletions

View File

@@ -78,6 +78,7 @@ export class ExtHostQuickOpen extends ExtHostQuickOpenShape {
if (typeof handle === 'number') {
return items[handle];
}
return undefined;
});
}, (err) => {
this._proxy.$setError(err);
@@ -109,5 +110,6 @@ export class ExtHostQuickOpen extends ExtHostQuickOpenShape {
if (this._validateInput) {
return TPromise.as(this._validateInput(input));
}
return undefined;
}
}