AnyFunction: (...args: any[]) => any

This generic type is used to represent any function with any number of arguments and any return type.

It's left intentionally open to allow for any function to be wrapped.

Type declaration

    • (...args: any[]): any
    • Parameters

      • ...args: any[]

      Returns any