type Function = (...args: any[]) => any; Copy
type Function = (...args: any[]) => any;
Generic function type that accepts any arguments and returns any value. Used as a constraint for cached functions.