@empathyco/x-components
Version:
Empathy X Components
14 lines (8 loc) • 430 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [FirstParameter](./x-components.firstparameter.md)
## FirstParameter type
Alias to retrieve the first parameter type of a function.
**Signature:**
```typescript
export type FirstParameter<SomeFunction extends AnyFunction> = Parameters<SomeFunction>[0];
```