Type alias PFunc<F, P>

PFunc<F, P>: F extends ((...args: any[]) => any) ? F & P : never

Function with added properties.

Generic

F extends (...args: any[]) => any - function to augment

Generic

P - properties to augments function with.

Type Parameters

  • F

  • P

Generated using TypeDoc