Convert SettingsStore to TS
This commit is contained in:
parent
51968a8072
commit
9d124ff09b
3 changed files with 107 additions and 71 deletions
2
src/@types/global.d.ts
vendored
2
src/@types/global.d.ts
vendored
|
@ -25,6 +25,7 @@ import { PlatformPeg } from "../PlatformPeg";
|
|||
import RoomListLayoutStore from "../stores/room-list/RoomListLayoutStore";
|
||||
import {IntegrationManagers} from "../integrations/IntegrationManagers";
|
||||
import {ModalManager} from "../Modal";
|
||||
import SettingsStore from "../settings/SettingsStore";
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
|
@ -43,6 +44,7 @@ declare global {
|
|||
mxPlatformPeg: PlatformPeg;
|
||||
mxIntegrationManagers: typeof IntegrationManagers;
|
||||
singletonModalManager: ModalManager;
|
||||
mxSettingsStore: SettingsStore;
|
||||
}
|
||||
|
||||
// workaround for https://github.com/microsoft/TypeScript/issues/30933
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue