Generic function type for type-safe function signatures.
Enables consistent typing across utility functions and higher-order functions where function parameters need to be strongly typed.
function memoize<A extends any[], R>(fn: Func<A, R>): Func<A, R>function debounce<A extends any[]>(fn: Func<A, void>, ms: number): Func<A, void> Copy
function memoize<A extends any[], R>(fn: Func<A, R>): Func<A, R>function debounce<A extends any[]>(fn: Func<A, void>, ms: number): Func<A, void>
Generic function type for type-safe function signatures.
Enables consistent typing across utility functions and higher-order functions where function parameters need to be strongly typed.