mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 01:58:53 +01:00
Mark that state may be undefined
This commit is contained in:
@@ -230,7 +230,7 @@ export class MainThreadWebviews extends Disposable implements MainThreadWebviews
|
||||
if (!webview || webview.isDisposed()) {
|
||||
return;
|
||||
}
|
||||
(webview as WebviewEditorInput<MainThreadWebviewState>).state.state = newState;
|
||||
(webview as WebviewEditorInput<MainThreadWebviewState>).state!.state = newState;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user