Merge pull request #65059 from Microsoft/joh/promise-finally

Add typings for Promise#finally
This commit is contained in:
Johannes Rieken
2019-01-23 09:14:46 -08:00
committed by GitHub
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);
}
};
}
}