@empathyco/x-components
Version:
Empathy X Components
16 lines (9 loc) • 633 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [ExtractActions](./x-components.extractactions.md)
## ExtractActions type
Extracts the actions type from a XStoreModule.
**Signature:**
```typescript
export type ExtractActions<Module extends AnyXModule> = Module extends XModule<XStoreModule<any, any, any, infer Actions>> ? Actions : never;
```
**References:** [AnyXModule](./x-components.anyxmodule.md)<!-- -->, [XModule](./x-components.xmodule.md)<!-- -->, [XStoreModule](./x-components.xstoremodule.md)