<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [ExtractActionReturn](./x-components.extractactionreturn.md)

## ExtractActionReturn type

Flattens the (probably) chained promises of an action type.

**Signature:**

```typescript
export type ExtractActionReturn<Action extends (payload?: any) => any> = ReturnType<Action> extends Promise<any> ? ReturnType<Action> : Promise<ReturnType<Action>>;
```
