Type alias PrependParameter<Param, F>
PrependParameter<Param, F>: ((...args) => ReturnType<F>) Type Parameters
- Param
- F extends ((...args) => any)
Type declaration
- (...args): ReturnType<F>
Parameters
Rest
...args: Extract<Cons<Param, Parameters<F>>, readonly any[]>
Returns ReturnType<F>
Prepend Parameter.