Strict null contrib/webview (#11921)

* strict null contrib/webview

* fix compile
This commit is contained in:
Anthony Dresser
2020-08-21 23:04:29 -07:00
committed by GitHub
parent 9133bef329
commit 91065ebc38
3 changed files with 19 additions and 18 deletions

View File

@@ -48,12 +48,12 @@ export class MainThreadModalDialog implements MainThreadModalDialogShape {
$setTitle(handle: number, value: string): void {
const dialog = this._dialogs.get(handle);
dialog.headerTitle = value;
dialog.setHeaderTitle(value);
}
$setHtml(handle: number, value: string): void {
const dialog = this._dialogs.get(handle);
dialog.html = value;
dialog.setHtml(value);
}
$show(handle: number): void {