From f3c5b0428631cb519dd5d8b2f738d0ecb59fc4b0 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Sat, 6 Oct 2018 14:05:27 -0700 Subject: [PATCH] Type MediaStatus in state --- js/reducers/media.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/reducers/media.ts b/js/reducers/media.ts index e128c480..9d245e56 100644 --- a/js/reducers/media.ts +++ b/js/reducers/media.ts @@ -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 = {