type Function = (...args: any[]) => any | Promise<any>; Copy
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.