1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

Suppress TS warning about returning null MatrixClient

This commit is contained in:
Andy Balaam
2023-04-18 13:33:32 +01:00
parent 4ab6c65944
commit 0c657e6afd

View File

@@ -65,6 +65,7 @@ describe("DeviceSettingsHandler", () => {
});
afterEach(() => {
// @ts-ignore Allow returning a null MatrixClient
MatrixClientPeg.get = () => null;
});