mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 06:51:53 +01:00
Fix compile error
This commit is contained in:
@@ -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));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user