@empathyco/x-components
Version:
Empathy X Components
16 lines (9 loc) • 711 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [ExtractGetters](./x-components.extractgetters.md)
## ExtractGetters type
Util type for extracting the getter type of a module.
**Signature:**
```typescript
export type ExtractGetters<Module extends XModuleName> = XModulesTree[Module] extends XModule<XStoreModule<any, infer Getter, any, any>> ? Getter : never;
```
**References:** [XModuleName](./x-components.xmodulename.md)<!-- -->, [XModulesTree](./x-components.xmodulestree.md)<!-- -->, [XModule](./x-components.xmodule.md)<!-- -->, [XStoreModule](./x-components.xstoremodule.md)