提交 6fdd8d10 编写于 作者: M Matt Bierner

Fixing strict init errors in webview code

#78168
上级 4388300e
......@@ -18,7 +18,7 @@ import { Disposable } from './extHostTypes';
type IconPath = URI | { light: URI, dark: URI };
export class ExtHostWebview implements vscode.Webview {
private _html: string;
private _html: string = '';
private _isDisposed: boolean = false;
private _hasCalledAsWebviewUri = false;
......
......@@ -18,7 +18,7 @@ export class WebviewService implements IWebviewService {
constructor(
@IInstantiationService private readonly _instantiationService: IInstantiationService,
) {
this._instantiationService.createInstance(WebviewThemeDataProvider);
this._webviewThemeDataProvider = this._instantiationService.createInstance(WebviewThemeDataProvider);
}
createWebview(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册