Conform more code to strictNullChecks (#10374)
* Apply `strictNullChecks` to `src/components/views/room_settings/*` * Restore tsconfig.json * Conform more code to `strictNullChecks` * Iterate * Update matrix-widget-api * Conform more code to `strictNullChecks`
This commit is contained in:
committed by
GitHub
parent
9c816bb720
commit
1c9ea423c9
@@ -46,7 +46,8 @@ interface IProps {
|
||||
widgetDefinition: IModalWidgetOpenRequestData;
|
||||
widgetRoomId?: string;
|
||||
sourceWidgetId: string;
|
||||
onFinished(success?: boolean, data?: IModalWidgetReturnData): void;
|
||||
onFinished(success: true, data: IModalWidgetReturnData): void;
|
||||
onFinished(success?: false, data?: void): void;
|
||||
}
|
||||
|
||||
interface IState {
|
||||
|
||||
Reference in New Issue
Block a user