1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-07 21:23:00 +03:00

Enable strictPropertyInitialization (#11203)

This commit is contained in:
Michael Telatynski
2023-07-07 14:46:12 +01:00
committed by GitHub
parent 4207d182cd
commit cfd48b36aa
38 changed files with 97 additions and 117 deletions

View File

@@ -497,7 +497,7 @@ export async function restoreFromLocalStorage(opts?: { ignoreGuest?: boolean }):
}
}
async function handleLoadSessionFailure(e: Error): Promise<boolean> {
async function handleLoadSessionFailure(e: unknown): Promise<boolean> {
logger.error("Unable to load session", e);
const modal = Modal.createDialog(SessionRestoreErrorDialog, {