Fix compile error

This commit is contained in:
Matt Bierner
2018-04-06 13:52:38 -07:00
parent d7e0604ec6
commit c810428647

View File

@@ -138,7 +138,7 @@ export class MainThreadWebviews implements MainThreadWebviewsShape, WebviewReviv
if (editor && editor.getControl()) {
(editor.getControl() as ICodeEditor).getContribution<WebviewWidgetContribution>(EDITOR_CONTRIBUTION_ID).showWebviewWidget(lineNumber, 0, webview => {
this._webviews.set(handle, webview);
webview.onDidClickLink(uri => this.onDidClickLink(uri, webview.options));
webview.onDidClickLink(uri => this.onDidClickLink(handle, uri));
webview.onMessage(message => this._proxy.$onMessage(handle, message));
});
}