Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeScript issues #3

Open
tommitytom opened this issue Sep 10, 2018 · 0 comments
Open

TypeScript issues #3

tommitytom opened this issue Sep 10, 2018 · 0 comments
Labels
bug Something isn't working hacktoberfest

Comments

@tommitytom
Copy link

I'm having trouble getting mapGetters and mapActions to work - with the following error:
'mapSearchGetters' only refers to a type, but is being used as a value here.

I am importing and using as per the documentation:

import {
	mapActions as mapSearchActions,
	mapGetters as mapSearchGetters,
	getterTypes,
	actionTypes
} from 'vuex-search';
...mapSearchGetters('games', {
	resultIds: getterTypes.result,
	isLoading: getterTypes.isSearching,
}),
@AlbertLucianto AlbertLucianto added the bug Something isn't working label Sep 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working hacktoberfest
Projects
None yet
Development

No branches or pull requests

2 participants