Use correct promise type

This commit is contained in:
Matt Bierner
2018-04-05 19:30:16 -07:00
parent c14e30aeb4
commit 15bc74647a

View File

@@ -110,7 +110,7 @@ export class MainThreadWebviews implements MainThreadWebviewsShape, WebviewReviv
this._webviewService.revealWebview(webview, column);
}
async $sendMessage(handle: WebviewHandle, message: any): Promise<boolean> {
async $sendMessage(handle: WebviewHandle, message: any): TPromise<boolean> {
const webview = this.getWebview(handle);
const editors = this._editorService.getVisibleEditors()
.filter(e => e instanceof WebviewEditor)