diff --git a/src/stores/AsyncStoreWithClient.ts b/src/stores/AsyncStoreWithClient.ts index dafaa053fee..a4c8311391a 100644 --- a/src/stores/AsyncStoreWithClient.ts +++ b/src/stores/AsyncStoreWithClient.ts @@ -24,7 +24,7 @@ import { MatrixDispatcher } from "../dispatcher/dispatcher"; export abstract class AsyncStoreWithClient extends AsyncStore { protected readyStore: ReadyWatchingStore; - protected constructor(dispatcher: Dispatcher, initialState: T = {}) { + protected constructor(dispatcher: MatrixDispatcher, initialState: T = {}) { super(dispatcher, initialState); // Create an anonymous class to avoid code duplication