mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-25 11:04:00 +00:00
Type MediaStatus in state
This commit is contained in:
parent
15b661c5dd
commit
f3c5b04286
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { Action } from "../types";
|
||||
import { Action, MediaStatus } from "../types";
|
||||
import {
|
||||
PLAY,
|
||||
STOP,
|
||||
|
|
@ -30,7 +30,7 @@ export interface MediaState {
|
|||
channels: number | null; // TODO: Convert this to an enum
|
||||
shuffle: boolean;
|
||||
repeat: boolean;
|
||||
status: string | null; // TODO: Convert this to an enum
|
||||
status: MediaStatus | null; // TODO: Convert this to an enum
|
||||
}
|
||||
|
||||
const defaultState = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue