@empathyco/x-components
Version:
Empathy X Components
16 lines (10 loc) • 420 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [Returns](./x-components.returns.md)
## Returns type
Extracts the return type of each property of the T object.
**Signature:**
```typescript
export type Returns<T extends Dictionary<AnyFunction>> = {
[K in keyof T]: ReturnType<T[K]>;
};
```