UNPKG

@empathyco/x-components

Version:
14 lines (8 loc) 430 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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]; ```