type AnyFunction<TArgs> = (...args) => any;
type AnyFunction<TArgs> = (...args) => any;
Defined in: types.ts:6
Represents a function that can be called with any arguments and returns any value.
• TArgs extends any[] = any[]
The type of the arguments the function can be called with.
...TArgs
any
The return value of the function.
Your weekly dose of JavaScript news. Delivered every Monday to over 100,000 devs, for free.