Function

type Function = (...args: any[]) => any | Promise<any>;

Type alias for a generic function signature.

Represents any function that takes any number of arguments and returns any type.