• Type Parameters

    • T extends ((...args: never[]) => unknown)

    Parameters

    • Rest...eventHandlers: (undefined | T)[]

    Returns (() => void)

      • (): void
      • Returns void