Create new WidgetStore to track all widgets stuff
This commit is contained in:
parent
89a836100d
commit
eb7f6f4c4b
2 changed files with 193 additions and 0 deletions
2
src/@types/global.d.ts
vendored
2
src/@types/global.d.ts
vendored
|
@ -29,6 +29,7 @@ import {ActiveRoomObserver} from "../ActiveRoomObserver";
|
|||
import {Notifier} from "../Notifier";
|
||||
import type {Renderer} from "react-dom";
|
||||
import RightPanelStore from "../stores/RightPanelStore";
|
||||
import {WidgetStore} from "../stores/WidgetStore";
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
|
@ -51,6 +52,7 @@ declare global {
|
|||
mxSettingsStore: SettingsStore;
|
||||
mxNotifier: typeof Notifier;
|
||||
mxRightPanelStore: RightPanelStore;
|
||||
mxWidgetStore: WidgetStore;
|
||||
}
|
||||
|
||||
interface Document {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue