@empathyco/x-components
Version:
Empathy X Components
14 lines (8 loc) • 552 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [SimpleStateSelector](./x-components.simplestateselector.md)
## SimpleStateSelector type
Selects a part of the store state or getters (AKA "getter" inside [Vuex](https://vuex.vuejs.org/) watchers).
**Signature:**
```typescript
export type SimpleStateSelector<ReturnType, State extends Dictionary, Getters extends Dictionary> = (state: State, getters: Getters) => ReturnType;
```