UNPKG

react-redux-music

Version:

manage media control, playlist and custom player with wavesurfer.js

12 lines (11 loc) 628 B
import { EnhancedStore, UnknownAction, Tuple, StoreEnhancer, ThunkDispatch } from '@reduxjs/toolkit'; import { InitialStateOfControlSlice } from './types'; import { PersistPartial } from 'redux-persist/es/persistReducer'; export declare const makeStoreWithPersistence: () => EnhancedStore<{ playerControls: InitialStateOfControlSlice & PersistPartial; }, UnknownAction, Tuple<[ StoreEnhancer<{ dispatch: ThunkDispatch<{ playerControls: InitialStateOfControlSlice & PersistPartial; }, undefined, UnknownAction>; }>, StoreEnhancer]>>; export type AppPersistStore = ReturnType<typeof makeStoreWithPersistence>;