Logos DX
    Preparing search index...

    Type Alias Func<A, R>

    Func: (...args: A) => R

    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.

    Type Parameters

    • A extends any[] = any[]
    • R = any

    Type Declaration

      • (...args: A): R
      • Parameters

        • ...args: A

        Returns R

    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>