fix(player): state type on creation

This commit is contained in:
Alex Kaminskii 2022-11-22 17:31:08 +01:00
parent b995fa8441
commit af6fd085e2

View file

@ -1,8 +1,9 @@
import SimpleStore from './_common/SimpleStore'
import type { Store } from './player/types'
import WebPlayer, { State as WebState} from './_web/WebPlayer'
import WebPlayer from './_web/WebPlayer'
type WebState = typeof WebPlayer.INITIAL_STATE //?
type WebPlayerStore = Store<WebState>
export type IWebPlayer = WebPlayer
export type IWebPlayerStore = WebPlayerStore