add typings to support Promise#finally

This commit is contained in:
Johannes Rieken
2018-12-14 09:20:49 +01:00
parent ece3a90fb5
commit 45e479386b
5 changed files with 40 additions and 0 deletions

View File

@@ -576,6 +576,9 @@ export class FileIndexSearchManager {
catch(reject?) {
return this.then(undefined, reject);
}
finally(onFinally) {
return promise.finally(onFinally);
}
};
}
}