• Converts something to become callable.

    Type Parameters

    • T

    Parameters

    • thing: T | (...args: any[]) => T

      What to turn into a callable.

    Returns (...args: any[]) => T

    • The callable.