Conform more of the codebase to strictNullChecks (#10800)

This commit is contained in:
Michael Telatynski
2023-05-10 08:41:55 +01:00
committed by GitHub
parent adb29b38a3
commit 456c66db5b
46 changed files with 147 additions and 123 deletions

View File

@@ -157,9 +157,9 @@ export class ElementWidget extends Widget {
export class StopGapWidget extends EventEmitter {
private client: MatrixClient;
private messaging: ClientWidgetApi | null;
private messaging: ClientWidgetApi | null = null;
private mockWidget: ElementWidget;
private scalarToken: string;
private scalarToken?: string;
private roomId?: string;
private kind: WidgetKind;
private readonly virtual: boolean;