Specify type for Account in AddListMember

This commit is contained in:
AkiraFukushima 2021-02-04 10:57:53 +09:00
parent 17d708e7b9
commit ec921bea93
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ const actions: ActionTree<AddListMemberState, RootState> = {
commit(MUTATION_TYPES.UPDATE_ACCOUNTS, res.data) commit(MUTATION_TYPES.UPDATE_ACCOUNTS, res.data)
return res.data return res.data
}, },
add: async ({ state, rootState }, account: Account): Promise<{}> => { add: async ({ state, rootState }, account: Entity.Account): Promise<{}> => {
const client = generator( const client = generator(
rootState.TimelineSpace.sns, rootState.TimelineSpace.sns,
rootState.TimelineSpace.account.baseURL, rootState.TimelineSpace.account.baseURL,