mirror of
https://github.com/captbaritone/webamp.git
synced 2026-08-04 07:55:28 +00:00
Ensure Store type includes observable interface
This commit is contained in:
parent
808cfe9d55
commit
50b25433fc
1 changed files with 2 additions and 1 deletions
|
|
@ -17,6 +17,7 @@ import { MilkdropState } from "./reducers/milkdrop";
|
|||
import { SerializedStateV1 } from "./serializedStates/v1Types";
|
||||
import { TracksState } from "./reducers/tracks";
|
||||
import { IAudioMetadata, IOptions } from "music-metadata-browser";
|
||||
import { Store as ReduxStore } from "redux";
|
||||
|
||||
// Avoid warnings from Webpack: https://github.com/webpack/webpack/issues/7378
|
||||
export type WebampWindow = _WebampWindow;
|
||||
|
|
@ -701,7 +702,7 @@ export type Middleware = (
|
|||
store: MiddlewareStore
|
||||
) => (next: Dispatch) => (action: Action) => any;
|
||||
|
||||
export interface Store {
|
||||
export interface Store extends ReduxStore {
|
||||
subscribe(cb: () => void): () => void;
|
||||
dispatch: Dispatch;
|
||||
getState: GetState;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue