• Type Parameters

    • T extends unknown[]
    • U

    Parameters

    • fn: (...args: T) => U
    • wrapper: (fn: (...args: T) => U, ...args: T) => U

    Returns (...args: T) => U