ts-type-forge
    Preparing search index...

    Type Alias AnyFn

    AnyFn: (...args: readonly any[]) => any

    Represents any function type. Useful as a constraint for generic type parameters that accept arbitrary functions.

    Uses any (rather than unknown) for the argument and return types so that every concrete function type is assignable to it.

    Type Declaration

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

        • ...args: readonly any[]

        Returns any