Type Alias AnyFunction<P, R>

AnyFunction: (...args: P) => R

Any function.

Type Parameters

  • P extends any[] = any[]

    Parameters type

  • R = any

    Return type

Type declaration

    • (...args: P): R
    • Parameters

      • ...args: P

      Returns R