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.
any
unknown
Represents any function type. Useful as a constraint for generic type parameters that accept arbitrary functions.
Uses
any(rather thanunknown) for the argument and return types so that every concrete function type is assignable to it.