Merge pull request #4956 from matrix-org/t3chguy/ts/1

Convert Modal to TypeScript
This commit is contained in:
Michael Telatynski
2020-07-21 17:55:20 +01:00
committed by GitHub
4 changed files with 178 additions and 113 deletions
+2
View File
@@ -24,6 +24,7 @@ import { RoomListStoreClass } from "../stores/room-list/RoomListStore";
import { PlatformPeg } from "../PlatformPeg";
import RoomListLayoutStore from "../stores/room-list/RoomListLayoutStore";
import {IntegrationManagers} from "../integrations/IntegrationManagers";
import {ModalManager} from "../Modal";
declare global {
interface Window {
@@ -41,6 +42,7 @@ declare global {
mxRoomListLayoutStore: RoomListLayoutStore;
mxPlatformPeg: PlatformPeg;
mxIntegrationManagers: typeof IntegrationManagers;
singletonModalManager: ModalManager;
}
// workaround for https://github.com/microsoft/TypeScript/issues/30933