From 88faf0a62a7325d39c27e3e1011b48e1b6521d27 Mon Sep 17 00:00:00 2001 From: AkiraFukushima Date: Thu, 4 Feb 2021 11:03:42 +0900 Subject: [PATCH] Specify type for Account in Search/Account --- src/renderer/store/TimelineSpace/Contents/Search/Account.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/store/TimelineSpace/Contents/Search/Account.ts b/src/renderer/store/TimelineSpace/Contents/Search/Account.ts index 9a197996..c173795d 100644 --- a/src/renderer/store/TimelineSpace/Contents/Search/Account.ts +++ b/src/renderer/store/TimelineSpace/Contents/Search/Account.ts @@ -3,7 +3,7 @@ import { Module, MutationTree, ActionTree } from 'vuex' import { RootState } from '@/store' export type AccountState = { - results: Array + results: Array } const state = (): AccountState => ({ @@ -15,7 +15,7 @@ export const MUTATION_TYPES = { } const mutations: MutationTree = { - [MUTATION_TYPES.UPDATE_RESULTS]: (state, results: Array) => { + [MUTATION_TYPES.UPDATE_RESULTS]: (state, results: Array) => { state.results = results } }