summaryrefslogtreecommitdiffstats
path: root/src/store/feed.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/store/feed.ts')
-rw-r--r--src/store/feed.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/store/feed.ts b/src/store/feed.ts
index 9fea76a72..2a62ff5fe 100644
--- a/src/store/feed.ts
+++ b/src/store/feed.ts
@@ -23,12 +23,16 @@ export const FEED_ACTION_TYPES = {
FEED_DELETE: 'FEED_DELETE',
}
-const state = {
+export type FeedState = {
+ feeds: Feed[]
+}
+
+const state: FeedState = {
feeds: [],
}
const getters = {
- feeds(state: AppState) {
+ feeds(state: FeedState) {
return state.feeds
},
}